From 49c8ef0e45a91ec894ef15e7d043dafe8f1c5efd Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Mon, 23 Aug 2021 10:25:31 -0400 Subject: Convert CONFIG_SYS_LOAD_ADDR to Kconfig Now that we have consistent usage, migrate this symbol to Kconfig. Signed-off-by: Tom Rini Reviewed-by: Rick Chen --- Kconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Kconfig') diff --git a/Kconfig b/Kconfig index a6c42b902f..fb77b68236 100644 --- a/Kconfig +++ b/Kconfig @@ -389,6 +389,20 @@ config SYS_LDSCRIPT Path within the source tree to the linker script to use for the main U-Boot binary. +config SYS_LOAD_ADDR + hex "Address in memory to use by default" + default 0x01000000 if ARCH_SOCFPGA + default 0x02000000 if PPC || X86 + default 0x22000000 if MACH_SUN9I + default 0x42000000 if ARCH_SUNXI && !MACH_SUN9I + default 0x82000000 if ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3 + default 0x82000000 if ARCH_MX6 && (MX6SL || MX6SLL || MX6SX || MX6UL || MX6ULL) + default 0x12000000 if ARCH_MX6 && !(MX6SL || MX6SLL || MX6SX || MX6UL || MX6ULL) + default 0x80800000 if ARCH_MX7 + default 0x90000000 if FSL_LSCH2 || FSL_LSCH3 + help + Address in memory to use as the default safe load address. + config ERR_PTR_OFFSET hex default 0x0 -- cgit v1.2.3