Tegra: relocate code to BL31_BASE during cold boot
This patch adds support to relocate BL3-1 code to BL31_BASE in case
we cold boot to a different address. This is particularly useful to
maintain compatibility with legacy BL2 code.

This patch also checks to see if the image base address matches either
the TZDRAM or TZSRAM base.

Change-Id: I72c96d7f89076701a6ac2537d4c06565c54dab9c
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
1 parent 1a9c383 commit 939dcf25e10639516f022fe67feebaa1d74d1678
@Varun Wadekar Varun Wadekar authored on 24 Mar 2016
Showing 2 changed files
View
plat/nvidia/tegra/common/aarch64/tegra_helpers.S
View
plat/nvidia/tegra/common/tegra_bl31_setup.c