aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos/spl_boot.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-10-20 18:22:39 -0600
committerTom Rini <trini@konsulko.com>2022-10-31 11:01:31 -0400
commit984639039f4cfe32ec2cc531d6ace05326ac49eb (patch)
tree472bf7e47978335a73c5d6025d3b83b534f7192b /arch/arm/mach-exynos/spl_boot.c
parent6f38d91158e7e4199753b79e0a25c1a65175aba4 (diff)
downloadu-boot-984639039f4cfe32ec2cc531d6ace05326ac49eb.zip
u-boot-984639039f4cfe32ec2cc531d6ace05326ac49eb.tar.gz
u-boot-984639039f4cfe32ec2cc531d6ace05326ac49eb.tar.bz2
Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE
The current name is inconsistent with SPL which uses CONFIG_SPL_TEXT_BASE and this makes it imposible to use CONFIG_VAL(). Rename it to resolve this problem. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-exynos/spl_boot.c')
-rw-r--r--arch/arm/mach-exynos/spl_boot.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-exynos/spl_boot.c b/arch/arm/mach-exynos/spl_boot.c
index 93fea9c..f518539 100644
--- a/arch/arm/mach-exynos/spl_boot.c
+++ b/arch/arm/mach-exynos/spl_boot.c
@@ -251,7 +251,7 @@ void copy_uboot_to_ram(void)
#ifdef CONFIG_SPI_BOOTING
case BOOT_MODE_SERIAL:
/* Customised function to copy u-boot from SF */
- exynos_spi_copy(param->uboot_size, CONFIG_SYS_TEXT_BASE);
+ exynos_spi_copy(param->uboot_size, CONFIG_TEXT_BASE);
break;
#endif
case BOOT_MODE_SD:
@@ -267,7 +267,7 @@ void copy_uboot_to_ram(void)
copy_bl2_from_emmc = get_irom_func(EMMC44_INDEX);
end_bootop_from_emmc = get_irom_func(EMMC44_END_INDEX);
- copy_bl2_from_emmc(BL2_SIZE_BLOC_COUNT, CONFIG_SYS_TEXT_BASE);
+ copy_bl2_from_emmc(BL2_SIZE_BLOC_COUNT, CONFIG_TEXT_BASE);
end_bootop_from_emmc();
break;
#endif
@@ -279,7 +279,7 @@ void copy_uboot_to_ram(void)
*/
is_cr_z_set = config_branch_prediction(0);
usb_copy = get_irom_func(USB_INDEX);
- usb_copy(0, (u32 *)CONFIG_SYS_TEXT_BASE);
+ usb_copy(0, (u32 *)CONFIG_TEXT_BASE);
config_branch_prediction(is_cr_z_set);
break;
#endif
@@ -288,7 +288,7 @@ void copy_uboot_to_ram(void)
}
if (copy_bl2)
- copy_bl2(offset, size, CONFIG_SYS_TEXT_BASE);
+ copy_bl2(offset, size, CONFIG_TEXT_BASE);
}
void memzero(void *s, size_t n)
@@ -329,7 +329,7 @@ void board_init_f(unsigned long bootflag)
copy_uboot_to_ram();
/* Jump to U-Boot image */
- uboot = (void *)CONFIG_SYS_TEXT_BASE;
+ uboot = (void *)CONFIG_TEXT_BASE;
(*uboot)();
/* Never returns Here */
}