allwinner: Adjust memory mapping to fit into 256MB
At the moment we map as much of the DRAM into EL3 as possible, however
we actually don't use it. The only exception is the secure DRAM for
BL32 (if that is configured).

To decrease the memory footprint of ATF, we save on some page tables by
reducing the memory mapping to the actually required regions: SRAM, device
MMIO, secure DRAM and U-Boot (to be used later).
This introduces a non-identity mapping for the DRAM regions.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
1 parent a80490c commit c3af6b0052b343943b8ed4e51658343c966bfc7a
@Andre Przywara Andre Przywara authored on 20 Sep 2018
Showing 4 changed files
View
plat/allwinner/common/include/platform_def.h
View
plat/allwinner/common/sunxi_common.c
View
plat/allwinner/sun50i_a64/include/sunxi_mmap.h
View
plat/allwinner/sun50i_h6/include/sunxi_mmap.h