projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c46e71
)
Blackfin: enable 64bit printf for nand
author
Mike Frysinger
<vapier@gentoo.org>
Wed, 2 Sep 2009 08:21:16 +0000
(
04:21
-0400)
committer
Mike 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
patch
|
blob
|
history
diff --git
a/include/configs/bfin_adi_common.h
b/include/configs/bfin_adi_common.h
index b615c79c846484e27f94cee89a469769e8b040df..00bfc6e90bcf5c2f62a7889cbeb98eb0814dcf38 100644
(file)
--- 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