diff options
author | Yuantian Tang <andy.tang@nxp.com> | 2017-10-12 14:29:26 +0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2017-10-27 08:39:49 -0700 |
commit | b584510f070d8080aec31f143e65dc75962a5aa1 (patch) | |
tree | 1a051922a1c4331ce6e2183ac90b1b40cd559878 /include/configs/ls1012a_common.h | |
parent | f89072ab92f1b1d06f1e323e4c03d0e9e90084b6 (diff) | |
download | u-boot-b584510f070d8080aec31f143e65dc75962a5aa1.tar.gz |
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 <andy.tang@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/configs/ls1012a_common.h')
-rw-r--r-- | include/configs/ls1012a_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |