commit | b48bd790732ea09fe360b0faff8b4717e133f5c6 | [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 | d281e05318cc726213528ab876f44aba35938295 [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