From: Stefan Roese Date: Fri, 18 Jul 2008 08:42:29 +0000 (+0200) Subject: ppc4xx: Enable 64bit printf format on 440/460 platforms X-Git-Tag: v1.3.4-rc2~31^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1092fbd64748dfa2e979b102611ece9bc5ec1855;p=u-boot ppc4xx: Enable 64bit printf format on 440/460 platforms This patch defines CFG_64BIT_VSPRINTF and CFG_64BIT_STRTOUL for all 440/460 platforms. This may be needed since those platforms support 36bit physical address space. Signed-off-by: Stefan Roese --- diff --git a/include/ppc4xx.h b/include/ppc4xx.h index 0a8479f262..1d06da8779 100644 --- a/include/ppc4xx.h +++ b/include/ppc4xx.h @@ -46,6 +46,12 @@ #endif #if defined(CONFIG_440) +/* + * Enable long long (%ll ...) printf format on 440 PPC's since most of + * them support 36bit physical addressing + */ +#define CFG_64BIT_VSPRINTF +#define CFG_64BIT_STRTOUL #include #else #include