
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 sr@denx.de --- 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 <ppc440.h> #else #include <ppc405.h>