From 275d49da4a00432dc8706027d2e04ee1270e2bf9 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Wed, 2 Sep 2009 04:21:16 -0400
Subject: [PATCH] Blackfin: enable 64bit printf for nand

Since the NAND code now uses 64bit code, make sure we enable support for
ADI Blackfin boards in printf to avoid the warning:
nand_util.c:45:2: warning: #warning Please define CONFIG_SYS_64BIT_VSPRINTF for correct output!

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 include/configs/bfin_adi_common.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h
index b615c79c846..00bfc6e90bc 100644
--- a/include/configs/bfin_adi_common.h
+++ b/include/configs/bfin_adi_common.h
@@ -87,6 +87,9 @@
 #  define CONFIG_CMD_SPIBOOTLDR
 # endif
 #endif
+#ifdef CONFIG_CMD_NAND
+# define CONFIG_SYS_64BIT_VSPRINTF
+#endif
 
 /*
  * Console Settings
-- 
GitLab