From: Wolfgang Denk Date: Sun, 14 Jun 2009 18:58:44 +0000 (+0200) Subject: MPC512x: enabling NAND support requires CONFIG_SYS_64BIT_VSPRINTF X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f5489c4200b37c9a1d6dbde116f5adc0539610de;p=project%2Fbcm63xx%2Fu-boot.git 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 Cc: Stefan Roese Cc: Reinhard Arlt --- diff --git a/include/configs/mecp5123.h b/include/configs/mecp5123.h index 083184316a..ed3e70f67e 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 45a004eb2c..852d7b1090 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 */