mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user