Commit 207680c6 authored by Varun Wadekar's avatar Varun Wadekar
Browse files

Tegra: restore TZRAM settings on "System Resume"


This patch restores the TZRAM fence and the access permissions
on exiting the "System Suspend" state.

Change-Id: Ie313fca5a861c73f80df9639b01115780fb6e217
Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
Showing with 6 additions and 0 deletions
+6 -0
......@@ -203,6 +203,12 @@ void tegra_pwr_domain_on_finish(const psci_power_state_t *target_state)
plat_params = bl31_get_plat_params();
tegra_memctrl_tzdram_setup(plat_params->tzdram_base,
plat_params->tzdram_size);
/*
* Set up the TZRAM memory aperture to allow only secure world
* access
*/
tegra_memctrl_tzram_setup(TEGRA_TZRAM_BASE, TEGRA_TZRAM_SIZE);
}
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment