]> git.sur5r.net Git - u-boot/commitdiff
armv8: configs: ls1012a: correct the generic timer frequency
authorYuantian Tang <andy.tang@nxp.com>
Thu, 12 Oct 2017 06:29:26 +0000 (14:29 +0800)
committerYork Sun <york.sun@nxp.com>
Fri, 27 Oct 2017 15:39:49 +0000 (08:39 -0700)
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 <andy.tang@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
include/configs/ls1012a_common.h

index 77bd9308562d1f23f63fd837395bc1ab24cb3f85..d2fa50a8be752956a54de7a91615f1f9c40dd6f9 100644 (file)
@@ -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