summaryrefslogtreecommitdiff
path: root/include/configs/mx6_common.h
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2016-03-14 17:52:12 +0800
committerYe Li <ye.li@nxp.com>2017-04-05 14:04:34 +0800
commit8503bcf92a07b212a0f25b9650bd90aedf0b2039 (patch)
treeb845a72d1b152c2ad8b67dea8478174ec8893a6d /include/configs/mx6_common.h
parent586f2004644f441820cff256f3db0530fcb6404d (diff)
MLK-12557 mx6ul: Enable syscounter as default timer
Use syscounter for i.MX6UL platform as default timer, not use GPT. Add a CONFIG_GPT_TIMER for selecting GPT. Using CONFIG_SYSCOUNTER_TIMER for selecting system counter. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 1c27c9ecf80b3cc63a7c9751ebfd11755f847b1d)
Diffstat (limited to 'include/configs/mx6_common.h')
-rw-r--r--include/configs/mx6_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h
index afe9b9340e..20953d12cb 100644
--- a/include/configs/mx6_common.h
+++ b/include/configs/mx6_common.h
@@ -14,6 +14,10 @@
#endif
#define CONFIG_MP
+#define CONFIG_GPT_TIMER
+#else
+#define CONFIG_SYSCOUNTER_TIMER
+#define CONFIG_SC_TIMER_CLK 8000000 /* 8Mhz */
#endif
#define CONFIG_BOARD_POSTCLK_INIT
#define CONFIG_MXC_GPT_HCLK