Patchwork [U-Boot,V6,1/4] SMDK2410: activate ARM relocation feature

login
register
mail settings
Submitter David Müller (ELSOFT AG)
Date March 25, 2011, 8:28 a.m.
Message ID <1301041686-22757-2-git-send-email-d.mueller@elsoft.ch>
Download mbox | patch
Permalink /patch/88346/
State Accepted
Commit b9f15902b6d7e6e8d292dbdbb11dae32f22dd5bb
Delegated to: Minkyu Kang
Headers show

Comments

David Müller (ELSOFT AG) - March 25, 2011, 8:28 a.m.
Signed-off-by: David Müller <d.mueller@elsoft.ch>

---
 include/configs/smdk2410.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
Minkyu Kang - April 8, 2011, 2:25 a.m.
On 25 March 2011 17:28, David Müller <d.mueller@elsoft.ch> wrote:
> Signed-off-by: David Müller <d.mueller@elsoft.ch>
>
> ---
>  include/configs/smdk2410.h |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
>

applied to u-boot-samsung

Thanks
Minkyu Kang

Patch

diff --git a/include/configs/smdk2410.h b/include/configs/smdk2410.h
index 62fe97e..17038f5 100644
--- a/include/configs/smdk2410.h
+++ b/include/configs/smdk2410.h
@@ -179,4 +179,10 @@ 
 #define	CONFIG_ENV_IS_IN_FLASH	1
 #define CONFIG_ENV_SIZE		0x10000	/* Total Size of Environment Sector */
 
+/* additions for new relocation code, must be added to all boards */
+#define CONFIG_SYS_SDRAM_BASE	PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_SP_ADDR	(CONFIG_SYS_SDRAM_BASE + 0x1000 - \
+				GENERATED_GBL_DATA_SIZE)
+
+
 #endif	/* __CONFIG_H */