Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752076AbaJVNSh (ORCPT ); Wed, 22 Oct 2014 09:18:37 -0400 Received: from mail-la0-f47.google.com ([209.85.215.47]:49857 "EHLO mail-la0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750842AbaJVNSe (ORCPT ); Wed, 22 Oct 2014 09:18:34 -0400 MIME-Version: 1.0 In-Reply-To: <1413973797-17619-9-git-send-email-yingjoe.chen@mediatek.com> References: <1413973797-17619-1-git-send-email-yingjoe.chen@mediatek.com> <1413973797-17619-9-git-send-email-yingjoe.chen@mediatek.com> Date: Wed, 22 Oct 2014 15:18:33 +0200 Message-ID: Subject: Re: [PATCH v4 8/8] ARM: mediatek: Add config option for mediatek SoCs. From: Matthias Brugger To: "Joe.C" Cc: Rob Herring , arm@kernel.org, Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Olof Johansson , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , srv_heupstream , Yingjoe Chen , Hsien-Chun Yen , huang eddie , Nathan Chung , Yuhau Chen , Sascha Hauer Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2014-10-22 12:29 GMT+02:00 Joe.C : > From: "Joe.C" > > Add config options for ARCH_MT6589, ARCH_MT8127, ARCH_MT8135. The > upcoming pinctrl, clk drivers need to isolate SoCs 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 MACH_MTxxxx are not used nowhere, please remove them. > -- > 1.8.1.1.dirty > -- motzblog.wordpress.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/