summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-06-14 20:58:44 +0200
committerWolfgang Denk <wd@denx.de>2009-07-14 00:00:39 +0200
commitf5489c4200b37c9a1d6dbde116f5adc0539610de (patch)
tree2c6ca901a74bbf699301e2a4e117991699bd443c
parent87abce6e91b668390d07b578100d4053283a67e8 (diff)
downloadu-boot-imx-f5489c4200b37c9a1d6dbde116f5adc0539610de.zip
u-boot-imx-f5489c4200b37c9a1d6dbde116f5adc0539610de.tar.gz
u-boot-imx-f5489c4200b37c9a1d6dbde116f5adc0539610de.tar.bz2
MPC512x: enabling NAND support requires CONFIG_SYS_64BIT_VSPRINTF
When enabling NAND support for a board, one must also define CONFIG_SYS_64BIT_VSPRINTF because this is needed in nand_util.c for correct output. Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Reinhard Arlt <reinhard.arlt@esd-electronics.com>
-rw-r--r--include/configs/mecp5123.h2
-rw-r--r--include/configs/mpc5121ads.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/mecp5123.h b/include/configs/mecp5123.h
index 0831843..ed3e70f 100644
--- a/include/configs/mecp5123.h
+++ b/include/configs/mecp5123.h
@@ -187,6 +187,8 @@
#define CONFIG_SYS_MAX_NAND_DEVICE 1
#define NAND_MAX_CHIPS CONFIG_SYS_MAX_NAND_DEVICE
+#define CONFIG_SYS_64BIT_VSPRINTF /* needed for nand_util.c */
+
/*
* Configuration parameters for MPC5121 NAND driver
*/
diff --git a/include/configs/mpc5121ads.h b/include/configs/mpc5121ads.h
index 45a004e..852d7b1 100644
--- a/include/configs/mpc5121ads.h
+++ b/include/configs/mpc5121ads.h
@@ -211,6 +211,8 @@
#define NAND_MAX_CHIPS CONFIG_SYS_MAX_NAND_DEVICE
#define CONFIG_SYS_NAND_SELECT_DEVICE /* driver supports mutipl. chips */
+#define CONFIG_SYS_64BIT_VSPRINTF /* needed for nand_util.c */
+
/*
* Configuration parameters for MPC5121 NAND driver
*/