diff options
author | Andre Przywara <andre.przywara@arm.com> | 2020-06-11 12:03:15 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-07-07 18:23:48 -0400 |
commit | 220b590d5f9f57bfd87f6f95302e286544439a99 (patch) | |
tree | c0de2040da1d9deaa508c33c6a7dc5cceb743bf9 /include | |
parent | 22a4e006be52fbd5249f46c36c4d8016c15b9fa7 (diff) | |
download | u-boot-220b590d5f9f57bfd87f6f95302e286544439a99.zip u-boot-220b590d5f9f57bfd87f6f95302e286544439a99.tar.gz u-boot-220b590d5f9f57bfd87f6f95302e286544439a99.tar.bz2 |
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 <andre.przywara@arm.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/vexpress_aemv8a.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/vexpress_aemv8a.h b/include/configs/vexpress_aemv8a.h index 09cdd3d..e63c335 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 |