diff options
author | Mark Rutland <mark.rutland@arm.com> | 2012-12-20 16:52:51 +0000 |
---|---|---|
committer | Mark Rutland <mark.rutland@arm.com> | 2013-06-05 13:56:14 +0100 |
commit | fc9e28de1da7c08886ee0cf46d5cbe74ea31b0fe (patch) | |
tree | 9d203ca4c6096c9854e9899c771f3c4f63b4d1e2 | |
parent | 73ecb28f15a4c92562573efa1a701043b4a826ac (diff) | |
download | boot-wrapper-aarch64-fc9e28de1da7c08886ee0cf46d5cbe74ea31b0fe.tar.gz |
Remove unnecessary ldr from boot wrapper
We currently do an ldr from GICC_CTLR to w0, then immediately overwrite
w0 with a mov. Reading the GICC_CTLR has no effect on the state of the
GIC, so there's no reason to do the ldr. It's also inconsistent with the
way we set the GICD_CTLR.
Fix this.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
-rw-r--r-- | boot.S | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -49,7 +49,6 @@ _start: str w0, [x1], #4 2: ldr x1, =GIC_CPU_BASE // GICC_CTLR - ldr w0, [x1] mov w0, #3 // EnableGrp0 | EnableGrp1 str w0, [x1] |