commit | fe1cd9447b8a722e4c99494166cdc9c717438850 | [log] [tgz] |
---|---|---|
author | Boyan Karatotev <boyan.karatotev@arm.com> | Wed Mar 08 17:04:00 2023 +0000 |
committer | Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com> | Mon Jul 24 10:59:47 2023 +0100 |
tree | 6bbb62383eec423b64a0b5304c67733761acc12a | |
parent | a4ca070b92af015a4e886bf0df45c57a1f7e5e15 [diff] |
refactor(cm): factor out EL2 register setting when EL2 is unused A bunch of registers need to be initialized when EL2 is unused. There are a lot of them which makes cm_prepare_el3_exit() quite unreadable. Put them in their own function to improve this. Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> Change-Id: If07954ed799643f89f177411d4266bb7c21cd394