* [U-Boot] [PATCH v2] armv8: configs: ls1012a: correct the generic timer frequency issue
@ 2017-10-12 6:29 andy.tang at nxp.com
2017-10-30 18:32 ` York Sun
0 siblings, 1 reply; 2+ messages in thread
From: andy.tang at nxp.com @ 2017-10-12 6:29 UTC (permalink / raw)
To: u-boot
From: Yuantian Tang <andy.tang@nxp.com>
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>
---
v2:
- refine the commit message
include/configs/ls1012a_common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h
index 096799eb64..a4e78f335f 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
--
2.14.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH v2] armv8: configs: ls1012a: correct the generic timer frequency issue
2017-10-12 6:29 [U-Boot] [PATCH v2] armv8: configs: ls1012a: correct the generic timer frequency issue andy.tang at nxp.com
@ 2017-10-30 18:32 ` York Sun
0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2017-10-30 18:32 UTC (permalink / raw)
To: u-boot
On 10/11/2017 11:47 PM, andy.tang at nxp.com wrote:
> From: Yuantian Tang <andy.tang@nxp.com>
>
> 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>
> ---
> v2:
> - refine the commit message
Minor change to commit message.
Applied to fsl-qoriq master. Thanks.
York
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-30 18:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-12 6:29 [U-Boot] [PATCH v2] armv8: configs: ls1012a: correct the generic timer frequency issue andy.tang at nxp.com
2017-10-30 18:32 ` York Sun
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.