]> git.baikalelectronics.ru Git - arm-tf.git/commit
lib: el3_runtime: Fix aarch32 system registers in el2_sysregs_context
authorArunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Tue, 26 May 2020 10:32:35 +0000 (11:32 +0100)
committerManish Pandey <manish.pandey2@arm.com>
Tue, 20 Oct 2020 20:06:36 +0000 (20:06 +0000)
commit0f777eabd99d4bf40acf0a215112160502917172
tree043398ef0e59b4f99b9d9c9774eae7806d021ad1
parent32269499cc5f66564a2ea420a33e369373c2de0c
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>
lib/el3_runtime/aarch64/context.S