summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-07-18 10:42:29 +0200
committerStefan Roese <sr@denx.de>2008-07-18 16:02:40 +0200
commit1092fbd64748dfa2e979b102611ece9bc5ec1855 (patch)
tree9feffa4b90645c5c955a65a65f8bdd3a423c3e00 /include
parent66fe183b1dd9c7534605147a8ecfed1c02345ee5 (diff)
downloadu-boot-imx-1092fbd64748dfa2e979b102611ece9bc5ec1855.zip
u-boot-imx-1092fbd64748dfa2e979b102611ece9bc5ec1855.tar.gz
u-boot-imx-1092fbd64748dfa2e979b102611ece9bc5ec1855.tar.bz2
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 <sr@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/ppc4xx.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ppc4xx.h b/include/ppc4xx.h
index 0a8479f..1d06da8 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 <ppc440.h>
#else
#include <ppc405.h>