diff options
-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 |