arm-trusted-firmware/plat
Dimitris Papastamos cc47e1ada6 juno/aarch32: Restore `SCP_BOOT_CFG_ADDR` to the cold boot value
Before BL2 loads the SCP ram firmware, `SCP_BOOT_CFG_ADDR` specifies
the primary core.  After the SCP ram firmware has started executing,
`SCP_BOOT_CFG_ADDR` is modified.  This is not normally an issue but
the Juno AArch32 boot flow is a special case.  BL1 does a warm reset
into AArch32 and the core jumps to the `sp_min` entrypoint.  This is
effectively a `RESET_TO_SP_MIN` configuration.  `sp_min` has to be
able to determine the primary core and hence we need to restore
`SCP_BOOT_CFG_ADDR` to the cold boot value before `sp_min` runs.

This magically worked when booting on A53 because the core index was
zero and it just so happened to match with the new value in
`SCP_BOOT_CFG_ADDR`.

Change-Id: I105425c680cf6238948625c1d1017b01d3517c01
Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
2017-06-26 17:37:46 +01:00
..
arm juno/aarch32: Restore `SCP_BOOT_CFG_ADDR` to the cold boot value 2017-06-26 17:37:46 +01:00
common sp_min: Implement `sp_min_plat_runtime_setup()` 2017-06-20 15:14:01 +01:00
compat Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
hisilicon Merge pull request #988 from Leo-Yan/fix_cpu_off_v1 2017-06-22 15:09:51 +01:00
mediatek Resolve build errors flagged by GCC 6.2 2017-06-20 11:40:33 +01:00
nvidia/tegra Tegra186: mce: fix MISRA defects 2017-06-14 17:02:01 -07:00
qemu Merge pull request #927 from jeenu-arm/state-switch 2017-05-11 16:04:52 +01:00
rockchip Unique names for defines in the CPU libraries 2017-06-14 15:00:13 -07:00
socionext/uniphier uniphier: embed ROTPK hash into BL1/BL2 2017-06-20 23:54:28 +09:00
xilinx/zynqmp Use SPDX license identifiers 2017-05-03 09:39:28 +01:00