[PATCH V2 3/6] arch: arm: Kconfig: set default COUNTER_FREQUENCY for i.MX
Peng Fan (OSS)
peng.fan at oss.nxp.com
Sun Apr 10 10:31:58 CEST 2022
From: Peng Fan <peng.fan at nxp.com>
i.MX6UL/ULL/7D/8QM/8QXP all has system counter frequency run at 8MHz,
so set default value for them.
Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
arch/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index d84c10d732e5..c515abb73ffc 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -23,6 +23,7 @@ config COUNTER_FREQUENCY
int "Timer clock frequency"
depends on ARM64 || CPU_V7A
default 0
+ default 8000000 if IMX8 || MX7 || MX6UL || MX6ULL
help
Setup time clock frequency for certain platform
--
2.25.1
More information about the U-Boot
mailing list