diff options
author | Yuantian Tang <andy.tang@nxp.com> | 2017-10-12 06:18:18 (GMT) |
---|---|---|
committer | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2017-10-13 03:30:28 (GMT) |
commit | aad34220a962b948e39ba5d01cbe90baed849308 (patch) | |
tree | d5ffe662507639c9927ded6748855b0cdd2874f7 | |
parent | 0f0e241cc126eeb4d468eb6c9915fcdaef13a7b3 (diff) | |
download | u-boot-aad34220a962b948e39ba5d01cbe90baed849308.tar.xz |
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 <andy.tang@nxp.com>
-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 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 |