From: Yuantian Tang Date: Thu, 12 Oct 2017 06:29:26 +0000 (+0800) Subject: armv8: configs: ls1012a: correct the generic timer frequency X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=b584510f070d8080aec31f143e65dc75962a5aa1;p=u-boot.git armv8: configs: ls1012a: correct the generic timer frequency On ls1012a soc, core clock source frequency is fixed at 100Mhz. Generic timer frequency is core clock source divided by 4, which is 25Mhz. Signed-off-by: Tang Yuantian Reviewed-by: York Sun --- diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h index 77bd930856..d2fa50a8be 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