summaryrefslogtreecommitdiff
path: root/include/configs/bfin_adi_common.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-02 04:21:16 -0400
committerMike Frysinger <vapier@gentoo.org>2009-09-02 05:58:39 -0400
commitc7bcdde46a7ef78628f0f09fdc6cb61bb1bd7e79 (patch)
tree75ae683cdfefadb63009cb5153a5dadad7c77b12 /include/configs/bfin_adi_common.h
parent9c46e71af2b03ccd721c56b1dc906ead702d6fb5 (diff)
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>
Diffstat (limited to 'include/configs/bfin_adi_common.h')
-rw-r--r--include/configs/bfin_adi_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h
index b615c79c84..00bfc6e90b 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