tegra132: add support for TZ carve-out

Hardware / Coreboot - Aaron Durbin [chromium.org] - 5 March 2015 10:32 UTC

The TrustZone carve-out needs to be taken into account when determining the memory layout. However, things are complicated by the fact that TZ carve-out registers are not accessible by the AVP.

BUG=chrome-os-partner:30572 BRANCH=None TEST=Built and booted to end of ramstage. Noted that denver cores can read TZ registers while AVP doesn't bother.

Original-Change-Id: I2d2d27e33a334bf639af52260b99d8363906c646

5f66b52 tegra132: add support for TZ carve-out
src/soc/nvidia/tegra132/addressmap.c | 8 +++++++
src/soc/nvidia/tegra132/cbmem.c | 7 ++++++
src/soc/nvidia/tegra132/include/soc/id.h | 35 ++++++++++++++++++++++++++++++
src/soc/nvidia/tegra132/mc.h | 4 +++-
4 files changed, 53 insertions(+), 1 deletion(-)

Upstream: review.coreboot.org


  • Share