Patchwork [U-Boot] arm: Correct CONFIG_STANDALONE_LOAD_ADDR for AM33XX/OMAP* platforms

login
register
mail settings
Submitter Tom Rini
Date March 14, 2013, 4:49 p.m.
Message ID <1363279744-8812-1-git-send-email-trini@ti.com>
Download mbox | patch
Permalink /patch/227746/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Tom Rini - March 14, 2013, 4:49 p.m.
All of these platforms have memory starting at 0x80000000, so this is
the correct CONFIG_STANDALONE_LOAD_ADDR for all of them.

Signed-off-by: Tom Rini <trini@ti.com>
---
 arch/arm/config.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Peter Korsgaard - March 15, 2013, 7:49 a.m.
>>>>> "Tom" == Tom Rini <trini@ti.com> writes:

 Tom> All of these platforms have memory starting at 0x80000000, so this is
 Tom> the correct CONFIG_STANDALONE_LOAD_ADDR for all of them.

For am33xx atleast:

Acked-by: Peter Korsgaard <jacmet@sunsite.dk>

 Tom> Signed-off-by: Tom Rini <trini@ti.com>
 Tom> ---
 Tom>  arch/arm/config.mk |    2 +-
 Tom>  1 file changed, 1 insertion(+), 1 deletion(-)

 Tom> diff --git a/arch/arm/config.mk b/arch/arm/config.mk
 Tom> index 24b9d7c..71035e2 100644
 Tom> --- a/arch/arm/config.mk
 Tom> +++ b/arch/arm/config.mk
 Tom> @@ -24,7 +24,7 @@
 Tom>  CROSS_COMPILE ?= arm-linux-
 
 Tom>  ifndef CONFIG_STANDALONE_LOAD_ADDR
 Tom> -ifeq ($(SOC),omap3)
 Tom> +ifneq ($(CONFIG_AM33XX)$(CONFIG_OMAP34XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
 Tom>  CONFIG_STANDALONE_LOAD_ADDR = 0x80300000
 Tom>  else
 Tom>  CONFIG_STANDALONE_LOAD_ADDR = 0xc100000
 Tom> -- 
 Tom> 1.7.9.5

 Tom> _______________________________________________
 Tom> U-Boot mailing list
 Tom> U-Boot@lists.denx.de
 Tom> http://lists.denx.de/mailman/listinfo/u-boot
Tom Rini - March 26, 2013, 2:52 p.m.
On Thu, Mar 14, 2013 at 06:49:04AM -0000, Tom Rini wrote:

> All of these platforms have memory starting at 0x80000000, so this is
> the correct CONFIG_STANDALONE_LOAD_ADDR for all of them.
> 
> Signed-off-by: Tom Rini <trini@ti.com>
> Acked-by: Peter Korsgaard <jacmet@sunsite.dk>

Applied to u-boot-ti/master (and already pulled into u-boot-arm),
thanks!

Patch

diff --git a/arch/arm/config.mk b/arch/arm/config.mk
index 24b9d7c..71035e2 100644
--- a/arch/arm/config.mk
+++ b/arch/arm/config.mk
@@ -24,7 +24,7 @@ 
 CROSS_COMPILE ?= arm-linux-
 
 ifndef CONFIG_STANDALONE_LOAD_ADDR
-ifeq ($(SOC),omap3)
+ifneq ($(CONFIG_AM33XX)$(CONFIG_OMAP34XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
 CONFIG_STANDALONE_LOAD_ADDR = 0x80300000
 else
 CONFIG_STANDALONE_LOAD_ADDR = 0xc100000