Patchwork [U-Boot] DaVinci Schmoogie: Add ARM Relocation Support

login
register
mail settings
Submitter Sandeep Paulraj
Date Dec. 12, 2010, 1:40 a.m.
Message ID <1292118003-4267-1-git-send-email-s-paulraj@ti.com>
Download mbox | patch
Permalink /patch/75218/
State Accepted
Commit 11e238d6e672ac8b81cabbc7921b0da5554efc3a
Delegated to: Sandeep Paulraj
Headers show

Comments

Sandeep Paulraj - Dec. 12, 2010, 1:40 a.m.
From: Sandeep Paulraj <s-paulraj@ti.com>

Add ARM Relocation Support


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

Patch

diff --git a/include/configs/davinci_schmoogie.h b/include/configs/davinci_schmoogie.h
index 841f444..5cc8bc0 100644
--- a/include/configs/davinci_schmoogie.h
+++ b/include/configs/davinci_schmoogie.h
@@ -147,4 +147,13 @@ 
 #undef CONFIG_CMD_SETGETDCR
 #undef CONFIG_CMD_FLASH
 #undef CONFIG_CMD_IMLS
+
+#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 */