edminiv2: add support for ELF relocations

Signed-off-by: Albert Aribaud <albert.aribaud@free.fr>
This commit is contained in:
Albert Aribaud 2010-10-11 13:13:29 +02:00 committed by Wolfgang Denk
parent 92d5ecba47
commit 0693923cd2
2 changed files with 7 additions and 2 deletions

View File

@ -23,5 +23,5 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301 USA
#
TEXT_BASE = 0x00100000
# TEXT_BASE must equal the intended FLASH location of u-boot.
TEXT_BASE = 0xfff90000

View File

@ -223,4 +223,9 @@
#define CONFIG_SYS_RESET_ADDRESS 0xffff0000
#define CONFIG_SYS_MAXARGS 16
/* additions for new relocation code, must be added to all boards */
#define CONFIG_SYS_SDRAM_BASE 0
#define CONFIG_SYS_INIT_SP_ADDR \
(CONFIG_SYS_SDRAM_BASE + 0x1000 - CONFIG_SYS_GBL_DATA_SIZE)
#endif /* _CONFIG_EDMINIV2_H */