From 653fbd0eb908a8a041028b04bbe4fa12610ba661 Mon Sep 17 00:00:00 2001 From: Aneesh V Date: Thu, 9 Jun 2011 08:54:45 -0400 Subject: [PATCH 1/6] omap1610h2: fix build breaks Provide SDRAM base address and use SRAM for initial stack Signed-off-by: Aneesh V Signed-off-by: Sandeep Paulraj --- include/configs/omap1610h2.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/configs/omap1610h2.h b/include/configs/omap1610h2.h index 2936dcc..cb2a07f 100644 --- a/include/configs/omap1610h2.h +++ b/include/configs/omap1610h2.h @@ -172,6 +172,8 @@ extern unsigned long omap_flash_base; /* set in flash__init */ #endif +#define PHYS_SRAM 0x20000000 + /*----------------------------------------------------------------------- * FLASH and environment organization */ @@ -189,4 +191,7 @@ extern unsigned long omap_flash_base; /* set in flash__init */ #define CONFIG_ENV_SIZE 0x20000 /* Total Size of Environment Sector */ #define CONFIG_ENV_OFFSET 0x20000 /* environment starts here */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR PHYS_SRAM + #endif /* __CONFIG_H */ From 64d9b0ff97562e45735e36d8e2ff95d682663959 Mon Sep 17 00:00:00 2001 From: Aneesh V Date: Thu, 9 Jun 2011 08:54:48 -0400 Subject: [PATCH 2/6] omap5912osk: fix build breaks Provide SDRAM base address and use SRAM for initial stack Signed-off-by: Aneesh V Signed-off-by: Sandeep Paulraj --- include/configs/omap5912osk.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/configs/omap5912osk.h b/include/configs/omap5912osk.h index b875464..db25b86 100644 --- a/include/configs/omap5912osk.h +++ b/include/configs/omap5912osk.h @@ -168,6 +168,8 @@ #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE /* Monitor at beginning of flash */ +#define PHYS_SRAM 0x20000000 + /*----------------------------------------------------------------------- * FLASH driver setup */ @@ -199,4 +201,7 @@ #define CONFIG_ENV_SIZE 0x20000 /* Total Size of Environment Sector */ #define CONFIG_ENV_OFFSET 0x20000 /* environment starts here */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR PHYS_SRAM + #endif /* __CONFIG_H */ From d81519dc49d0cd2ab15e0f6d2f0f2223f08d2ac1 Mon Sep 17 00:00:00 2001 From: Aneesh V Date: Thu, 9 Jun 2011 08:54:51 -0400 Subject: [PATCH 3/6] omap1510inn: fix build breaks Provide SDRAM base address and use SRAM for initial stack Signed-off-by: Aneesh V Signed-off-by: Sandeep Paulraj --- include/configs/omap1510inn.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/configs/omap1510inn.h b/include/configs/omap1510inn.h index 9ff4f84..62c1721 100644 --- a/include/configs/omap1510inn.h +++ b/include/configs/omap1510inn.h @@ -161,6 +161,8 @@ #define CONFIG_SYS_FLASH_BASE PHYS_FLASH_1 +#define PHYS_SRAM 0x20000000 + /*----------------------------------------------------------------------- * FLASH and environment organization */ @@ -190,4 +192,7 @@ #define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE #define CONFIG_ENV_OFFSET ( CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN ) /* Environment after Monitor */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR PHYS_SRAM + #endif /* __CONFIG_H */ From a3d4875167d2cb6459d9dc39243e2c490860143f Mon Sep 17 00:00:00 2001 From: Aneesh V Date: Thu, 9 Jun 2011 08:54:53 -0400 Subject: [PATCH 4/6] omap1610inn: fix build breaks Provide SDRAM base address and use SRAM for initial stack Signed-off-by: Aneesh V Signed-off-by: Sandeep Paulraj --- include/configs/omap1610inn.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/configs/omap1610inn.h b/include/configs/omap1610inn.h index 0b41c46..e82b4b2 100644 --- a/include/configs/omap1610inn.h +++ b/include/configs/omap1610inn.h @@ -177,6 +177,8 @@ extern unsigned long omap_flash_base; /* set in flash__init */ #endif +#define PHYS_SRAM 0x20000000 + /*----------------------------------------------------------------------- * FLASH and environment organization */ @@ -194,4 +196,7 @@ extern unsigned long omap_flash_base; /* set in flash__init */ #define CONFIG_ENV_SIZE 0x20000 /* Total Size of Environment Sector */ #define CONFIG_ENV_OFFSET 0x20000 /* environment starts here */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR PHYS_SRAM + #endif /* __CONFIG_H */ From f720a749752a1cd1cb5d3a50f9d8f76883b44007 Mon Sep 17 00:00:00 2001 From: Aneesh V Date: Thu, 9 Jun 2011 08:54:55 -0400 Subject: [PATCH 5/6] omap2420h4: fix build breaks DRAM base address and use SRAM for initial stack Signed-off-by: Aneesh V Signed-off-by: Sandeep Paulraj --- include/configs/omap2420h4.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/configs/omap2420h4.h b/include/configs/omap2420h4.h index 2888c7b..01f402b 100644 --- a/include/configs/omap2420h4.h +++ b/include/configs/omap2420h4.h @@ -220,6 +220,7 @@ #define PHYS_FLASH_2 (H4_CS0_BASE+SZ_32M) /* same cs, 2 chips in series */ #define PHYS_FLASH_SIZE_2 SZ_32M +#define PHYS_SRAM 0x4020F800 /*----------------------------------------------------------------------- * FLASH and environment organization */ @@ -271,4 +272,7 @@ #define MTDPARTS_DEFAULT "mtdparts=omap2420-1:-(jffs2)" */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR PHYS_SRAM + #endif /* __CONFIG_H */ From 7b2fac7654f7420c2787f74ec3b1540fa3b343e9 Mon Sep 17 00:00:00 2001 From: Aneesh V Date: Thu, 9 Jun 2011 08:54:57 -0400 Subject: [PATCH 6/6] omap730p2: fix build breaks Provide SDRAM base address and use SRAM for initial stack Signed-off-by: Aneesh V Signed-off-by: Sandeep Paulraj --- include/configs/omap730p2.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/configs/omap730p2.h b/include/configs/omap730p2.h index fa3681e..bf8e000 100644 --- a/include/configs/omap730p2.h +++ b/include/configs/omap730p2.h @@ -180,6 +180,8 @@ #error Unknown Boot Chip-Select number #endif +#define PHYS_SRAM 0x20000000 + #define CONFIG_SYS_FLASH_BASE PHYS_FLASH_1 /*----------------------------------------------------------------------- @@ -200,4 +202,7 @@ #define CONFIG_ENV_SIZE 0x20000 /* Total Size of Environment Sector */ #define CONFIG_ENV_OFFSET 0x20000 /* environment starts here */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR PHYS_SRAM + #endif /* ! __CONFIG_H */