diff options
author | Tom Rini <trini@konsulko.com> | 2021-07-09 10:39:21 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-23 07:13:25 -0400 |
commit | 55adabbbfc18dbb217f4d9820f0faf00ad8a31c0 (patch) | |
tree | 81782f3891c1e17c1e677bbb1977004c55819a9f /common/Kconfig.boot | |
parent | 650bf008e57a98cd6fa89839d48561dfdc5c51e7 (diff) | |
download | u-boot-55adabbbfc18dbb217f4d9820f0faf00ad8a31c0.tar.gz |
Kconfig.boot: Make 0x0 the default SYS_TEXT_BASE for POSITION_INDEPENDENT
When we build U-Boot with POSITION_INDEPENDENT we must have
SYS_TEXT_BASE be set to zero. Make this the default in that case.
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Diffstat (limited to 'common/Kconfig.boot')
-rw-r--r-- | common/Kconfig.boot | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Kconfig.boot b/common/Kconfig.boot index ae3f2b6f62b..b4dc49e0195 100644 --- a/common/Kconfig.boot +++ b/common/Kconfig.boot @@ -358,6 +358,7 @@ config HAVE_SYS_TEXT_BASE config SYS_TEXT_BASE depends on HAVE_SYS_TEXT_BASE + default 0x0 if POSITION_INDEPENDENT default 0x80800000 if ARCH_OMAP2PLUS || ARCH_K3 default 0x4a000000 if ARCH_SUNXI && !MACH_SUN9I && !MACH_SUN8I_V3S default 0x2a000000 if ARCH_SUNXI && MACH_SUN9I |