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

David Müller d.mueller at elsoft.ch
Fri Mar 25 09:28:03 CET 2011


Signed-off-by: David Müller <d.mueller at elsoft.ch>

---
 include/configs/smdk2410.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

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 */
-- 
1.7.1



More information about the U-Boot mailing list