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

David Müller d.mueller at elsoft.ch
Thu Mar 17 13:35:11 CET 2011


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

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

diff --git a/include/configs/smdk2410.h b/include/configs/smdk2410.h
index 62fe97e..38b5684 100644
--- a/include/configs/smdk2410.h
+++ b/include/configs/smdk2410.h
@@ -179,4 +179,11 @@
 #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 */
+#undef CONFIG_SYS_ARM_WITHOUT_RELOC
+#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