summaryrefslogtreecommitdiffstats
path: root/arch/arm/imx-common
diff options
context:
space:
mode:
authorPeng Fan <van.freenix@gmail.com>2016-05-23 18:36:01 +0800
committerStefano Babic <sbabic@denx.de>2016-05-24 14:59:56 +0200
commit492d60ac79aba67e8b9e98b251e3996746e58d60 (patch)
treeb894174d957e747ec0e6b9711dbcddf955828309 /arch/arm/imx-common
parentaff3756104544ed1bb45835db4a7824fece8709e (diff)
downloadtalos-obmc-uboot-492d60ac79aba67e8b9e98b251e3996746e58d60.tar.gz
talos-obmc-uboot-492d60ac79aba67e8b9e98b251e3996746e58d60.zip
imx-common: timer: support i.MX6DQPlus
To i.MX6DQPlus, osc can be choosed as the source of gpt, so add i.MX6DQPlus support in gpt_has_clk_source_osc. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/imx-common')
-rw-r--r--arch/arm/imx-common/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/imx-common/timer.c b/arch/arm/imx-common/timer.c
index bea17f2c6b..a01590ced2 100644
--- a/arch/arm/imx-common/timer.c
+++ b/arch/arm/imx-common/timer.c
@@ -44,7 +44,7 @@ static inline int gpt_has_clk_source_osc(void)
{
#if defined(CONFIG_MX6)
if (((is_mx6dq()) && (soc_rev() > CHIP_REV_1_0)) ||
- is_mx6sdl() || is_mx6sx() || is_mx6ul())
+ is_mx6dqp() || is_mx6sdl() || is_mx6sx() || is_mx6ul())
return 1;
return 0;
OpenPOWER on IntegriCloud