ppc4xx: Enable 64bit printf format on 440/460 platforms
authorStefan Roese <sr@denx.de>
Fri, 18 Jul 2008 08:42:29 +0000 (10:42 +0200)
committerStefan Roese <sr@denx.de>
Fri, 18 Jul 2008 14:02:40 +0000 (16:02 +0200)
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 <sr@denx.de>
include/ppc4xx.h

index 0a8479f..1d06da8 100644 (file)
 #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 <ppc440.h>
 #else
 #include <ppc405.h>