u-boot/board/broadcom
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
..
bcm11130 maintainers: new email address 2016-06-27 21:12:05 -04:00
bcm11130_nand maintainers: new email address 2016-06-27 21:12:05 -04:00
bcm23550_w1d treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
bcm28155_ap treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
bcm28155_w1d maintainers: new email address 2016-06-27 21:12:05 -04:00
bcm911360_entphn maintainers: new email address 2016-06-27 21:12:05 -04:00
bcm911360_entphn-ns maintainers: new email address 2016-06-27 21:12:05 -04:00
bcm911360k maintainers: new email address 2016-06-27 21:12:05 -04:00
bcm958300k maintainers: new email address 2016-06-27 21:12:05 -04:00
bcm958300k-ns maintainers: new email address 2016-06-27 21:12:05 -04:00
bcm958305k maintainers: new email address 2016-06-27 21:12:05 -04:00
bcm958622hr maintainers: new email address 2016-06-27 21:12:05 -04:00
bcm958712k board: ns2: Add support for Broadcom Northstar 2 2017-03-20 18:04:43 -04:00
bcm963158 common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
bcm968360bg common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
bcm968380gerg bcm968380gerg: Add MAINTAINERS file 2018-08-09 11:48:39 -04:00
bcm968580xref common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
bcm_ep treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
bcmcygnus ARM: bcm: Enable five Cygnus boards 2014-11-23 06:49:00 -05:00
bcmns2 common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
bcmns3 board: ns3: add api to save boot parameters passed from BL31 2020-07-29 10:13:41 -04:00
bcmnsp ARM: bcm: Enable five Cygnus boards 2014-11-23 06:49:00 -05:00
bcmstb common: Drop log.h from common header 2020-05-18 21:19:18 -04:00