summaryrefslogtreecommitdiff
path: root/common/spl
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2019-05-27 01:45:11 +0100
committerJagan Teki <jagan@amarulasolutions.com>2019-07-15 12:25:32 +0530
commit9340d8fe8bebf24441f15529b1a32d062158c65f (patch)
tree28303cabacfd2ccc30739ab8eaced38e88f9043c /common/spl
parent6070ef409c1018860e8dd1f077297546d9d80115 (diff)
sunxi: move CONFIG_SPL_TEXT_BASE from *_defconfig to Kconfig
The choice of the SPL_TEXT_BASE is not really a decision that should be specified by each board's defconfig, as this setting is actually dictated by the SoC's memory map and the BootROM behaviour. To make this obvious and reduce the clutter in the defconfig files, let's specify the SoC constraints in the Kconfig stanza. This allows us to remove these lines from the defconfig files again. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'common/spl')
-rw-r--r--common/spl/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 126931bace..7122c069b2 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -116,6 +116,9 @@ config SPL_LDSCRIPT
config SPL_TEXT_BASE
hex "SPL Text Base"
default ISW_ENTRY_ADDR if AM43XX || AM33XX || OMAP54XX || ARCH_KEYSTONE
+ default 0x10060 if MACH_SUN50I || MACH_SUN50I_H5 || MACH_SUN9I
+ default 0x20060 if MACH_SUN50I_H6
+ default 0x00060 if ARCH_SUNXI
default 0x0
help
The address in memory that SPL will be running from.