diff options
| author | Yuantian Tang <[email protected]> | 2017-10-12 14:29:26 +0800 |
|---|---|---|
| committer | York Sun <[email protected]> | 2017-10-27 08:39:49 -0700 |
| commit | b584510f070d8080aec31f143e65dc75962a5aa1 (patch) | |
| tree | 1a051922a1c4331ce6e2183ac90b1b40cd559878 /include | |
| parent | f89072ab92f1b1d06f1e323e4c03d0e9e90084b6 (diff) | |
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 <[email protected]>
Reviewed-by: York Sun <[email protected]>
Diffstat (limited to 'include')
| -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 77bd9308562..d2fa50a8be7 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 |
