public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] OMAP3: Define 64bit vsprintf for NAND
@ 2009-07-12  8:28 Dirk Behme
  2009-07-12 12:56 ` Jean-Christophe PLAGNIOL-VILLARD
  2009-07-19  7:16 ` Dirk Behme
  0 siblings, 2 replies; 9+ messages in thread
From: Dirk Behme @ 2009-07-12  8:28 UTC (permalink / raw)
  To: u-boot

With commit 8d2effea23e938631126a7888008a0637e13b389 "mtd: Update
MTD infrastructure to support 64bit device size"
CONFIG_SYS_64BIT_VSPRINTF needs to be defined to get correct output
and to remove annoying warning

warning: #warning Please define CONFIG_SYS_64BIT_VSPRINTF for correct output!

Add CONFIG_SYS_64BIT_VSPRINTF to all OMAP3 configurations.

Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>

---

This patch is against recent mainline "MAINTAINERS: fix sorting,
remove duplicates." 3672cd5c3b53d219d33345eebad4e25ad5bf6d52.

Compile tested with ./MAKEALL ARM_CORTEX_A8 and boot tested on
Beagle board.

To be able to compile it independent of tool chain (libgcc) the
following patches were applied for this:

http://lists.denx.de/pipermail/u-boot/2009-July/055599.html
http://git.denx.de/?p=u-boot/u-boot-arm.git;a=commit;h=07a6acbe20357ebc2af36ac32e7029828d895a62
http://git.denx.de/?p=u-boot/u-boot-arm.git;a=commit;h=40cebd2af1379f2cd815e2a7f3af809f828878fe

 include/configs/omap3_beagle.h  |    1 +
 include/configs/omap3_evm.h     |    1 +
 include/configs/omap3_overo.h   |    1 +
 include/configs/omap3_pandora.h |    1 +
 include/configs/omap3_zoom1.h   |    1 +
 include/configs/omap3_zoom2.h   |    1 +
 6 files changed, 6 insertions(+)

Index: omap3_patches/include/configs/omap3_zoom2.h
===================================================================
--- omap3_patches.orig/include/configs/omap3_zoom2.h
+++ omap3_patches/include/configs/omap3_zoom2.h
@@ -150,6 +150,7 @@
  * Board NAND Info.
  */
 #define CONFIG_NAND_OMAP_GPMC
+#define CONFIG_SYS_64BIT_VSPRINTF
 #define CONFIG_SYS_NAND_ADDR		NAND_BASE	/* physical address */
 							/* to access nand */
 #define CONFIG_SYS_NAND_BASE		NAND_BASE	/* physical address */
Index: omap3_patches/include/configs/omap3_zoom1.h
===================================================================
--- omap3_patches.orig/include/configs/omap3_zoom1.h
+++ omap3_patches/include/configs/omap3_zoom1.h
@@ -129,6 +129,7 @@
  * Board NAND Info.
  */
 #define CONFIG_NAND_OMAP_GPMC
+#define CONFIG_SYS_64BIT_VSPRINTF
 #define CONFIG_SYS_NAND_ADDR		NAND_BASE	/* physical address */
 							/* to access nand */
 #define CONFIG_SYS_NAND_BASE		NAND_BASE	/* physical address */
Index: omap3_patches/include/configs/omap3_evm.h
===================================================================
--- omap3_patches.orig/include/configs/omap3_evm.h
+++ omap3_patches/include/configs/omap3_evm.h
@@ -130,6 +130,7 @@
 /*
  * Board NAND Info.
  */
+#define CONFIG_SYS_64BIT_VSPRINTF
 #define CONFIG_SYS_NAND_ADDR		NAND_BASE	/* physical address */
 							/* to access nand */
 #define CONFIG_SYS_NAND_BASE		NAND_BASE	/* physical address */
Index: omap3_patches/include/configs/omap3_pandora.h
===================================================================
--- omap3_patches.orig/include/configs/omap3_pandora.h
+++ omap3_patches/include/configs/omap3_pandora.h
@@ -122,6 +122,7 @@
  * Board NAND Info.
  */
 #define CONFIG_NAND_OMAP_GPMC
+#define CONFIG_SYS_64BIT_VSPRINTF
 #define CONFIG_SYS_NAND_ADDR		NAND_BASE	/* physical address */
 							/* to access nand */
 #define CONFIG_SYS_NAND_BASE		NAND_BASE	/* physical address */
Index: omap3_patches/include/configs/omap3_beagle.h
===================================================================
--- omap3_patches.orig/include/configs/omap3_beagle.h
+++ omap3_patches/include/configs/omap3_beagle.h
@@ -133,6 +133,7 @@
  * Board NAND Info.
  */
 #define CONFIG_NAND_OMAP_GPMC
+#define CONFIG_SYS_64BIT_VSPRINTF
 #define CONFIG_SYS_NAND_ADDR		NAND_BASE	/* physical address */
 							/* to access nand */
 #define CONFIG_SYS_NAND_BASE		NAND_BASE	/* physical address */
Index: omap3_patches/include/configs/omap3_overo.h
===================================================================
--- omap3_patches.orig/include/configs/omap3_overo.h
+++ omap3_patches/include/configs/omap3_overo.h
@@ -119,6 +119,7 @@
  * Board NAND Info.
  */
 #define CONFIG_NAND_OMAP_GPMC
+#define CONFIG_SYS_64BIT_VSPRINTF
 #define CONFIG_SYS_NAND_ADDR		NAND_BASE	/* physical address */
 							/* to access nand */
 #define CONFIG_SYS_NAND_BASE		NAND_BASE	/* physical address */

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

end of thread, other threads:[~2009-07-19  7:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-12  8:28 [U-Boot] [PATCH] OMAP3: Define 64bit vsprintf for NAND Dirk Behme
2009-07-12 12:56 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-12 12:59   ` Dirk Behme
2009-07-12 14:41   ` Wolfgang Denk
2009-07-12 15:23     ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-12 18:37       ` Wolfgang Denk
2009-07-12 19:34         ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-12 21:17           ` Wolfgang Denk
2009-07-19  7:16 ` Dirk Behme

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