From: Dirk Behme <dirk.behme@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] OMAP3: Define 64bit vsprintf for NAND
Date: Sun, 19 Jul 2009 09:16:20 +0200 [thread overview]
Message-ID: <4A62C844.5080501@googlemail.com> (raw)
In-Reply-To: <1247387305-5578-1-git-send-email-dirk.behme@googlemail.com>
This patch is obsolete now with
http://git.denx.de/?p=u-boot.git;a=commit;h=2eb99ca8029b44c988d5f6312f97e68d3b9cb2bd
Thanks
Dirk
Dirk Behme wrote:
> 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 */
>
prev parent reply other threads:[~2009-07-19 7:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A62C844.5080501@googlemail.com \
--to=dirk.behme@googlemail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox