From 341c05865478e259c1c9d889c74c43dcd5192cc0 Mon Sep 17 00:00:00 2001 From: Andre Przywara Date: Sat, 3 Mar 2018 23:49:02 +0000 Subject: 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 Acked-by: Maxime Ripard Reviewed-by: Jagan Teki --- Kconfig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Kconfig') 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. -- cgit v1.1