From: Kim Phillips Date: Mon, 15 Jun 2009 16:51:47 +0000 (-0500) Subject: mpc83xx: set 64BIT_VSPRINTF for boards using nand_util X-Git-Tag: v2009.08-rc1~97^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d9ac3d5a17ecef0beb70073018925e011b11684e;p=u-boot mpc83xx: set 64BIT_VSPRINTF for boards using nand_util 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: Kim Phillips Cc: Dave Liu Cc: Ron Madrid Cc: Anton Vorontsov --- diff --git a/include/configs/MPC8313ERDB.h b/include/configs/MPC8313ERDB.h index 2308568695..5149ce792b 100644 --- a/include/configs/MPC8313ERDB.h +++ b/include/configs/MPC8313ERDB.h @@ -236,6 +236,7 @@ #define CONFIG_CMD_NAND 1 #define CONFIG_NAND_FSL_ELBC 1 #define CONFIG_SYS_NAND_BLOCK_SIZE 16384 +#define CONFIG_SYS_64BIT_VSPRINTF /* needed for nand_util.c */ #define CONFIG_SYS_NAND_U_BOOT_SIZE (512 << 10) #define CONFIG_SYS_NAND_U_BOOT_DST 0x00100000 diff --git a/include/configs/MPC8315ERDB.h b/include/configs/MPC8315ERDB.h index e03a1077ff..4cf48f7bc0 100644 --- a/include/configs/MPC8315ERDB.h +++ b/include/configs/MPC8315ERDB.h @@ -226,6 +226,7 @@ #define CONFIG_MTD_NAND_VERIFY_WRITE 1 #define CONFIG_CMD_NAND 1 #define CONFIG_NAND_FSL_ELBC 1 +#define CONFIG_SYS_64BIT_VSPRINTF /* needed for nand_util.c */ #define CONFIG_SYS_BR1_PRELIM ( CONFIG_SYS_NAND_BASE \ | (2<