c2b91edf51f6c868ef00f33b3058685b4df354c9
[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/81] 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 @@ -9,6 +9,10 @@ menuconfig ARCH_MEDIATEK
20
21 if 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