mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
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>
This commit is contained in:
@@ -68,7 +68,7 @@
|
|||||||
#define V2M_SYS_CFGSTAT (V2M_SYSREGS + 0x0a8)
|
#define V2M_SYS_CFGSTAT (V2M_SYSREGS + 0x0a8)
|
||||||
|
|
||||||
/* Generic Timer Definitions */
|
/* Generic Timer Definitions */
|
||||||
#define COUNTER_FREQUENCY (0x1800000) /* 24MHz */
|
#define COUNTER_FREQUENCY 24000000 /* 24MHz */
|
||||||
|
|
||||||
/* Generic Interrupt Controller Definitions */
|
/* Generic Interrupt Controller Definitions */
|
||||||
#ifdef CONFIG_GICV3
|
#ifdef CONFIG_GICV3
|
||||||
|
Reference in New Issue
Block a user