diff options
author | Jun Nie <jun.nie@linaro.org> | 2018-09-05 15:56:01 +0800 |
---|---|---|
committer | Jun Nie <jun.nie@linaro.org> | 2018-09-05 15:56:01 +0800 |
commit | 827a8e171dce4bdc5eed3504cd86ca438b228823 (patch) | |
tree | 21045a06454f4bcf9560d75c2e74b84066084747 | |
parent | 02cb24cd2b8e1211a59f113eb38415aa6ff2be0f (diff) |
framework: fix a typo for exception vector
Fix a typo for exception vector manipulation.
Signed-off-by: Jun Nie <jun.nie@linaro.org>
-rw-r--r-- | framework/aarch32/entrypoint.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/aarch32/entrypoint.S b/framework/aarch32/entrypoint.S index 31e58f4..746a12a 100644 --- a/framework/aarch32/entrypoint.S +++ b/framework/aarch32/entrypoint.S @@ -68,7 +68,7 @@ func tftf_entrypoint non_hyp_setup: /* Set V=0 in CP15 SCTLR register - for VBAR to point to vector */ mrc p15, 0, r1, c1, c0, 0 @ Read CP15 SCTLR Register - bic r0, #0x2000 @ V = 0 + bic r1, #0x2000 @ V = 0 mcr p15, 0, r1, c1, c0, 0 @ Write CP15 SCTLR Register stcopr r0, VBAR |