public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ppc4xx: Enable support for 64bit printf on all PPC4xx variants
@ 2009-07-06  9:48 Stefan Roese
  2009-07-06 11:17 ` Wolfgang Denk
  0 siblings, 1 reply; 19+ messages in thread
From: Stefan Roese @ 2009-07-06  9:48 UTC (permalink / raw)
  To: u-boot

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>
-- 
1.6.3.3

^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2009-07-17 18:44 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-06  9:48 [U-Boot] [PATCH] ppc4xx: Enable support for 64bit printf on all PPC4xx variants Stefan Roese
2009-07-06 11:17 ` Wolfgang Denk
2009-07-06 15:39   ` Stefan Roese
2009-07-08 20:01     ` Wolfgang Denk
2009-07-08 21:11       ` Scott Wood
2009-07-08 21:24         ` Wolfgang Denk
2009-07-08 21:29           ` Scott Wood
2009-07-08 21:57             ` Wolfgang Denk
2009-07-08 22:27               ` Scott Wood
2009-07-09  4:57                 ` Stefan Roese
2009-07-09  7:41                 ` Wolfgang Denk
2009-07-08 22:18         ` Jerry Van Baren
2009-07-08 22:27           ` Scott Wood
2009-07-09  5:00           ` Stefan Roese
2009-07-09 12:24             ` Jerry Van Baren
2009-07-09 12:48               ` Stefan Roese
2009-07-09 13:02                 ` Jerry Van Baren
2009-07-09  4:54       ` Stefan Roese
2009-07-17 18:44         ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox