From: Peng Fan <peng....@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....@nxp.com>
---
 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index d77186b77b4..b633cc9c943 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
          For platforms with ARMv8-A and ARMv7-A which features a system
          counter, those platforms needs software to program the counter
-- 
2.35.1

Reply via email to