T210: Add 128MB VPR allocation/carveout

Hardware / Coreboot - Tom Warren [nvidia.com] - 28 August 2015 01:40 UTC

The NV security team requested that coreboot allocate a 128MB region in SDRAM for VPR (Video Protection Region). We had previously just disabled the VPR by setting BOM/SIZE to 0.

Once allocated, the VPR will be locked from further access. The ALLOW_TZ_WRITE_ACCESS bit is _not_ set, as dynamic VPR config is not supported at this time (i.e. trusted code can _not_ remap or resize the VPR).

BUG=None BRANCH=None TEST=Built and booted on my P5 A44. Saw the VPR region in the boot spew (ID:3 [f6800000 - fe800000]). Dumped the MC VideoProtect registers and verified their values.

5096787 T210: Add 128MB VPR allocation/carveout
src/soc/nvidia/tegra210/addressmap.c | 23 ++++++++++++++++++++++
src/soc/nvidia/tegra210/include/soc/addressmap.h | 2 ++
src/soc/nvidia/tegra210/romstage.c | 1 +
src/soc/nvidia/tegra210/soc.c | 20 -------------------
4 files changed, 26 insertions(+), 20 deletions(-)

Upstream: review.coreboot.org


  • Share