mediatek: update patches
[openwrt/staging/chunkeey.git] / target / linux / mediatek / patches-4.4 / 0012-ARM-mediatek-Add-MT2701-config-options-for-mediatek-.patch
1 From 3b5df542d52b13a1b20d25311fa4c4029a3b83af 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 12/91] 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 diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm/mach-mediatek/Kconfig
18 index aeece17..37dd438 100644
19 --- a/arch/arm/mach-mediatek/Kconfig
20 +++ b/arch/arm/mach-mediatek/Kconfig
21 @@ -9,6 +9,10 @@ menuconfig ARCH_MEDIATEK
22
23 if ARCH_MEDIATEK
24
25 +config MACH_MT2701
26 + bool "MediaTek MT2701 SoCs support"
27 + default ARCH_MEDIATEK
28 +
29 config MACH_MT6589
30 bool "MediaTek MT6589 SoCs support"
31 default ARCH_MEDIATEK
32 --
33 1.7.10.4
34