aboutsummaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2018-03-03 23:49:02 +0000
committerJagan Teki <jagan@amarulasolutions.com>2018-03-14 10:45:37 +0530
commit341c05865478e259c1c9d889c74c43dcd5192cc0 (patch)
tree7ef1099e75883818ea82aaaeeee846aad6134f3e /Kconfig
parentd682cff440c962e4312ed404b90a50b305b43d8b (diff)
downloadu-boot-341c05865478e259c1c9d889c74c43dcd5192cc0.zip
u-boot-341c05865478e259c1c9d889c74c43dcd5192cc0.tar.gz
u-boot-341c05865478e259c1c9d889c74c43dcd5192cc0.tar.bz2
sunxi: move CONFIG_SYS_TEXT_BASE out of defconfigs
Commit 278b90ce786f ("configs: Migrate CONFIG_SYS_TEXT_BASE") made CONFIG_SYS_TEXT_BASE a proper Kconfig variable, with the consequence of moving the common definition shared by almost every sunxi board into 123 individual defconfig files. But the U-Boot start address for Allwinner boards is a platform decision which has been around for ages, so defining it in each *board* config file seems a bit over the top. Define the standard values (160MB into DRAM for most SoCs, with two SoC exceptions) if ARCH_SUNXI is selected, and delete the lines from the individual defconfigs. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index 4354061..6670913 100644
--- a/Kconfig
+++ b/Kconfig
@@ -405,6 +405,9 @@ config SYS_TEXT_BASE
depends on !NIOS2 && !XTENSA
depends on !EFI_APP
default 0x80800000 if ARCH_OMAP2PLUS
+ default 0x4a000000 if ARCH_SUNXI && !MACH_SUN9I && !MACH_SUN8I_V3S
+ default 0x2a000000 if ARCH_SUNXI && MACH_SUN9I
+ default 0x42e00000 if ARCH_SUNXI && MACH_SUN8I_V3S
hex "Text Base"
help
The address in memory that U-Boot will be running from, initially.