u-boot-brain/arch
Abhishek Shah ef7192e404 board: ns3: add api to save boot parameters passed from BL31
Add API to save boot parameters passed from BL31

Use assembly implementation of save_boot_params instead of c function.
Because generally ATF does not set up SP_EL2 on exiting.
Thus, usage of a C function immediately after exiting with no stack
setup done by ATF explicitly, may cause SP_EL2 to be not sane,
which in turn causes a crash if this boot was not lucky to get
an SP_EL2 in valid range. Replace C implementation with assembly one
which does not use stack this early, and let u-boot to set up its stack
later.

Signed-off-by: Abhishek Shah <abhishek.shah@broadcom.com>
Signed-off-by: Rajesh Ravi <rajesh.ravi@broadcom.com>
Signed-off-by: Vladimir Olovyannikov <vladimir.olovyannikov@broadcom.com>
Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-07-29 10:13:41 -04:00
..
arc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
arm board: ns3: add api to save boot parameters passed from BL31 2020-07-29 10:13:41 -04:00
m68k treewide: convert bd_t to struct bd_info manually 2020-07-17 10:46:44 -04:00
microblaze Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
mips mips: octeon: Add minimal Octeon 3 EBB7304 EVK support 2020-07-18 15:47:50 +02:00
nds32 treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
nios2 cpu: Convert the methods to use a const udevice * 2020-07-25 14:46:57 -06:00
powerpc Drop global data sdhc_adapter for powerpc 2020-07-27 14:16:28 +05:30
riscv riscv: dts: hifive-unleashed-a00: Make memory node available to SPL 2020-07-24 14:56:29 +08:00
sandbox test: Add tests for SOC uclass 2020-07-25 14:46:57 -06:00
sh treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
x86 cpu: Convert the methods to use a const udevice * 2020-07-25 14:46:57 -06:00
xtensa Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
.gitignore
Kconfig acpi: Enable ACPI table generation by default on x86 2020-07-17 14:32:24 +08:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00