sunxi: change SUNXI_HIGH_SRAM option to SUNXI_SRAM_ADDRESS
authorIcenowy Zheng <[email protected]>
Sat, 21 Jul 2018 08:20:20 +0000 (16:20 +0800)
committerJagan Teki <[email protected]>
Tue, 31 Jul 2018 06:08:13 +0000 (11:38 +0530)
commitcadc7c20e57d10ff2d8c1272cd3ffa4e0bb39caa
treeebc137e909da967259b67ccd5094bd21b4207ad7
parentdddc4b4af3a444ef78d1a3d983aae71179a0d92c
sunxi: change SUNXI_HIGH_SRAM option to SUNXI_SRAM_ADDRESS

The new Allwinner H6 SoC has its SRAM A1 at neither 0x0 nor 0x10000, but
it's at 0x20000. Thus the SUNXI_HIGH_SRAM option needs to be refactored
to support this new configuration.

Change it to SUNXI_SRAM_ADDRESS, which holds the real address of SRAM
A1 in the memory map.

Signed-off-by: Icenowy Zheng <[email protected]>
Reviewed-by: Andre Przywara <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
Tested-by: Jagan Teki <[email protected]>
arch/arm/include/asm/arch-sunxi/spl.h
arch/arm/mach-sunxi/Kconfig
include/configs/sunxi-common.h