summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndre Przywara <[email protected]>2020-06-11 12:03:15 +0100
committerTom Rini <[email protected]>2020-07-07 18:23:48 -0400
commit220b590d5f9f57bfd87f6f95302e286544439a99 (patch)
treec0de2040da1d9deaa508c33c6a7dc5cceb743bf9 /include
parent22a4e006be52fbd5249f46c36c4d8016c15b9fa7 (diff)
arm: vexpress64: Fix counter frequency
The arch timer on 64-bit Arm Ltd. platforms is driven by a 24 MHz crystal oscillator, so the frequency is not 25165824 MHz, as the current code suggests. Signed-off-by: Andre Przywara <[email protected]> Reviewed-by: Linus Walleij <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/vexpress_aemv8a.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/vexpress_aemv8a.h b/include/configs/vexpress_aemv8a.h
index 09cdd3dab5b..e63c335f857 100644
--- a/include/configs/vexpress_aemv8a.h
+++ b/include/configs/vexpress_aemv8a.h
@@ -68,7 +68,7 @@
#define V2M_SYS_CFGSTAT (V2M_SYSREGS + 0x0a8)
/* Generic Timer Definitions */
-#define COUNTER_FREQUENCY (0x1800000) /* 24MHz */
+#define COUNTER_FREQUENCY 24000000 /* 24MHz */
/* Generic Interrupt Controller Definitions */
#ifdef CONFIG_GICV3