mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-23 13:36:05 +00:00
chore(pauth): remove redundant pauth_disable_el3() call
Both bl2_main and bl2_run_next_image call pauth_disable_el3. However, bl2_main is the only caller of bl2_run_next_image so it doesn't need to call it Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> Change-Id: I91769b2994ad643d2259c211936dbac4ef010d25
This commit is contained in:
parent
d5f19c49ba
commit
1d2706dbaf
2 changed files with 1 additions and 10 deletions
|
@ -24,15 +24,6 @@ func bl2_run_next_image
|
||||||
tlbi alle3
|
tlbi alle3
|
||||||
bl bl2_el3_plat_prepare_exit
|
bl bl2_el3_plat_prepare_exit
|
||||||
|
|
||||||
#if ENABLE_PAUTH
|
|
||||||
/* ---------------------------------------------
|
|
||||||
* Disable pointer authentication before jumping
|
|
||||||
* to next boot image.
|
|
||||||
* ---------------------------------------------
|
|
||||||
*/
|
|
||||||
bl pauth_disable_el3
|
|
||||||
#endif /* ENABLE_PAUTH */
|
|
||||||
|
|
||||||
ldp x0, x1, [x20, #ENTRY_POINT_INFO_PC_OFFSET]
|
ldp x0, x1, [x20, #ENTRY_POINT_INFO_PC_OFFSET]
|
||||||
msr elr_el3, x0
|
msr elr_el3, x0
|
||||||
msr spsr_el3, x1
|
msr spsr_el3, x1
|
||||||
|
|
|
@ -45,7 +45,7 @@ func pauth_init_enable_el1
|
||||||
endfunc pauth_init_enable_el1
|
endfunc pauth_init_enable_el1
|
||||||
|
|
||||||
/* -------------------------------------------------------------
|
/* -------------------------------------------------------------
|
||||||
* Disable pointer authentication in EL3
|
* Disable pointer authentication in EL1
|
||||||
* -------------------------------------------------------------
|
* -------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
func pauth_disable_el1
|
func pauth_disable_el1
|
||||||
|
|
Loading…
Add table
Reference in a new issue