[U-Boot] [PATCH 9/8] Blackfin: enable 64bit printf for nand

Mike Frysinger vapier at gentoo.org
Wed Sep 2 11:18:30 CEST 2009


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 at gentoo.org>
---
blah, one more ...

 include/configs/bfin_adi_common.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h
index b615c79..00bfc6e 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
-- 
1.6.4.2



More information about the U-Boot mailing list