OMAP: fix build breaks on OMAP boards
cover OMAP: fix build breaks on OMAP boards
Fix build breaks for OMAP boards.
All the build breaks were due to couple of missing defines in the config file, namely:
CONFIG_SYS_SDRAM_BASE and CONFIG_SYS_INIT_SP_ADDR
They have been fixed by providing the right SDRAM base address and by using SRAM base as the initial stack address.
None of these have been tested as I do not have any of these boards.
Aneesh V (6):
omap1610h2: fix build breaks
omap5912osk: fix build breaks
omap1510inn: fix build breaks
omap1610inn: fix build breaks
omap2420h4: fix build breaks
omap730p2: fix build breaks
include/configs/omap1510inn.h | 3 +++ include/configs/omap1610h2.h | 3 +++ include/configs/omap1610inn.h | 3 +++ include/configs/omap2420h4.h | 3 +++ include/configs/omap5912osk.h | 3 +++ include/configs/omap730p2.h | 3 +++ 6 files changed, 18 insertions(+), 0 deletions(-)
PATCH 1/6 omap1610h2: fix build breaks
Provide SDRAM base address and use SRAM for initial stack
--- include/configs/omap1610h2.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
include/configs/omap1610h2.h +3 -0
@@ -189,4 +189,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 0x20000000 +#endif /* __CONFIG_H */
Signature · 1 line
1.7.0.4
PATCH 1/6 omap1610h2: fix build breaks
In reply to Aneesh VProvide SDRAM base address and use SRAM for initial stack
--- include/configs/omap1610h2.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
include/configs/omap1610h2.h +5 -0
@@ -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 */
Signature · 1 line
1.7.0.4
PATCH 2/6 omap5912osk: fix build breaks
In reply to Aneesh VProvide SDRAM base address and use SRAM for initial stack
--- include/configs/omap5912osk.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
include/configs/omap5912osk.h +3 -0
@@ -199,4 +199,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 0x20000000 +#endif /* __CONFIG_H */
Signature · 1 line
1.7.0.4
PATCH 2/6 omap5912osk: fix build breaks
In reply to Aneesh VProvide SDRAM base address and use SRAM for initial stack
--- include/configs/omap5912osk.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
include/configs/omap5912osk.h +5 -0
@@ -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 */
Signature · 1 line
1.7.0.4
PATCH 3/6 omap1510inn: fix build breaks
In reply to Aneesh VProvide SDRAM base address and use SRAM for initial stack
--- include/configs/omap1510inn.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
include/configs/omap1510inn.h +3 -0
@@ -190,4 +190,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 0x20000000 +#endif /* __CONFIG_H */
Signature · 1 line
1.7.0.4
PATCH 3/6 omap1510inn: fix build breaks
In reply to Aneesh VProvide SDRAM base address and use SRAM for initial stack
--- include/configs/omap1510inn.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
include/configs/omap1510inn.h +5 -0
@@ -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 */
Signature · 1 line
1.7.0.4
cover OMAP: fix build breaks on OMAP boards
In reply to Aneesh VHi Aneesh,
Le 07/06/2011 17:13, Aneesh V a ?crit :
Quoted 21 lines
Fix build breaks for OMAP boards.
All the build breaks were due to couple of missing defines in the config file, namely:
CONFIG_SYS_SDRAM_BASEandCONFIG_SYS_INIT_SP_ADDRThey have been fixed by providing the right SDRAM base address and by using SRAM base as the initial stack address.
None of these have been tested as I do not have any of these boards.
Aneesh V (6):
omap1610h2: fix build breaks
omap5912osk: fix build breaks
omap1510inn: fix build breaks
omap1610inn: fix build breaks
omap2420h4: fix build breaks
omap730p2: fix build breaks
Quoted 7 lines
include/configs/omap1510inn.h | 3 +++ include/configs/omap1610h2.h | 3 +++ include/configs/omap1610inn.h | 3 +++ include/configs/omap2420h4.h | 3 +++ include/configs/omap5912osk.h | 3 +++ include/configs/omap730p2.h | 3 +++ 6 files changed, 18 insertions(+), 0 deletions(-)
Could you post a V2 series with a symbolic constant rather than a magic number for SP? Something like:
...
#define PHYS_SRAM 0x20000000
...
#define CONFIG_SYS_INIT_SP_ADDR PHYS_SRAM
... so that readers of the code know exactly that SP is set to SRAM base.
Amicalement,
Signature · 1 line
Albert.
cover OMAP: fix build breaks on OMAP boards
Quoted 35 lines · Albert ARIBAUD
Hi Aneesh,
Le 07/06/2011 17:13, Aneesh V a ?crit :
Quoted 21 lines
Fix build breaks for OMAP boards.
All the build breaks were due to couple of missing defines in the config file, namely:
CONFIG_SYS_SDRAM_BASEandCONFIG_SYS_INIT_SP_ADDRThey have been fixed by providing the right SDRAM base address and by using SRAM base as the initial stack address.
None of these have been tested as I do not have any of these boards.
Aneesh V (6):
omap1610h2: fix build breaks
omap5912osk: fix build breaks
omap1510inn: fix build breaks
omap1610inn: fix build breaks
omap2420h4: fix build breaks
omap730p2: fix build breaksQuoted 7 lines
include/configs/omap1510inn.h| 3 +++include/configs/omap1610h2.h| 3 +++include/configs/omap1610inn.h| 3 +++include/configs/omap2420h4.h| 3 +++include/configs/omap5912osk.h| 3 +++include/configs/omap730p2.h| 3 +++6 files changed, 18 insertions(+), 0 deletions(-)Could you post a V2 series with a symbolic constant rather than a magic number for SP? Something like:
Quoted 7 lines
...
#definePHYS_SRAM0x20000000
...
#defineCONFIG_SYS_INIT_SP_ADDRPHYS_SRAM... so that readers of the code know exactly that SP is set to SRAM base.
Will do.
Thanks,
Aneesh
cover OMAP: fix build breaks on OMAP boards
In reply to Aneesh VFix build breaks for OMAP boards.
All the build breaks were due to couple of missing defines in the config file, namely:
CONFIG_SYS_SDRAM_BASE and CONFIG_SYS_INIT_SP_ADDR
They have been fixed by providing the right SDRAM base address and by using SRAM base as the initial stack address.
None of these have been tested as I do not have any of these boards.
V2:
* Replaced the magic number used for CONFIG_SYS_INIT_SP_ADDR with a symbolic name - PHYS_SRAM - indicating that SRAM is used for the intial stack. Made this change in all the patches.
Aneesh V (6):
omap1610h2: fix build breaks
omap5912osk: fix build breaks
omap1510inn: fix build breaks
omap1610inn: fix build breaks
omap2420h4: fix build breaks
omap730p2: fix build breaks
include/configs/omap1510inn.h | 5 +++++ include/configs/omap1610h2.h | 5 +++++ include/configs/omap1610inn.h | 3 +++ include/configs/omap2420h4.h | 4 ++++ include/configs/omap5912osk.h | 5 +++++ include/configs/omap730p2.h | 5 +++++ 6 files changed, 27 insertions(+), 0 deletions(-)
PATCH 4/6 omap1610inn: fix build breaks
In reply to Aneesh VProvide SDRAM base address and use SRAM for initial stack
--- include/configs/omap1610inn.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
include/configs/omap1610inn.h +3 -0
@@ -194,4 +194,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 0x20000000 +#endif /* __CONFIG_H */
Signature · 1 line
1.7.0.4
PATCH 4/6 omap1610inn: fix build breaks
In reply to Aneesh VProvide SDRAM base address and use SRAM for initial stack
--- include/configs/omap1610inn.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
include/configs/omap1610inn.h +3 -0
@@ -194,4 +194,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 0x20000000 +#endif /* __CONFIG_H */
Signature · 1 line
1.7.0.4
PATCH 5/6 omap2420h4: fix build breaks
In reply to Aneesh VDRAM base address and use SRAM for initial stack
--- include/configs/omap2420h4.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
include/configs/omap2420h4.h +3 -0
@@ -271,4 +271,7 @@#define MTDPARTS_DEFAULT "mtdparts=omap2420-1:-(jffs2)" */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR 0x4020F800 +#endif /* __CONFIG_H */
Signature · 1 line
1.7.0.4
PATCH 5/6 omap2420h4: fix build breaks
In reply to Aneesh VDRAM base address and use SRAM for initial stack
--- include/configs/omap2420h4.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
include/configs/omap2420h4.h +4 -0
@@ -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 */
Signature · 1 line
1.7.0.4
PATCH 6/6 omap730p2: fix build breaks
In reply to Aneesh VProvide SDRAM base address and use SRAM for initial stack
--- include/configs/omap730p2.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
include/configs/omap730p2.h +3 -0
@@ -200,4 +200,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 0x20000000 +#endif /* ! __CONFIG_H */
Signature · 1 line
1.7.0.4
PATCH 6/6 omap730p2: fix build breaks
In reply to Aneesh VProvide SDRAM base address and use SRAM for initial stack
--- include/configs/omap730p2.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
include/configs/omap730p2.h +5 -0
@@ -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 */
Signature · 1 line
1.7.0.4
v3 cover OMAP: fix build breaks on OMAP boards
In reply to Aneesh VFix build breaks for OMAP boards.
All the build breaks were due to couple of missing defines in the config file, namely:
CONFIG_SYS_SDRAM_BASE and CONFIG_SYS_INIT_SP_ADDR
They have been fixed by providing the right SDRAM base address and by using SRAM base as the initial stack address.
None of these have been tested as I do not have any of these boards.
V2:
* Replaced the magic number used for CONFIG_SYS_INIT_SP_ADDR with a symbolic name - PHYS_SRAM - indicating that SRAM is used for the intial stack. Made this change in all the patches.
V3:
* Missed doing the V2 change for omap1610inn. Fixed that
Aneesh V (6):
omap1610h2: fix build breaks
omap5912osk: fix build breaks
omap1510inn: fix build breaks
omap1610inn: fix build breaks
omap2420h4: fix build breaks
omap730p2: fix build breaks
include/configs/omap1510inn.h | 5 +++++ include/configs/omap1610h2.h | 5 +++++ include/configs/omap1610inn.h | 5 +++++ include/configs/omap2420h4.h | 4 ++++ include/configs/omap5912osk.h | 5 +++++ include/configs/omap730p2.h | 5 +++++ 6 files changed, 29 insertions(+), 0 deletions(-)
v3 cover OMAP: fix build breaks on OMAP boards
Hi Aneesh,
Le 09/06/2011 13:24, Aneesh V a ?crit :
Quoted 29 lines
Fix build breaks for OMAP boards.
All the build breaks were due to couple of missing defines in the config file, namely:
CONFIG_SYS_SDRAM_BASEandCONFIG_SYS_INIT_SP_ADDRThey have been fixed by providing the right SDRAM base address and by using SRAM base as the initial stack address.
None of these have been tested as I do not have any of these boards.
V2:
* Replaced the magic number used forCONFIG_SYS_INIT_SP_ADDRwith a symbolic name -PHYS_SRAM- indicating that SRAM is used for the intial stack. Made this change in all the patches.
V3:
* Missed doing the V2 change for omap1610inn. Fixed thatAneesh V (6):
omap1610h2: fix build breaks
omap5912osk: fix build breaks
omap1510inn: fix build breaks
omap1610inn: fix build breaks
omap2420h4: fix build breaks
omap730p2: fix build breaks
Quoted 7 lines
include/configs/omap1510inn.h | 5 +++++ include/configs/omap1610h2.h | 5 +++++ include/configs/omap1610inn.h | 5 +++++ include/configs/omap2420h4.h | 4 ++++ include/configs/omap5912osk.h | 5 +++++ include/configs/omap730p2.h | 5 +++++ 6 files changed, 29 insertions(+), 0 deletions(-)
Hmm, seems like they don't apply cleanly above current u-boot-arm/master. Can you rebase and resend as V4 ?
Amicalement,
Signature · 1 line
Albert.
v3 cover OMAP: fix build breaks on OMAP boards
Quoted 40 lines · Albert ARIBAUD
Hi Aneesh,
Le 09/06/2011 13:24, Aneesh V a ?crit :
Quoted 29 lines
Fix build breaks for OMAP boards.
All the build breaks were due to couple of missing defines in the config file, namely:
CONFIG_SYS_SDRAM_BASEandCONFIG_SYS_INIT_SP_ADDRThey have been fixed by providing the right SDRAM base address and by using SRAM base as the initial stack address.
None of these have been tested as I do not have any of these boards.
V2:
* Replaced the magic number used forCONFIG_SYS_INIT_SP_ADDRwith a symbolic name -PHYS_SRAM- indicating that SRAM is used for the intial stack. Made this change in all the patches.
V3:
* Missed doing the V2 change for omap1610inn. Fixed thatAneesh V (6):
omap1610h2: fix build breaks
omap5912osk: fix build breaks
omap1510inn: fix build breaks
omap1610inn: fix build breaks
omap2420h4: fix build breaks
omap730p2: fix build breaksQuoted 7 lines
include/configs/omap1510inn.h| 5 +++++include/configs/omap1610h2.h| 5 +++++include/configs/omap1610inn.h| 5 +++++include/configs/omap2420h4.h| 4 ++++include/configs/omap5912osk.h| 5 +++++include/configs/omap730p2.h| 5 +++++6 files changed, 29 insertions(+), 0 deletions(-)
Quoted 2 lines
Hmm, seems like they don't apply cleanly above current u-boot-arm/master. Can you rebase and resend as V4 ?
Sure.
br,
Aneesh
v3 cover OMAP: fix build breaks on OMAP boards
In reply to Albert ARIBAUDHi Albert,
Quoted 40 lines · Albert ARIBAUD
Hi Aneesh,
Le 09/06/2011 13:24, Aneesh V a ?crit :
Quoted 29 lines
Fix build breaks for OMAP boards.
All the build breaks were due to couple of missing defines in the config file, namely:
CONFIG_SYS_SDRAM_BASEandCONFIG_SYS_INIT_SP_ADDRThey have been fixed by providing the right SDRAM base address and by using SRAM base as the initial stack address.
None of these have been tested as I do not have any of these boards.
V2:
* Replaced the magic number used forCONFIG_SYS_INIT_SP_ADDRwith a symbolic name -PHYS_SRAM- indicating that SRAM is used for the intial stack. Made this change in all the patches.
V3:
* Missed doing the V2 change for omap1610inn. Fixed thatAneesh V (6):
omap1610h2: fix build breaks
omap5912osk: fix build breaks
omap1510inn: fix build breaks
omap1610inn: fix build breaks
omap2420h4: fix build breaks
omap730p2: fix build breaksQuoted 7 lines
include/configs/omap1510inn.h| 5 +++++include/configs/omap1610h2.h| 5 +++++include/configs/omap1610inn.h| 5 +++++include/configs/omap2420h4.h| 4 ++++include/configs/omap5912osk.h| 5 +++++include/configs/omap730p2.h| 5 +++++6 files changed, 29 insertions(+), 0 deletions(-)
Quoted 2 lines
Hmm, seems like they don't apply cleanly above current u-boot-arm/master. Can you rebase and resend as V4 ?
I see that my patches are already applied there?
br,
Aneesh
v3 cover OMAP: fix build breaks on OMAP boards
Le 13/06/2011 13:17, Aneesh V a ?crit :
Quoted 43 lines
Hi Albert,
Quoted 40 lines · Albert ARIBAUD
Hi Aneesh,
Le 09/06/2011 13:24, Aneesh V a ?crit :
Quoted 36 lines
Fix build breaks for OMAP boards.
All the build breaks were due to couple of missing defines in the config file, namely:
CONFIG_SYS_SDRAM_BASEandCONFIG_SYS_INIT_SP_ADDRThey have been fixed by providing the right SDRAM base address and by using SRAM base as the initial stack address.
None of these have been tested as I do not have any of these boards.
V2:
* Replaced the magic number used forCONFIG_SYS_INIT_SP_ADDRwith a symbolic name -PHYS_SRAM- indicating that SRAM is used for the intial stack. Made this change in all the patches.
V3:
* Missed doing the V2 change for omap1610inn. Fixed thatAneesh V (6):
omap1610h2: fix build breaks
omap5912osk: fix build breaks
omap1510inn: fix build breaks
omap1610inn: fix build breaks
omap2420h4: fix build breaks
omap730p2: fix build breaks
include/configs/omap1510inn.h| 5 +++++include/configs/omap1610h2.h| 5 +++++include/configs/omap1610inn.h| 5 +++++include/configs/omap2420h4.h| 4 ++++include/configs/omap5912osk.h| 5 +++++include/configs/omap730p2.h| 5 +++++6 files changed, 29 insertions(+), 0 deletions(-)
Quoted 7 lines
Quoted 2 lines
Hmm, seems like they don't apply cleanly above current u-boot-arm/master. Can you rebase and resend as V4 ?
I see that my patches are already applied there?
br,
Aneesh
Oops. They were in the u-boot-ti pull request I /just/ applied. Please bear with me while I hit my forehead on my desk repeatedly.
Amicalement,
Signature · 1 line
Albert.
PATCH v3 1/6 omap1610h2: fix build breaks
In reply to Aneesh VProvide SDRAM base address and use SRAM for initial stack
--- include/configs/omap1610h2.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
include/configs/omap1610h2.h +5 -0
@@ -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 */
Signature · 1 line
1.7.0.4
PATCH v3 2/6 omap5912osk: fix build breaks
In reply to Aneesh VProvide SDRAM base address and use SRAM for initial stack
--- include/configs/omap5912osk.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
include/configs/omap5912osk.h +5 -0
@@ -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 */
Signature · 1 line
1.7.0.4
PATCH v3 3/6 omap1510inn: fix build breaks
In reply to Aneesh VProvide SDRAM base address and use SRAM for initial stack
--- include/configs/omap1510inn.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
include/configs/omap1510inn.h +5 -0
@@ -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 */
Signature · 1 line
1.7.0.4
PATCH v3 4/6 omap1610inn: fix build breaks
In reply to Aneesh VProvide SDRAM base address and use SRAM for initial stack
--- include/configs/omap1610inn.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
include/configs/omap1610inn.h +5 -0
@@ -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 */
Signature · 1 line
1.7.0.4
PATCH v3 5/6 omap2420h4: fix build breaks
In reply to Aneesh VDRAM base address and use SRAM for initial stack
--- include/configs/omap2420h4.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
include/configs/omap2420h4.h +4 -0
@@ -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 */
Signature · 1 line
1.7.0.4
PATCH v3 6/6 omap730p2: fix build breaks
In reply to Aneesh VProvide SDRAM base address and use SRAM for initial stack
--- include/configs/omap730p2.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
include/configs/omap730p2.h +5 -0
@@ -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 */
Signature · 1 line
1.7.0.4