commit | 0f777eabd99d4bf40acf0a215112160502917172 | [log] [tgz] |
---|---|---|
author | Arunachalam Ganapathy <arunachalam.ganapathy@arm.com> | Tue May 26 11:32:35 2020 +0100 |
committer | Manish Pandey <manish.pandey2@arm.com> | Tue Oct 20 20:06:36 2020 +0000 |
tree | 043398ef0e59b4f99b9d9c9774eae7806d021ad1 | |
parent | 32269499cc5f66564a2ea420a33e369373c2de0c [diff] |
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>