summaryrefslogtreecommitdiffstats
path: root/include/ppc4xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ppc4xx.h')
-rw-r--r--include/ppc4xx.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ppc4xx.h b/include/ppc4xx.h
index 5a6b855916..c71da60844 100644
--- a/include/ppc4xx.h
+++ b/include/ppc4xx.h
@@ -47,6 +47,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>
OpenPOWER on IntegriCloud