summaryrefslogtreecommitdiff
path: root/common/bl_common.c
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2016-08-31 12:34:33 +0100
committerSoby Mathew <soby.mathew@arm.com>2016-08-31 18:14:07 +0100
commit9e3b4cbbade36bb38a4a96381f0aca1b48ccaa0c (patch)
tree6b91319c2ac499b1a66b1b14bc36003255066cab /common/bl_common.c
parent51c79b7351ba99f8d6ad6c3045cc8fb10b413b4a (diff)
AArch32: Fix SCTLR context initialization
This patch fixes a bug in context management library when writing SCTLR register during context initialization. The write happened prior to initialization of the register context pointer. This resulted in the compiler optimizing the write sequence from the final binary and hence SCTLR remains uninitialized when entering normal world. The bug is fixed by doing the initialization of the register context pointer earlier in the sequence. Change-Id: Ic7465593a74534046b79f40446ffa1165c52ed76
Diffstat (limited to 'common/bl_common.c')
0 files changed, 0 insertions, 0 deletions