kernel: update kernel 4.4 to version 4.4.9
[openwrt/openwrt.git] / target / linux / mediatek / patches-4.4 / 0064-arm-mediatek-make-a7-timer-work.patch
1 From 6eeadfb48dc5e73dae115fc0be9416e3d5fed84d Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Thu, 31 Mar 2016 06:07:01 +0200
4 Subject: [PATCH 64/91] arm: mediatek: make a7 timer work Signed-off-by: John
5 Crispin <blogic@openwrt.org>
6
7 ---
8 arch/arm/mach-mediatek/Kconfig | 1 +
9 arch/arm/mach-mediatek/mediatek.c | 1 +
10 2 files changed, 2 insertions(+)
11
12 --- a/arch/arm/mach-mediatek/Kconfig
13 +++ b/arch/arm/mach-mediatek/Kconfig
14 @@ -24,6 +24,7 @@ config MACH_MT6592
15 config MACH_MT7623
16 bool "MediaTek MT7623 SoCs support"
17 default ARCH_MEDIATEK
18 + select HAVE_ARM_ARCH_TIMER
19 select MIGHT_HAVE_PCI
20
21 config MACH_MT8127
22 --- a/arch/arm/mach-mediatek/mediatek.c
23 +++ b/arch/arm/mach-mediatek/mediatek.c
24 @@ -29,6 +29,7 @@ static void __init mediatek_timer_init(v
25 void __iomem *gpt_base;
26
27 if (of_machine_is_compatible("mediatek,mt6589") ||
28 + of_machine_is_compatible("mediatek,mt7623") ||
29 of_machine_is_compatible("mediatek,mt8135") ||
30 of_machine_is_compatible("mediatek,mt8127")) {
31 /* turn on GPT6 which ungates arch timer clocks */