kernel: bump 4.9 to 4.9.57
[openwrt/openwrt.git] / target / linux / mediatek / patches-4.9 / 0007-ARM-mediatek-Add-MT2701-config-options-for-mediatek-.patch
1 From 60c14df3cc898b6b03d66ec725f9705bf431b677 Mon Sep 17 00:00:00 2001
2 From: Erin Lo <erin.lo@mediatek.com>
3 Date: Mon, 28 Dec 2015 15:09:02 +0800
4 Subject: [PATCH 07/57] ARM: mediatek: Add MT2701 config options for mediatek
5 SoCs.
6
7 The upcoming MTK pinctrl driver have a big pin table for each SoC
8 and we don't want to bloat the kernel binary if we don't need it.
9 Add config options so we can build for one SoC only. Add MT2701.
10
11 Signed-off-by: Erin Lo <erin.lo@mediatek.com>
12 Acked-by: Linus Walleij <linus.walleij@linaro.org>
13 ---
14 arch/arm/mach-mediatek/Kconfig | 4 ++++
15 1 file changed, 4 insertions(+)
16
17 --- a/arch/arm/mach-mediatek/Kconfig
18 +++ b/arch/arm/mach-mediatek/Kconfig
19 @@ -14,6 +14,10 @@ config MACH_MT2701
20 bool "MediaTek MT2701 SoCs support"
21 default ARCH_MEDIATEK
22
23 +config MACH_MT2701
24 + bool "MediaTek MT2701 SoCs support"
25 + default ARCH_MEDIATEK
26 +
27 config MACH_MT6589
28 bool "MediaTek MT6589 SoCs support"
29 default ARCH_MEDIATEK