diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-02-22 17:53:43 +0100 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-02-26 21:18:12 +0100 |
commit | b60eff31f3bd71a6f14b6c6efc8ad5fb3705de6d (patch) | |
tree | b4bcab9f621f05187bde8a839613e2d6e34c1106 /common/board_r.c | |
parent | d0b5d9da5de280120b73e776663f6a3024f225f4 (diff) |
arm: remove unneeded symbol offsets and _TEXT_BASE
Remove the last uses of symbol offsets in ARM U-Boot.
Remove some needless uses of _TEXT_BASE.
Remove all _TEXT_BASE definitions.
Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Diffstat (limited to 'common/board_r.c')
-rw-r--r-- | common/board_r.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/board_r.c b/common/board_r.c index c2d0763b57..899f377e17 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -128,8 +128,8 @@ __weak int fixup_cpu(void) static int initr_reloc_global_data(void) { -#ifdef CONFIG_SYS_SYM_OFFSETS - monitor_flash_len = _end_ofs; +#ifdef __ARM__ + monitor_flash_len = _end - __image_copy_start; #elif !defined(CONFIG_SANDBOX) monitor_flash_len = (ulong)&__init_end - gd->relocaddr; #endif |