commit | b1b8af04439240c532d3530a02773b75b9853f77 | [log] [tgz] |
---|---|---|
author | Giacomo Travaglini <giacomo.travaglini@arm.com> | Tue May 26 10:17:19 2020 +0100 |
committer | Bobby R. Bruce <bbruce@ucdavis.edu> | Thu May 28 22:44:12 2020 +0000 |
tree | 7ef95991273c12ffa65f72fdfeb7517a35ce605d | |
parent | 3dd3c1e8937d27c740a81bd6c3ba182ddf18e277 [diff] |
system: Remove CNTFRQ_EL0 write from arm64 boot 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>
diff --git a/system/arm/bootloader/arm64/boot.S b/system/arm/bootloader/arm64/boot.S index fa7acdb..b3baa71 100644 --- a/system/arm/bootloader/arm64/boot.S +++ b/system/arm/bootloader/arm64/boot.S
@@ -40,8 +40,6 @@ .globl _start _start: - ldr x0, =CNTFRQ - msr cntfrq_el0, x0 /* * EL3 initialisation */
diff --git a/system/arm/bootloader/arm64/makefile b/system/arm/bootloader/arm64/makefile index fd5f69f..2112b6e 100644 --- a/system/arm/bootloader/arm64/makefile +++ b/system/arm/bootloader/arm64/makefile
@@ -34,7 +34,7 @@ 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