]> git.ipfire.org Git - people/ms/u-boot.git/commit
sunxi: Kconfig: introduce CONFIG_SUNXI_HIGH_SRAM
authorAndre Przywara <andre.przywara@arm.com>
Thu, 16 Feb 2017 01:20:23 +0000 (01:20 +0000)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 5 Apr 2017 09:33:17 +0000 (15:03 +0530)
commitbc613d85bdc54e0092da8598cfb93f10cbc93b62
tree14797def179628f37d628d0750748e3667d14970
parentf4047c2e22469e8c8b0fb9d27d5fc761752ef511
sunxi: Kconfig: introduce CONFIG_SUNXI_HIGH_SRAM

Traditionally Allwinner SoCs have their boot ROM mapped just below 4GB,
while the first SRAM region is mapped at address 0.
With the extended physical memory support of the A80 this was changed,
so the BROM is now at address 0 and the SRAM region starts right behind
this at 64KB. This configuration seems to be called "high SRAM".
Instead of enumerating the SoCs which have copied this configuration,
let's call a spade a spade and introduce a Kconfig option for this setup.
SoCs implementing this (A80, A64 and H5, so far), can then select this
configuration.
Simplify the config header definition on the way.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
arch/arm/include/asm/arch-sunxi/spl.h
board/sunxi/Kconfig
include/configs/sunxi-common.h