Tegra: memctrl_v2: platform handler for TZDRAM settings
authorVarun Wadekar <vwadekar@nvidia.com>
Mon, 30 Oct 2017 21:35:17 +0000 (14:35 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 23 Jan 2019 18:32:46 +0000 (10:32 -0800)
commitd5bd0de6275e0a00f8b5c0c5076180ecc21f8da6
tree09b10a39fbaa86eda36d6d881b3c8ab5a8a54688
parent7191566c696e3f9070db9f2b9b8503a5617fa6db
Tegra: memctrl_v2: platform handler for TZDRAM settings

The Tegra memctrl driver sets up the TZDRAM fence during boot and
system suspend exit. This patch provides individual platforms with
handlers to perform platform specific steps, e.g. enable encryption,
save base/size to secure scratch registers.

Change-Id: Ifaa2e0eac20b50f77ec734256544c36dd511bd63
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
plat/nvidia/tegra/common/drivers/memctrl/memctrl_v2.c
plat/nvidia/tegra/include/drivers/memctrl_v2.h
plat/nvidia/tegra/soc/t186/plat_memctrl.c