提交 6a1e58eb 编写于 作者: S Sanjeev Premi 提交者: Sandeep Paulraj

omap3evm: Support relocation

This patch adds relocation support for omap3evm.
Content of the patch is based on changes for
Beagleboard.
Signed-off-by: NSanjeev Premi <premi@ti.com>
Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
上级 ac657c42
...@@ -30,4 +30,4 @@ ...@@ -30,4 +30,4 @@
# (mem base + reserved) # (mem base + reserved)
# For use with external or internal boots. # For use with external or internal boots.
CONFIG_SYS_TEXT_BASE = 0x80e80000 CONFIG_SYS_TEXT_BASE = 0x80008000
...@@ -344,6 +344,12 @@ extern unsigned int boot_flash_sec; ...@@ -344,6 +344,12 @@ extern unsigned int boot_flash_sec;
extern unsigned int boot_flash_type; extern unsigned int boot_flash_type;
#endif #endif
/*
* Support for relocation
*/
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
#define CONFIG_SYS_INIT_SP_ADDR (LOW_LEVEL_SRAM_STACK - CONFIG_SYS_GBL_DATA_SIZE)
/*---------------------------------------------------------------------------- /*----------------------------------------------------------------------------
* SMSC9115 Ethernet from SMSC9118 family * SMSC9115 Ethernet from SMSC9118 family
*---------------------------------------------------------------------------- *----------------------------------------------------------------------------
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册