Tegra: memctrl_v2: pack TZDRAM base into SCRATCH54_LO
This patch moves the TZDRAM base address to SCRATCH55_LO due
to security concerns. The HI and LO address bits are packed
into SCRATCH55_LO for the warmboot firmware to restore.
SCRATCH54_HI is still being used for backward compatibility,
but would be removed eventually.

The scratch registers are populated as:
* RSV55_0 = CFG1[12:0] | CFG0[31:20]
* RSV55_1 = CFG3[1:0]
* RSV54_1 = CFG1[12:0]

Change-Id: Idc20d165d8117488010fcc8dfd946f7ad475da58
Signed-off-by: Harvey Hsieh <hhsieh@nvidia.com>
1 parent c09c63e commit 70da35b0df656d4b76742dd864dd5b64bb7902af
@Harvey Hsieh Harvey Hsieh authored on 9 Aug 2017
Varun Wadekar committed on 18 Jan 2019
Showing 2 changed files
View
plat/nvidia/tegra/common/drivers/memctrl/memctrl_v2.c
View
plat/nvidia/tegra/include/t186/tegra_def.h