arm-trusted-firmware/plat/allwinner/sun50i_a64
Samuel Holland ab74206b60 refactor(plat/allwinner): map SRAM as device memory by default
The SRAM on Allwinner platforms is shared between BL31 and coprocessor
firmware. Previously, SRAM was mapped as normal memory by default.
This scheme requires carveouts and cache maintenance code for proper
synchronization with the coprocessor.

A better scheme is to only map pages owned by BL31 as normal memory,
and leave everything else as device memory. This removes the need for
cache maintenance, and it makes the mapping for BL31 RW data explicit
instead of magic.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Change-Id: I820ddeba2dfa2396361c2322308c0db51b55c348
2021-07-22 20:50:24 -05:00
..
include allwinner: Add SPC security setup for H6 2020-12-13 22:15:32 -06:00
platform.mk allwinner: Move SEPARATE_NOBITS_REGION to platforms 2021-03-25 15:25:54 +00:00
sunxi_power.c refactor(plat/allwinner): map SRAM as device memory by default 2021-07-22 20:50:24 -05:00