diff options
author | Samuel Holland <samuel@sholland.org> | 2023-10-31 00:17:39 -0500 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2024-01-29 14:30:59 +0000 |
commit | 53c0ad5d27a2796fbc6a2c515561cf93b55e4427 (patch) | |
tree | 7034a21615048d123fb882337138eb03022f49e0 /arch/arm/mach-sunxi | |
parent | d72494a06443061f150742910e9441fe9c9e14f3 (diff) | |
download | u-boot-53c0ad5d27a2796fbc6a2c515561cf93b55e4427.tar.gz u-boot-53c0ad5d27a2796fbc6a2c515561cf93b55e4427.tar.bz2 u-boot-53c0ad5d27a2796fbc6a2c515561cf93b55e4427.zip |
sunxi: binman: Move BL31 and SCP firmware addresses to Kconfig
This is easier to read than the #ifdef staircase, provides better
visibility into the memory map (alongside the other Kconfig
definitions), and allows these addresses to be reused from code.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'arch/arm/mach-sunxi')
-rw-r--r-- | arch/arm/mach-sunxi/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index 421a48bc35..fe89aec6b9 100644 --- a/arch/arm/mach-sunxi/Kconfig +++ b/arch/arm/mach-sunxi/Kconfig @@ -161,6 +161,23 @@ config SUNXI_RVBAR_ALTERNATIVE for all other SoCs, so the content of the SRAM_VER_REG becomes irrelevant there, and we can use the same code. +config SUNXI_BL31_BASE + hex + default 0x00044000 if MACH_SUN50I || MACH_SUN50I_H5 + default 0x00104000 if MACH_SUN50I_H6 + default 0x40000000 if MACH_SUN50I_H616 + default 0x0 + help + Address where BL31 (TF-A) is loaded, or zero if BL31 is not used. + +config SUNXI_SCP_BASE + hex + default 0x00050000 if MACH_SUN50I || MACH_SUN50I_H5 + default 0x00114000 if MACH_SUN50I_H6 + default 0x0 + help + Address where SCP firmware is loaded, or zero if it is not used. + config SUNXI_A64_TIMER_ERRATUM bool |