system: Remove CNTFRQ_EL0 write from arm64 boot v20.0.0.0
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 26 May 2020 09:17:19 +0000 (10:17 +0100)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Thu, 28 May 2020 22:44:12 +0000 (22:44 +0000)
We don't need this anymore since this is initialized at gem5
construction.

JIRA: https://gem5.atlassian.net/browse/GEM5-611

Change-Id: I42a3d53a4defba498a23d9a7c192dfff5852c1c7
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29613
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: Bobby R. Bruce <bbruce@ucdavis.edu>
system/arm/bootloader/arm64/boot.S
system/arm/bootloader/arm64/makefile

index fa7acdb5829195744506cba3ceef5030c7b6db1f..b3baa71b0d9b4ef1be5315bbb3c4bab1dfc3cd78 100644 (file)
@@ -40,8 +40,6 @@
 
         .globl _start
 _start:
-        ldr    x0, =CNTFRQ
-        msr    cntfrq_el0, x0
         /*
          * EL3 initialisation
          */
index fd5f69f5b631f7bda81e18c07b43a5761e26cea7..2112b6e710d3fc6af1fc8a4913ed8c8b70a4191a 100644 (file)
@@ -34,7 +34,7 @@ BUILDDIR = .
 DESTDIR = $(error Please set DESTDIR to wanted installation directory)
 
 CFLAGS = -march=armv8-a
-CPPFLAGS = -DPHYS_OFFSET=0x80000000 -DCNTFRQ=0x01800000 \
+CPPFLAGS = -DPHYS_OFFSET=0x80000000 \
                   -DUART_BASE=0x1c090000 -DSYSREGS_BASE=0x1c010000 \
                   -Dkernel=0x80080000 \
                   -Dmbox=0x8000fff8 -Ddtb=0x80000100