* [U-Boot] [PATCH 1/6] omap1610h2: fix build breaks
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
@ 2011-06-07 15:13 ` Aneesh V
2011-06-07 15:13 ` [U-Boot] [PATCH 2/6] omap5912osk: " Aneesh V
` (19 subsequent siblings)
20 siblings, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-07 15:13 UTC (permalink / raw)
To: u-boot
Provide SDRAM base address and use SRAM for initial stack
---
include/configs/omap1610h2.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/configs/omap1610h2.h b/include/configs/omap1610h2.h
index 2936dcc..57a7956 100644
--- a/include/configs/omap1610h2.h
+++ b/include/configs/omap1610h2.h
@@ -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 */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 27+ messages in thread* [U-Boot] [PATCH 2/6] omap5912osk: fix build breaks
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
2011-06-07 15:13 ` [U-Boot] [PATCH 1/6] omap1610h2: fix build breaks Aneesh V
@ 2011-06-07 15:13 ` Aneesh V
2011-06-07 15:13 ` [U-Boot] [PATCH 3/6] omap1510inn: " Aneesh V
` (18 subsequent siblings)
20 siblings, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-07 15:13 UTC (permalink / raw)
To: u-boot
Provide SDRAM base address and use SRAM for initial stack
Signed-off-by: Aneesh V <aneesh@ti.com>
---
include/configs/omap5912osk.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/configs/omap5912osk.h b/include/configs/omap5912osk.h
index b875464..d8be4a1 100644
--- a/include/configs/omap5912osk.h
+++ b/include/configs/omap5912osk.h
@@ -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 */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 27+ messages in thread* [U-Boot] [PATCH 3/6] omap1510inn: fix build breaks
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
2011-06-07 15:13 ` [U-Boot] [PATCH 1/6] omap1610h2: fix build breaks Aneesh V
2011-06-07 15:13 ` [U-Boot] [PATCH 2/6] omap5912osk: " Aneesh V
@ 2011-06-07 15:13 ` Aneesh V
2011-06-07 15:13 ` [U-Boot] [PATCH 4/6] omap1610inn: " Aneesh V
` (17 subsequent siblings)
20 siblings, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-07 15:13 UTC (permalink / raw)
To: u-boot
Provide SDRAM base address and use SRAM for initial stack
Signed-off-by: Aneesh V <aneesh@ti.com>
---
include/configs/omap1510inn.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/configs/omap1510inn.h b/include/configs/omap1510inn.h
index 9ff4f84..7a215ef 100644
--- a/include/configs/omap1510inn.h
+++ b/include/configs/omap1510inn.h
@@ -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 */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 27+ messages in thread* [U-Boot] [PATCH 4/6] omap1610inn: fix build breaks
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
` (2 preceding siblings ...)
2011-06-07 15:13 ` [U-Boot] [PATCH 3/6] omap1510inn: " Aneesh V
@ 2011-06-07 15:13 ` Aneesh V
2011-06-07 15:13 ` [U-Boot] [PATCH 5/6] omap2420h4: " Aneesh V
` (16 subsequent siblings)
20 siblings, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-07 15:13 UTC (permalink / raw)
To: u-boot
Provide SDRAM base address and use SRAM for initial stack
Signed-off-by: Aneesh V <aneesh@ti.com>
---
include/configs/omap1610inn.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/configs/omap1610inn.h b/include/configs/omap1610inn.h
index 0b41c46..22be002 100644
--- a/include/configs/omap1610inn.h
+++ b/include/configs/omap1610inn.h
@@ -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 */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 27+ messages in thread* [U-Boot] [PATCH 5/6] omap2420h4: fix build breaks
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
` (3 preceding siblings ...)
2011-06-07 15:13 ` [U-Boot] [PATCH 4/6] omap1610inn: " Aneesh V
@ 2011-06-07 15:13 ` Aneesh V
2011-06-07 15:13 ` [U-Boot] [PATCH 6/6] omap730p2: " Aneesh V
` (15 subsequent siblings)
20 siblings, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-07 15:13 UTC (permalink / raw)
To: u-boot
DRAM base address and use SRAM for initial stack
Signed-off-by: Aneesh V <aneesh@ti.com>
---
include/configs/omap2420h4.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/configs/omap2420h4.h b/include/configs/omap2420h4.h
index 2888c7b..6ac75a6 100644
--- a/include/configs/omap2420h4.h
+++ b/include/configs/omap2420h4.h
@@ -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 */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 27+ messages in thread* [U-Boot] [PATCH 6/6] omap730p2: fix build breaks
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
` (4 preceding siblings ...)
2011-06-07 15:13 ` [U-Boot] [PATCH 5/6] omap2420h4: " Aneesh V
@ 2011-06-07 15:13 ` Aneesh V
2011-06-08 20:20 ` [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Albert ARIBAUD
` (14 subsequent siblings)
20 siblings, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-07 15:13 UTC (permalink / raw)
To: u-boot
Provide SDRAM base address and use SRAM for initial stack
Signed-off-by: Aneesh V <aneesh@ti.com>
---
include/configs/omap730p2.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/configs/omap730p2.h b/include/configs/omap730p2.h
index fa3681e..56ec3a9 100644
--- a/include/configs/omap730p2.h
+++ b/include/configs/omap730p2.h
@@ -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 */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 27+ messages in thread* [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
` (5 preceding siblings ...)
2011-06-07 15:13 ` [U-Boot] [PATCH 6/6] omap730p2: " Aneesh V
@ 2011-06-08 20:20 ` Albert ARIBAUD
2011-06-09 7:52 ` Aneesh V
2011-06-09 8:24 ` Aneesh V
` (13 subsequent siblings)
20 siblings, 1 reply; 27+ messages in thread
From: Albert ARIBAUD @ 2011-06-08 20:20 UTC (permalink / raw)
To: u-boot
Hi Aneesh,
Le 07/06/2011 17:13, Aneesh V a ?crit :
> 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(-)
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,
--
Albert.
^ permalink raw reply [flat|nested] 27+ messages in thread* [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards
2011-06-08 20:20 ` [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Albert ARIBAUD
@ 2011-06-09 7:52 ` Aneesh V
0 siblings, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-09 7:52 UTC (permalink / raw)
To: u-boot
On Thursday 09 June 2011 01:50 AM, Albert ARIBAUD wrote:
> Hi Aneesh,
>
> Le 07/06/2011 17:13, Aneesh V a ?crit :
>> 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(-)
>
> 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.
>
Will do.
Thanks,
Aneesh
^ permalink raw reply [flat|nested] 27+ messages in thread
* [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
` (6 preceding siblings ...)
2011-06-08 20:20 ` [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Albert ARIBAUD
@ 2011-06-09 8:24 ` Aneesh V
2011-06-09 8:24 ` [U-Boot] [PATCH 1/6] omap1610h2: fix build breaks Aneesh V
` (12 subsequent siblings)
20 siblings, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-09 8:24 UTC (permalink / raw)
To: u-boot
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.
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(-)
^ permalink raw reply [flat|nested] 27+ messages in thread* [U-Boot] [PATCH 1/6] omap1610h2: fix build breaks
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
` (7 preceding siblings ...)
2011-06-09 8:24 ` Aneesh V
@ 2011-06-09 8:24 ` Aneesh V
2011-06-09 8:24 ` [U-Boot] [PATCH 2/6] omap5912osk: " Aneesh V
` (11 subsequent siblings)
20 siblings, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-09 8:24 UTC (permalink / raw)
To: u-boot
Provide SDRAM base address and use SRAM for initial stack
---
include/configs/omap1610h2.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
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 */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 27+ messages in thread* [U-Boot] [PATCH 2/6] omap5912osk: fix build breaks
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
` (8 preceding siblings ...)
2011-06-09 8:24 ` [U-Boot] [PATCH 1/6] omap1610h2: fix build breaks Aneesh V
@ 2011-06-09 8:24 ` Aneesh V
2011-06-09 8:24 ` [U-Boot] [PATCH 3/6] omap1510inn: " Aneesh V
` (10 subsequent siblings)
20 siblings, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-09 8:24 UTC (permalink / raw)
To: u-boot
Provide SDRAM base address and use SRAM for initial stack
Signed-off-by: Aneesh V <aneesh@ti.com>
---
include/configs/omap5912osk.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
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 */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 27+ messages in thread* [U-Boot] [PATCH 3/6] omap1510inn: fix build breaks
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
` (9 preceding siblings ...)
2011-06-09 8:24 ` [U-Boot] [PATCH 2/6] omap5912osk: " Aneesh V
@ 2011-06-09 8:24 ` Aneesh V
2011-06-09 8:24 ` [U-Boot] [PATCH 4/6] omap1610inn: " Aneesh V
` (9 subsequent siblings)
20 siblings, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-09 8:24 UTC (permalink / raw)
To: u-boot
Provide SDRAM base address and use SRAM for initial stack
Signed-off-by: Aneesh V <aneesh@ti.com>
---
include/configs/omap1510inn.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
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 */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 27+ messages in thread* [U-Boot] [PATCH 4/6] omap1610inn: fix build breaks
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
` (10 preceding siblings ...)
2011-06-09 8:24 ` [U-Boot] [PATCH 3/6] omap1510inn: " Aneesh V
@ 2011-06-09 8:24 ` Aneesh V
2011-06-09 8:24 ` [U-Boot] [PATCH 5/6] omap2420h4: " Aneesh V
` (8 subsequent siblings)
20 siblings, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-09 8:24 UTC (permalink / raw)
To: u-boot
Provide SDRAM base address and use SRAM for initial stack
Signed-off-by: Aneesh V <aneesh@ti.com>
---
include/configs/omap1610inn.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/configs/omap1610inn.h b/include/configs/omap1610inn.h
index 0b41c46..9b9c8d1 100644
--- a/include/configs/omap1610inn.h
+++ b/include/configs/omap1610inn.h
@@ -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 */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 27+ messages in thread* [U-Boot] [PATCH 5/6] omap2420h4: fix build breaks
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
` (11 preceding siblings ...)
2011-06-09 8:24 ` [U-Boot] [PATCH 4/6] omap1610inn: " Aneesh V
@ 2011-06-09 8:24 ` Aneesh V
2011-06-09 8:24 ` [U-Boot] [PATCH 6/6] omap730p2: " Aneesh V
` (7 subsequent siblings)
20 siblings, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-09 8:24 UTC (permalink / raw)
To: u-boot
DRAM base address and use SRAM for initial stack
Signed-off-by: Aneesh V <aneesh@ti.com>
---
include/configs/omap2420h4.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
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 */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 27+ messages in thread* [U-Boot] [PATCH 6/6] omap730p2: fix build breaks
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
` (12 preceding siblings ...)
2011-06-09 8:24 ` [U-Boot] [PATCH 5/6] omap2420h4: " Aneesh V
@ 2011-06-09 8:24 ` Aneesh V
2011-06-09 11:24 ` [U-Boot] [PATCH v3 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
` (6 subsequent siblings)
20 siblings, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-09 8:24 UTC (permalink / raw)
To: u-boot
Provide SDRAM base address and use SRAM for initial stack
Signed-off-by: Aneesh V <aneesh@ti.com>
---
include/configs/omap730p2.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
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 */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 27+ messages in thread* [U-Boot] [PATCH v3 0/6] OMAP: fix build breaks on OMAP boards
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
` (13 preceding siblings ...)
2011-06-09 8:24 ` [U-Boot] [PATCH 6/6] omap730p2: " Aneesh V
@ 2011-06-09 11:24 ` Aneesh V
2011-06-13 10:59 ` Albert ARIBAUD
2011-06-09 11:24 ` [U-Boot] [PATCH v3 1/6] omap1610h2: fix build breaks Aneesh V
` (5 subsequent siblings)
20 siblings, 1 reply; 27+ messages in thread
From: Aneesh V @ 2011-06-09 11:24 UTC (permalink / raw)
To: u-boot
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.
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(-)
^ permalink raw reply [flat|nested] 27+ messages in thread* [U-Boot] [PATCH v3 0/6] OMAP: fix build breaks on OMAP boards
2011-06-09 11:24 ` [U-Boot] [PATCH v3 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
@ 2011-06-13 10:59 ` Albert ARIBAUD
2011-06-13 11:12 ` Aneesh V
2011-06-13 11:17 ` Aneesh V
0 siblings, 2 replies; 27+ messages in thread
From: Albert ARIBAUD @ 2011-06-13 10:59 UTC (permalink / raw)
To: u-boot
Hi Aneesh,
Le 09/06/2011 13:24, Aneesh V a ?crit :
> 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.
>
> 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(-)
Hmm, seems like they don't apply cleanly above current
u-boot-arm/master. Can you rebase and resend as V4 ?
Amicalement,
--
Albert.
^ permalink raw reply [flat|nested] 27+ messages in thread
* [U-Boot] [PATCH v3 0/6] OMAP: fix build breaks on OMAP boards
2011-06-13 10:59 ` Albert ARIBAUD
@ 2011-06-13 11:12 ` Aneesh V
2011-06-13 11:17 ` Aneesh V
1 sibling, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-13 11:12 UTC (permalink / raw)
To: u-boot
On Monday 13 June 2011 04:29 PM, Albert ARIBAUD wrote:
> Hi Aneesh,
>
> Le 09/06/2011 13:24, Aneesh V a ?crit :
>> 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.
>>
>> 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(-)
>
> Hmm, seems like they don't apply cleanly above current
> u-boot-arm/master. Can you rebase and resend as V4 ?
Sure.
br,
Aneesh
^ permalink raw reply [flat|nested] 27+ messages in thread
* [U-Boot] [PATCH v3 0/6] OMAP: fix build breaks on OMAP boards
2011-06-13 10:59 ` Albert ARIBAUD
2011-06-13 11:12 ` Aneesh V
@ 2011-06-13 11:17 ` Aneesh V
2011-06-13 11:58 ` Albert ARIBAUD
1 sibling, 1 reply; 27+ messages in thread
From: Aneesh V @ 2011-06-13 11:17 UTC (permalink / raw)
To: u-boot
Hi Albert,
On Monday 13 June 2011 04:29 PM, Albert ARIBAUD wrote:
> Hi Aneesh,
>
> Le 09/06/2011 13:24, Aneesh V a ?crit :
>> 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.
>>
>> 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(-)
>
> 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
^ permalink raw reply [flat|nested] 27+ messages in thread
* [U-Boot] [PATCH v3 0/6] OMAP: fix build breaks on OMAP boards
2011-06-13 11:17 ` Aneesh V
@ 2011-06-13 11:58 ` Albert ARIBAUD
0 siblings, 0 replies; 27+ messages in thread
From: Albert ARIBAUD @ 2011-06-13 11:58 UTC (permalink / raw)
To: u-boot
Le 13/06/2011 13:17, Aneesh V a ?crit :
> Hi Albert,
>
> On Monday 13 June 2011 04:29 PM, Albert ARIBAUD wrote:
>> Hi Aneesh,
>>
>> Le 09/06/2011 13:24, Aneesh V a ?crit :
>>> 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.
>>>
>>> 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(-)
>>
>> 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,
--
Albert.
^ permalink raw reply [flat|nested] 27+ messages in thread
* [U-Boot] [PATCH v3 1/6] omap1610h2: fix build breaks
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
` (14 preceding siblings ...)
2011-06-09 11:24 ` [U-Boot] [PATCH v3 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
@ 2011-06-09 11:24 ` Aneesh V
2011-06-09 11:24 ` [U-Boot] [PATCH v3 2/6] omap5912osk: " Aneesh V
` (4 subsequent siblings)
20 siblings, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-09 11:24 UTC (permalink / raw)
To: u-boot
Provide SDRAM base address and use SRAM for initial stack
---
include/configs/omap1610h2.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
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 */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 27+ messages in thread* [U-Boot] [PATCH v3 2/6] omap5912osk: fix build breaks
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
` (15 preceding siblings ...)
2011-06-09 11:24 ` [U-Boot] [PATCH v3 1/6] omap1610h2: fix build breaks Aneesh V
@ 2011-06-09 11:24 ` Aneesh V
2011-06-09 11:24 ` [U-Boot] [PATCH v3 3/6] omap1510inn: " Aneesh V
` (3 subsequent siblings)
20 siblings, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-09 11:24 UTC (permalink / raw)
To: u-boot
Provide SDRAM base address and use SRAM for initial stack
Signed-off-by: Aneesh V <aneesh@ti.com>
---
include/configs/omap5912osk.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
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 */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 27+ messages in thread* [U-Boot] [PATCH v3 3/6] omap1510inn: fix build breaks
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
` (16 preceding siblings ...)
2011-06-09 11:24 ` [U-Boot] [PATCH v3 2/6] omap5912osk: " Aneesh V
@ 2011-06-09 11:24 ` Aneesh V
2011-06-09 11:24 ` [U-Boot] [PATCH v3 4/6] omap1610inn: " Aneesh V
` (2 subsequent siblings)
20 siblings, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-09 11:24 UTC (permalink / raw)
To: u-boot
Provide SDRAM base address and use SRAM for initial stack
Signed-off-by: Aneesh V <aneesh@ti.com>
---
include/configs/omap1510inn.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
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 */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 27+ messages in thread* [U-Boot] [PATCH v3 4/6] omap1610inn: fix build breaks
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
` (17 preceding siblings ...)
2011-06-09 11:24 ` [U-Boot] [PATCH v3 3/6] omap1510inn: " Aneesh V
@ 2011-06-09 11:24 ` Aneesh V
2011-06-09 11:24 ` [U-Boot] [PATCH v3 5/6] omap2420h4: " Aneesh V
2011-06-09 11:24 ` [U-Boot] [PATCH v3 6/6] omap730p2: " Aneesh V
20 siblings, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-09 11:24 UTC (permalink / raw)
To: u-boot
Provide SDRAM base address and use SRAM for initial stack
Signed-off-by: Aneesh V <aneesh@ti.com>
---
include/configs/omap1610inn.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
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 */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 27+ messages in thread* [U-Boot] [PATCH v3 5/6] omap2420h4: fix build breaks
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
` (18 preceding siblings ...)
2011-06-09 11:24 ` [U-Boot] [PATCH v3 4/6] omap1610inn: " Aneesh V
@ 2011-06-09 11:24 ` Aneesh V
2011-06-09 11:24 ` [U-Boot] [PATCH v3 6/6] omap730p2: " Aneesh V
20 siblings, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-09 11:24 UTC (permalink / raw)
To: u-boot
DRAM base address and use SRAM for initial stack
Signed-off-by: Aneesh V <aneesh@ti.com>
---
include/configs/omap2420h4.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
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 */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 27+ messages in thread* [U-Boot] [PATCH v3 6/6] omap730p2: fix build breaks
2011-06-07 15:13 [U-Boot] [PATCH 0/6] OMAP: fix build breaks on OMAP boards Aneesh V
` (19 preceding siblings ...)
2011-06-09 11:24 ` [U-Boot] [PATCH v3 5/6] omap2420h4: " Aneesh V
@ 2011-06-09 11:24 ` Aneesh V
20 siblings, 0 replies; 27+ messages in thread
From: Aneesh V @ 2011-06-09 11:24 UTC (permalink / raw)
To: u-boot
Provide SDRAM base address and use SRAM for initial stack
Signed-off-by: Aneesh V <aneesh@ti.com>
---
include/configs/omap730p2.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
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 */
--
1.7.0.4
^ permalink raw reply related [flat|nested] 27+ messages in thread