diff options
author | Ye Li <ye.li@nxp.com> | 2016-03-14 17:52:12 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-04-05 14:04:34 +0800 |
commit | 8503bcf92a07b212a0f25b9650bd90aedf0b2039 (patch) | |
tree | b845a72d1b152c2ad8b67dea8478174ec8893a6d /include/configs | |
parent | 586f2004644f441820cff256f3db0530fcb6404d (diff) | |
download | u-boot-imx-8503bcf92a07b212a0f25b9650bd90aedf0b2039.zip u-boot-imx-8503bcf92a07b212a0f25b9650bd90aedf0b2039.tar.gz u-boot-imx-8503bcf92a07b212a0f25b9650bd90aedf0b2039.tar.bz2 |
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')
-rw-r--r-- | include/configs/mx6_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h index afe9b93..20953d1 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 |