Blackfin: enable 64bit printf for nand
authorMike Frysinger <vapier@gentoo.org>
Wed, 2 Sep 2009 08:21:16 +0000 (04:21 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 2 Sep 2009 09:58:39 +0000 (05:58 -0400)
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

index b615c79c846484e27f94cee89a469769e8b040df..00bfc6e90bcf5c2f62a7889cbeb98eb0814dcf38 100644 (file)
@@ -87,6 +87,9 @@
 #  define CONFIG_CMD_SPIBOOTLDR
 # endif
 #endif
+#ifdef CONFIG_CMD_NAND
+# define CONFIG_SYS_64BIT_VSPRINTF
+#endif
 
 /*
  * Console Settings