Skip to contentSkip to conversation

CONFIG_SYS_SDRAM and CONFIG_SYS_INIT_SP_ADDR defines for versatile boards.

PATCH Superseded Himanshu Chauhan 3 participants 3 messages Oct 28, 2010 – Nov 15, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 CONFIG_SYS_SDRAM and CONFIG_SYS_INIT_SP_ADDR defines for versatile boards.

Following is the patch for defining the subject line mentioned configuration defines for versatile boards.

---
 include/configs/versatile.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
include/configs/versatile.h +3 -0
index 45d8434..2da567a 100644
@@ -231,4 +231,7 @@
 #define CONFIG_SYS_FLASH_PROTECTION	/* The devices have real protection */
 #define CONFIG_SYS_FLASH_EMPTY_INFO	/* flinfo indicates empty blocks */
 
+#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_TEXT_BASE \
+					 - GENERATED_GBL_DATA_SIZE)
 #endif	/* __CONFIG_H */
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 1/1 CONFIG_SYS_SDRAM and CONFIG_SYS_INIT_SP_ADDR defines for versatile boards.

Dear Peter,

Quoted 14 lines · In message <[email protected]>…

Following is the patch for defining the subject line mentioned configuration defines for versatile boards.

---
 include/configs/versatile.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
include/configs/versatile.h +0 -0
index 45d8434..2da567a 100644

include/configs/versatile.h line 237

Quoted 7 lines
include/configs/versatile.h +3 -0
@@ -231,4 +231,7 @@
 #define CONFIG_SYS_FLASH_PROTECTION	/* The devices have real protection */
 #define CONFIG_SYS_FLASH_EMPTY_INFO	/* flinfo indicates empty blocks */
 
+#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_TEXT_BASE \
+					 - GENERATED_GBL_DATA_SIZE)
 #endif	/* __CONFIG_H */

Is this OK with you?

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I haven't lost my mind -- it's backed up on tape somewhere.
#2 lore raw

PATCH 1/1 CONFIG_SYS_SDRAM and CONFIG_SYS_INIT_SP_ADDR defines for versatile boards.

Fine by me

Quoted 50 lines

-----Original Message-----
From: Wolfgang Denk [mailto:wd at denx.de]
Sent: 14 November 2010 20:58
To: Peter Pearse
Cc: Himanshu Chauhan; u-boot at lists.denx.de
Subject: Re: [U-Boot] [PATCH] CONFIG_SYS_SDRAM and CONFIG_SYS_INIT_SP_ADDR defines for versatile boards.

Dear Peter,

In message <[email protected]>

Review

Quoted 9 lines · Himanshu Chauhan

Following is the patch for defining the subject line mentioned configuration defines for versatile boards.

---
 include/configs/versatile.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
(quoted diff) +0 -0

b/include/configs/versatile.h

include/configs/versatile.h line 231

Quoted 5 lines

index 45d8434..2da567a 100644

include/configs/versatile.h +0 -0
@@ -231,4 +231,7 @@
 #define CONFIG_SYS_FLASH_PROTECTION	/* The devices 

have real protection */

include/configs/versatile.h line 232

Quoted 1 line
include/configs/versatile.h +0 -0
 #define CONFIG_SYS_FLASH_EMPTY_INFO	/* flinfo 

indicates empty blocks */

include/configs/versatile.h

Quoted 6 lines
include/configs/versatile.h +3 -1
+#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_TEXT_BASE \
+					 - GENERATED_GBL_DATA_SIZE)
 #endif	/* __CONFIG_H */
--

Is this OK with you?

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: 
wd at denx.de I haven't lost my mind -- it's backed up on tape somewhere.