]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: change SUNXI_HIGH_SRAM option to SUNXI_SRAM_ADDRESS
authorIcenowy Zheng <icenowy@aosc.io>
Sat, 21 Jul 2018 08:20:20 +0000 (16:20 +0800)
committerJagan Teki <jagan@amarulasolutions.com>
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 <icenowy@aosc.io>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/include/asm/arch-sunxi/spl.h
arch/arm/mach-sunxi/Kconfig
include/configs/sunxi-common.h