From: Wolfgang Denk Date: Fri, 12 Jun 2009 22:58:20 +0200 Subject: [U-Boot] [PATCH 1/4] MPC512x: enabling NAND support requires CONFIG_SYS_64BIT_VSPRINTF In-Reply-To: <1244541040-21480-1-git-send-email-sr@denx.de> References: <1244541040-21480-1-git-send-email-sr@denx.de> Message-ID: <1244840303-22020-1-git-send-email-wd@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- Hello Mr. Arlt - with Stefan on vacation could you please be so kind and test this on your mecp5123 board? Thanks. -- wd include/configs/mecp5123.h | 2 ++ include/configs/mpc5121ads.h | 2 ++ 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 */ -- 1.6.0.6