mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 23:47:24 +00:00
ef7192e404
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> |
||
---|---|---|
.. | ||
bcm11130 | ||
bcm11130_nand | ||
bcm23550_w1d | ||
bcm28155_ap | ||
bcm28155_w1d | ||
bcm911360_entphn | ||
bcm911360_entphn-ns | ||
bcm911360k | ||
bcm958300k | ||
bcm958300k-ns | ||
bcm958305k | ||
bcm958622hr | ||
bcm958712k | ||
bcm963158 | ||
bcm968360bg | ||
bcm968380gerg | ||
bcm968580xref | ||
bcm_ep | ||
bcmcygnus | ||
bcmns2 | ||
bcmns3 | ||
bcmnsp | ||
bcmstb |