summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-08-23 10:25:31 -0400
committerTom Rini <trini@konsulko.com>2021-08-31 17:46:37 -0400
commit49c8ef0e45a91ec894ef15e7d043dafe8f1c5efd (patch)
treee938e373a25b69050e51d30db0fc8952a7d9b934 /Kconfig
parent72d81360aabd0485d3832d292bbea29c7c4554ef (diff)
downloadu-boot-49c8ef0e45a91ec894ef15e7d043dafe8f1c5efd.tar.gz
u-boot-49c8ef0e45a91ec894ef15e7d043dafe8f1c5efd.tar.bz2
u-boot-49c8ef0e45a91ec894ef15e7d043dafe8f1c5efd.zip
Convert CONFIG_SYS_LOAD_ADDR to Kconfig
Now that we have consistent usage, migrate this symbol to Kconfig. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig14
1 files changed, 14 insertions, 0 deletions
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