Tegra210: lock PMC registers holding CPU vector addresses
authorVarun Wadekar <vwadekar@nvidia.com>
Thu, 16 Jul 2015 06:28:19 +0000 (11:58 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Fri, 17 Jul 2015 13:36:54 +0000 (19:06 +0530)
commite5b0664ce75850e1a291d4f282fd6735b821fec4
tree5f7fb28401470940ef4cc2812eb20bfabad44e9c
parent764c57f6f501cc08734283415aff1366dcd4d41e
Tegra210: lock PMC registers holding CPU vector addresses

This patch locks access to the PMC registers which hold the CPU reset
vector addresses. The PMC registers are used by the warmboot code and
must be locked during boot/resume to avoid booting into custom firmware
installed by unknown parties e.g. hackers.

Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
plat/nvidia/tegra/soc/t210/plat_secondary.c