projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aff3756
)
imx-common: timer: support i.MX6DQPlus
author
Peng Fan
<van.freenix@gmail.com>
Mon, 23 May 2016 10:36:01 +0000
(18:36 +0800)
committer
Stefano Babic
<sbabic@denx.de>
Tue, 24 May 2016 12:59:56 +0000
(14:59 +0200)
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>
arch/arm/imx-common/timer.c
patch
|
blob
|
history
diff --git
a/arch/arm/imx-common/timer.c
b/arch/arm/imx-common/timer.c
index bea17f2c6b512030217a7b1e7180f0c8d972ce43..a01590ced2261c28d3ad9d02505eb7d6a9f58f70 100644
(file)
--- 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_mx6
dqp() || is_mx6
sdl() || is_mx6sx() || is_mx6ul())
return 1;
return 0;