From: Stefan Roese Date: Mon, 6 Jul 2009 11:48:08 +0200 Subject: [U-Boot] [PATCH] ppc4xx: Enable support for 64bit printf on all PPC4xx variants Message-ID: <1246873688-25113-1-git-send-email-sr@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 Until now these defines were only enabled for the PPC440 variants. This patch now defines CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL on PPC40x now as well. This removes the compilation warning with the new updated NAND code. Signed-off-by: Stefan Roese --- include/ppc4xx.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/include/ppc4xx.h b/include/ppc4xx.h index 55ff323..d9f04f7 100644 --- a/include/ppc4xx.h +++ b/include/ppc4xx.h @@ -109,13 +109,14 @@ #endif /* 440EP/EPX 440GR/GRX 440SP/SPE 460EX/GT/SX 405EX*/ -#if defined(CONFIG_440) /* * Enable long long (%ll ...) printf format on 440 PPC's since most of * them support 36bit physical addressing */ #define CONFIG_SYS_64BIT_VSPRINTF #define CONFIG_SYS_64BIT_STRTOUL + +#if defined(CONFIG_440) #include #else #include -- 1.6.3.3