]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: mediatek: Add config options for mediatek SoCs.
authorYingjoe Chen <yingjoe.chen@mediatek.com>
Tue, 16 Dec 2014 23:34:29 +0000 (07:34 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Tue, 20 Jan 2015 16:49:10 +0000 (17:49 +0100)
The upcoming MTK pinctrl driver have a big pin table for each SoC
and we don't want to bloat the kernel binary if we don't need it.
Add config options so we can build for one SoC only.

Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
Signed-off-by: Hongzhou Yang <hongzhou.yang@mediatek.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm/mach-mediatek/Kconfig

index f73f588f649cdc7ea3f1cee5e2ed50d334dc575b..f7e463ca02877a77e956fa7e788f40779139896d 100644 (file)
@@ -1,6 +1,26 @@
-config ARCH_MEDIATEK
+menuconfig ARCH_MEDIATEK
        bool "Mediatek MT65xx & MT81xx SoC" if ARCH_MULTI_V7
        select ARM_GIC
        select MTK_TIMER
        help
          Support for Mediatek MT65xx & MT81xx SoCs
+
+if ARCH_MEDIATEK
+
+config MACH_MT6589
+       bool "MediaTek MT6589 SoCs support"
+       default ARCH_MEDIATEK
+
+config MACH_MT6592
+       bool "MediaTek MT6592 SoCs support"
+       default ARCH_MEDIATEK
+
+config MACH_MT8127
+       bool "MediaTek MT8127 SoCs support"
+       default ARCH_MEDIATEK
+
+config MACH_MT8135
+       bool "MediaTek MT8135 SoCs support"
+       default ARCH_MEDIATEK
+
+endif