]> git.baikalelectronics.ru Git - arm-tf.git/commit
allwinner: Reserve and map space for the SCP firmware
authorSamuel Holland <samuel@sholland.org>
Sun, 29 Dec 2019 18:22:55 +0000 (12:22 -0600)
committerSamuel Holland <samuel@sholland.org>
Thu, 13 Feb 2020 03:18:21 +0000 (21:18 -0600)
commit57b3663239fbe4deeecfbc9388691dc694649f3c
tree2f4b53056f0e47bee04364332a81882228978e7c
parentae3fe6e3e6119663d59831ca6cb39fc66c8ae4f3
allwinner: Reserve and map space for the SCP firmware

The SCP firmware is allocated the last 16KiB of SRAM A2. This includes
the SCPI shared memory area, which must be mapped as MT_DEVICE to
prevent problems with cache coherency between the AP CPUs and the SCP.
For simplicity, map the whole SCP region as MT_DEVICE.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Change-Id: Ie39eb5ff281b8898a3c1d9748dc08755f528e2f8
plat/allwinner/common/include/platform_def.h
plat/allwinner/common/sunxi_common.c