lib: el3_runtime: Fix aarch32 system registers in el2_sysregs_context
AArch64-only platforms do not implement AArch32 at EL1 and higher ELs.
In such cases the build option CTX_INCLUDE_AARCH32_REGS is set to 0.
So don't save/restore aarch32 system registers in el2_sysregs_context
save/restore routines if CTX_INCLUDE_AARCH32_REGS is set to 0.

Change-Id: I229cdd46136c4b4bc9623b02eb444d904e09ce5a
Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
1 parent 3226949 commit 0f777eabd99d4bf40acf0a215112160502917172
@Arunachalam Ganapathy Arunachalam Ganapathy authored on 26 May 2020
Manish Pandey committed on 20 Oct 2020
Showing 1 changed file
View
lib/el3_runtime/aarch64/context.S