projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
060a1d6
)
ARM: mediatek: enable gpt6 on boot up to make arch timer work on mt7623
author
John Crispin
<blogic@openwrt.org>
Thu, 7 Apr 2016 18:18:35 +0000
(20:18 +0200)
committer
Matthias Brugger
<matthias.bgg@gmail.com>
Wed, 20 Apr 2016 11:58:45 +0000
(13:58 +0200)
GPT6 needs to be enabled on MT7623 for the arch timer to work.
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm/mach-mediatek/mediatek.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-mediatek/mediatek.c
b/arch/arm/mach-mediatek/mediatek.c
index 9c2e38d30f47245f1dfd28eea04a36f5cb2b223b..a6e3c98b95ed436c7470f1ae58d17ba9bec446f5 100644
(file)
--- a/
arch/arm/mach-mediatek/mediatek.c
+++ b/
arch/arm/mach-mediatek/mediatek.c
@@
-29,6
+29,7
@@
static void __init mediatek_timer_init(void)
void __iomem *gpt_base;
if (of_machine_is_compatible("mediatek,mt6589") ||
+ of_machine_is_compatible("mediatek,mt7623") ||
of_machine_is_compatible("mediatek,mt8135") ||
of_machine_is_compatible("mediatek,mt8127")) {
/* turn on GPT6 which ungates arch timer clocks */