arm-trusted-firmware/bl31
Manish V Badarkhe 3e14df6f63 fix(bl31): avoid clearing of argument registers in RESET_TO_BL31 case
It was assumed that BL31 is the first bootloader to run so there's
no argument to relay from a previous bootloader in RESET_TO_BL31
case, however this is not true for every platform with a non-TF-A
bootloader that might get executed before BL31 while compiling in
RESET_TO_BL31 feature.

Thus, by avoiding zeroing registers, the arguments passed from the
previous bootloader to BL31 are preserved.

Change-Id: I7bb66a10d1fd551ba3fd59a7a38ab5bde3197f72
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
2023-03-09 13:51:35 +00:00
..
aarch64 fix(bl31): avoid clearing of argument registers in RESET_TO_BL31 case 2023-03-09 13:51:35 +00:00
bl31.ld.S build: always prefix section names with . 2023-02-20 18:29:33 +00:00
bl31.mk refactor(trf): enable FEAT_TRF for FEAT_STATE_CHECKED 2023-02-27 18:04:14 +00:00
bl31_context_mgmt.c feat(rme): add context management changes for FEAT_RME 2021-10-05 18:41:35 +02:00
bl31_main.c refactor(context-mgmt): move FEAT_HCX save/restore into C 2023-01-11 16:02:58 +00:00
bl31_traps.c feat(fvp): emulate trapped RNDR 2022-12-21 12:59:36 +00:00
ehf.c fix(bl31): allow use of EHF with S-EL2 SPMC 2022-08-30 08:29:25 -07:00
interrupt_mgmt.c Use correct type when reading SCR register 2020-01-28 11:10:48 +00:00