Patchwork [U-Boot] arm: omap2: apollon: fix broken build

login
register
mail settings
Submitter Igor Grinberg
Date June 24, 2011, 7:34 p.m.
Message ID <1308944078-24187-1-git-send-email-grinberg@compulab.co.il>
Download mbox | patch
Permalink /patch/101877/
State Accepted
Commit 0aeb01d512772a88e0cbe2fa8654daf1b0136189
Delegated to: Albert ARIBAUD
Headers show

Comments

Igor Grinberg - June 24, 2011, 7:34 p.m.
Define CONFIG_SYS_SDRAM_BASE to physical SDRAM address
and CONFIG_SYS_INIT_SP_ADDR to physical SRAM address

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
---
 include/configs/apollon.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
Albert ARIBAUD - June 29, 2011, 6:36 a.m.
Hi Igor,

Le 24/06/2011 21:34, Igor Grinberg a écrit :
> Define CONFIG_SYS_SDRAM_BASE to physical SDRAM address
> and CONFIG_SYS_INIT_SP_ADDR to physical SRAM address
>
> Signed-off-by: Igor Grinberg<grinberg@compulab.co.il>
> Cc: Kyungmin Park<kyungmin.park@samsung.com>
> ---
>   include/configs/apollon.h |    4 ++++
>   1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/apollon.h b/include/configs/apollon.h
> index 3364ec0..1f959fc 100644
> --- a/include/configs/apollon.h
> +++ b/include/configs/apollon.h
> @@ -266,4 +266,8 @@
>   					"-(ubifs)"
>   #endif
>
> +#define PHYS_SRAM			0x4020F800
> +#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
> +#define CONFIG_SYS_INIT_SP_ADDR 	PHYS_SRAM
> +
>   #endif /* __CONFIG_H */

Applied to u-boot-arm/master, thanks.

Amicalement,

Patch

diff --git a/include/configs/apollon.h b/include/configs/apollon.h
index 3364ec0..1f959fc 100644
--- a/include/configs/apollon.h
+++ b/include/configs/apollon.h
@@ -266,4 +266,8 @@ 
 					"-(ubifs)"
 #endif
 
+#define PHYS_SRAM			0x4020F800
+#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_SP_ADDR 	PHYS_SRAM
+
 #endif /* __CONFIG_H */