summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/arm/bootloader/arm64/boot.S9
1 files changed, 2 insertions, 7 deletions
diff --git a/system/arm/bootloader/arm64/boot.S b/system/arm/bootloader/arm64/boot.S
index 38090c8f2..fa7acdb58 100644
--- a/system/arm/bootloader/arm64/boot.S
+++ b/system/arm/bootloader/arm64/boot.S
@@ -40,6 +40,8 @@
.globl _start
_start:
+ ldr x0, =CNTFRQ
+ msr cntfrq_el0, x0
/*
* EL3 initialisation
*/
@@ -55,9 +57,6 @@ _start:
msr cptr_el3, xzr // Disable copro. traps to EL3
- ldr x0, =CNTFRQ
- msr cntfrq_el0, x0
-
/*
* Check for the primary CPU to avoid a race on the distributor
* registers.
@@ -180,10 +179,6 @@ start_ns:
str wzr, [x4, #0xa0] // V2M_SYS_CFGDATA
str w5, [x4, #0xa4] // V2M_SYS_CFGCTRL
- // set up the arch timer frequency
- //ldr x0, =CNTFRQ
- //msr cntfrq_el0, x0
-
/*
* Primary CPU
*/