Tegra: drivers: memctrl: introduce function to secure on-chip TZRAM
authorVarun Wadekar <vwadekar@nvidia.com>
Wed, 30 Dec 2015 23:06:41 +0000 (15:06 -0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 23 Feb 2017 18:49:22 +0000 (10:49 -0800)
commit06b19d58ce5fd91751256ef011ef81ff49c0adec
tree79a1bf38467dec024ec5ba0d1a215d0baa0c7547
parent25caa16d6ea3aeeb30e21af6b5fc3cdffb583788
Tegra: drivers: memctrl: introduce function to secure on-chip TZRAM

This patch introduces a function to secure the on-chip TZRAM memory. The
Tegra132 and Tegra210 chips do not have a compelling use case to lock the
TZRAM. The trusted OS owns the TZRAM aperture on these chips and so it
can take care of locking the aperture. This might not be true for future
chips and this patch makes the TZRAM programming flexible.

Change-Id: I3ac9f1de1b792ccd23d4ded274784bbab2ea224a
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
plat/nvidia/tegra/common/drivers/memctrl/memctrl_v1.c
plat/nvidia/tegra/common/tegra_bl31_setup.c
plat/nvidia/tegra/include/drivers/memctrl.h
plat/nvidia/tegra/include/drivers/memctrl_v1.h
plat/nvidia/tegra/include/t132/tegra_def.h
plat/nvidia/tegra/include/t210/tegra_def.h