diff mbox

[U-Boot,1/3] arm: omap: innovator: fix compilation error

Message ID 1304244632-8714-1-git-send-email-grinberg@compulab.co.il
State Not Applicable
Headers show

Commit Message

Igor Grinberg May 1, 2011, 10:10 a.m. UTC
CONFIG_SYS_SDRAM_BASE and CONFIG_SYS_INIT_SP_ADDR were not defined for
this board thus breaking its build.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Cc: Nishant Kamat <nskamat@ti.com>
Cc: Kshitij Gupta <kshitij@ti.com>
---
 include/configs/omap1610h2.h  |    7 +++++++
 include/configs/omap1610inn.h |    7 +++++++
 2 files changed, 14 insertions(+), 0 deletions(-)

Comments

Igor Grinberg May 17, 2011, 12:40 p.m. UTC | #1
Sandeep,

Any comments?



On 05/01/11 13:10, Igor Grinberg wrote:

> CONFIG_SYS_SDRAM_BASE and CONFIG_SYS_INIT_SP_ADDR were not defined for
> this board thus breaking its build.
>
> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
> Cc: Sandeep Paulraj <s-paulraj@ti.com>
> Cc: Nishant Kamat <nskamat@ti.com>
> Cc: Kshitij Gupta <kshitij@ti.com>
> ---
>  include/configs/omap1610h2.h  |    7 +++++++
>  include/configs/omap1610inn.h |    7 +++++++
>  2 files changed, 14 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/omap1610h2.h b/include/configs/omap1610h2.h
> index 2936dcc..7e53ae6 100644
> --- a/include/configs/omap1610h2.h
> +++ b/include/configs/omap1610h2.h
> @@ -152,6 +152,13 @@
>  #define PHYS_SDRAM_1		0x10000000	/* SDRAM Bank #1 */
>  #define PHYS_SDRAM_1_SIZE	0x02000000	/* 32 MB */
>  
> +#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
> +#define CONFIG_SYS_INIT_RAM_SIZE	0x1000
> +/* FIXME: the value below is taken from davinci which uses ARM926EJS cpu */
> +#define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_SDRAM_BASE +    \
> +					 CONFIG_SYS_INIT_RAM_SIZE - \
> +					 GENERATED_GBL_DATA_SIZE)
> +
>  #define PHYS_FLASH_1_BM1	0x00000000	/* Flash Bank #1 if booting from flash */
>  #define PHYS_FLASH_1_BM0	0x0C000000	/* Flash Bank #1 if booting from RAM */
>  
> diff --git a/include/configs/omap1610inn.h b/include/configs/omap1610inn.h
> index 0b41c46..be569a3 100644
> --- a/include/configs/omap1610inn.h
> +++ b/include/configs/omap1610inn.h
> @@ -157,6 +157,13 @@
>  #define PHYS_SDRAM_1		0x10000000	/* SDRAM Bank #1 */
>  #define PHYS_SDRAM_1_SIZE	0x02000000	/* 32 MB */
>  
> +#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
> +#define CONFIG_SYS_INIT_RAM_SIZE	0x1000
> +/* FIXME: the value below is taken from davinci which uses ARM926EJS cpu */
> +#define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_SDRAM_BASE +    \
> +					 CONFIG_SYS_INIT_RAM_SIZE - \
> +					 GENERATED_GBL_DATA_SIZE)
> +
>  #define PHYS_FLASH_1_BM1	0x00000000	/* Flash Bank #1 if booting from flash */
>  #define PHYS_FLASH_1_BM0	0x0C000000	/* Flash Bank #1 if booting from RAM */
>
Sandeep Paulraj May 21, 2011, 9:40 p.m. UTC | #2
>Sandeep,
>
>Any comments?

I'm on vacation.

i'll apply it soon.

Regards,
Sandeep
diff mbox

Patch

diff --git a/include/configs/omap1610h2.h b/include/configs/omap1610h2.h
index 2936dcc..7e53ae6 100644
--- a/include/configs/omap1610h2.h
+++ b/include/configs/omap1610h2.h
@@ -152,6 +152,13 @@ 
 #define PHYS_SDRAM_1		0x10000000	/* SDRAM Bank #1 */
 #define PHYS_SDRAM_1_SIZE	0x02000000	/* 32 MB */
 
+#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_RAM_SIZE	0x1000
+/* FIXME: the value below is taken from davinci which uses ARM926EJS cpu */
+#define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_SDRAM_BASE +    \
+					 CONFIG_SYS_INIT_RAM_SIZE - \
+					 GENERATED_GBL_DATA_SIZE)
+
 #define PHYS_FLASH_1_BM1	0x00000000	/* Flash Bank #1 if booting from flash */
 #define PHYS_FLASH_1_BM0	0x0C000000	/* Flash Bank #1 if booting from RAM */
 
diff --git a/include/configs/omap1610inn.h b/include/configs/omap1610inn.h
index 0b41c46..be569a3 100644
--- a/include/configs/omap1610inn.h
+++ b/include/configs/omap1610inn.h
@@ -157,6 +157,13 @@ 
 #define PHYS_SDRAM_1		0x10000000	/* SDRAM Bank #1 */
 #define PHYS_SDRAM_1_SIZE	0x02000000	/* 32 MB */
 
+#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_RAM_SIZE	0x1000
+/* FIXME: the value below is taken from davinci which uses ARM926EJS cpu */
+#define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_SDRAM_BASE +    \
+					 CONFIG_SYS_INIT_RAM_SIZE - \
+					 GENERATED_GBL_DATA_SIZE)
+
 #define PHYS_FLASH_1_BM1	0x00000000	/* Flash Bank #1 if booting from flash */
 #define PHYS_FLASH_1_BM0	0x0C000000	/* Flash Bank #1 if booting from RAM */