]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(tegra): remove dependency on CPU registers to get boot parameters
authorKalyani Chidambaram Vaidyanathan <kalyanic@nvidia.com>
Mon, 24 Apr 2023 20:32:05 +0000 (13:32 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Sun, 30 Apr 2023 09:57:06 +0000 (10:57 +0100)
commit0b9f05fcaea069bff6894d99ec5babc4be29ca67
treec459290573653864246f3547de957d25e62685f4
parent48a65ec31aa7b5c28f2b0e8d3441bca6f264ee2e
fix(tegra): remove dependency on CPU registers to get boot parameters

Commit 3e14df6f6 removed the code to clear the CPU registers X0 - X3,
which affected the Tegra platforms. Tegra platforms rely on the boot
parameters passed through custom mechanisms and do not use these
general purpose registers, but maintained sanity checks to support
legacy bootloaders. These sanity checks went out of sync due to the
code cleanup from bl31_entrypoint().

This patch removes the checks and calls the SOC specific handlers to
retrieve the boot parameters.

Change-Id: I0cf4d9c0370c33ff7715b48592b6bc0602f3c93e
Signed-off-by: Kalyani Chidambaram Vaidyanathan <kalyanic@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
plat/nvidia/tegra/common/tegra_bl31_setup.c