SMDK2410: activate ARM relocation feature
authorDavid Müller (ELSOFT AG) <d.mueller@elsoft.ch>
Thu, 24 Mar 2011 22:28:03 +0000 (22:28 +0000)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 26 May 2011 10:28:34 +0000 (19:28 +0900)
Signed-off-by: David Müller <d.mueller@elsoft.ch>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
include/configs/smdk2410.h

index 62fe97e76ac02c19a457ac55d770516c1e46c0aa..17038f526abf6ad854aaa639e3957e5e40ee7bec 100644 (file)
 #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 */