From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hongzhou.Yang Subject: [PATCH v2 1/4] arm: mediatek: Add config option for mediatek SoCs. Date: Tue, 23 Sep 2014 11:39:02 +0800 Message-ID: <1411443545-24951-2-git-send-email-srv_hongzhou.yang@mediatek.com> References: <1411443545-24951-1-git-send-email-srv_hongzhou.yang@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1411443545-24951-1-git-send-email-srv_hongzhou.yang@mediatek.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Rob Herring , Linus Walleij , Matthias Brugger Cc: Mark Rutland , devicetree@vger.kernel.org, Vladimir Murzin , Russell King , srv_heupstream@mediatek.com, Pawel Moll , Ian Campbell , Hongzhou Yang , Catalin Marinas , linux-kernel@vger.kernel.org, Ashwin Chaugule , Sascha Hauer , Kumar Gala , Grant Likely , "Joe.C" , dandan.he@mediatek.com, linux-arm-kernel@lists.infradead.org List-Id: devicetree@vger.kernel.org From: "Joe.C" Add config options for ARCH_MT6589, ARCH_MT8127, ARCH_MT8135. This allow drivers to isolate support base on these options. Signed-off-by: Joe.C --- arch/arm/mach-mediatek/Kconfig | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm/mach-mediatek/Kconfig index 2c043a2..25fe6cf 100644 --- a/arch/arm/mach-mediatek/Kconfig +++ b/arch/arm/mach-mediatek/Kconfig @@ -1,6 +1,22 @@ -config ARCH_MEDIATEK - bool "Mediatek MT6589 SoC" if ARCH_MULTI_V7 +menuconfig ARCH_MEDIATEK + bool "Mediatek MT65xx & MT81xx SoC" if ARCH_MULTI_V7 select ARM_GIC select MTK_TIMER help - Support for Mediatek Cortex-A7 Quad-Core-SoC MT6589. + Support for Mediatek MT65xx & MT81xx SoCs + +if ARCH_MEDIATEK + +config MACH_MT6589 + bool "MediaTek MT6589 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 -- 1.8.1.1.dirty