From aad34220a962b948e39ba5d01cbe90baed849308 Mon Sep 17 00:00:00 2001 From: Yuantian Tang Date: Thu, 12 Oct 2017 14:18:18 +0800 Subject: armv8: configs: ls1012a: correct the generic timer frequency issue On ls1012a soc, core clock source frequency is 100Mhz. Generic timer frequency is derived from core clock source divided by 4, which is 25Mhz. So assign timer frequency to 25Mhz here. Signed-off-by: Tang Yuantian diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h index 3df5586..ae4e5f8 100644 --- a/include/configs/ls1012a_common.h +++ b/include/configs/ls1012a_common.h @@ -32,7 +32,7 @@ #define CONFIG_SYS_DDR_BLOCK2_BASE 0x880000000ULL /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY CONFIG_SYS_CLK_FREQ/4 /* 25MHz */ +#define COUNTER_FREQUENCY 25000000 /* 25MHz */ /* CSU */ #define CONFIG_LAYERSCAPE_NS_ACCESS -- cgit v0.10.2