[U-Boot] [PATCH] DaVinci Sonata: Add ARM Relocation Support

s-paulraj at ti.com s-paulraj at ti.com
Sun Dec 12 02:39:34 CET 2010


From: Sandeep Paulraj <s-paulraj at ti.com>

Add ARM Relocation Support


Signed-off-by: Sandeep Paulraj <s-paulraj at ti.com>
---
 include/configs/davinci_sonata.h |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/include/configs/davinci_sonata.h b/include/configs/davinci_sonata.h
index 1059ebe..ebfdafa 100644
--- a/include/configs/davinci_sonata.h
+++ b/include/configs/davinci_sonata.h
@@ -198,4 +198,13 @@
 #else
 #error "Either CONFIG_SYS_USE_NAND or CONFIG_SYS_USE_NOR _MUST_ be defined !!!"
 #endif
+
+#define CONFIG_MAX_RAM_BANK_SIZE	(256 << 20)	/* 256 MB */
+
+#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_RAM_SIZE	0x1000
+#define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_SDRAM_BASE + \
+					 CONFIG_SYS_INIT_RAM_SIZE - \
+					 GENERATED_GBL_DATA_SIZE)
+
 #endif /* __CONFIG_H */
-- 
1.6.0.4



More information about the U-Boot mailing list