linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [linux-sunxi] [PATCH 1/2] ARM: sunxi: Split the various SoCs support in Kconfig
Date: Mon, 28 Apr 2014 15:43:37 -0700	[thread overview]
Message-ID: <20140428224337.GL3134@lukather> (raw)
In-Reply-To: <CAOesGMiYRwmBnynw8dg6hBWens4_ncbvE2wN5rnJoW5DV_YB5g@mail.gmail.com>

On Mon, Apr 28, 2014 at 10:02:40AM -0700, Olof Johansson wrote:
> Hi,
> 
> On Sat, Apr 26, 2014 at 9:16 AM, Maxime Ripard
> <maxime.ripard@free-electrons.com> wrote:
> > This will allow to better isolate various options, and reduce the overall
> > kernel size if we're interested in only one of the SoCs.
> >
> > Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> > ---
> >  arch/arm/mach-sunxi/Kconfig | 35 +++++++++++++++++++++++++++++------
> >  1 file changed, 29 insertions(+), 6 deletions(-)
> >
> > diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
> > index b57d7d53b9d3..23575010ff49 100644
> > --- a/arch/arm/mach-sunxi/Kconfig
> > +++ b/arch/arm/mach-sunxi/Kconfig
> > @@ -1,14 +1,37 @@
> >  config ARCH_SUNXI
> > -       bool "Allwinner A1X SOCs" if ARCH_MULTI_V7
> > -       select ARCH_HAS_RESET_CONTROLLER
> > +       bool "Allwinner SoCs" if ARCH_MULTI_V7
> >         select ARCH_REQUIRE_GPIOLIB
> > -       select ARM_GIC
> > -       select ARM_PSCI
> >         select CLKSRC_MMIO
> >         select GENERIC_IRQ_CHIP
> > -       select HAVE_ARM_ARCH_TIMER
> >         select PINCTRL
> >         select PINCTRL_SUNXI
> > -       select RESET_CONTROLLER
> >         select SUN4I_TIMER
> > +
> > +if ARCH_SUNXI
> > +
> > +menu "Allwinner SoCs variants"
> > +
> > +config MACH_SUN4I
> > +       bool "Allwinner A10 (sun4i) SoCs support"
> 
> If you add "default MACH_SUNXI" then you don't have to churn the
> defconfigs, but it'll still make it possible for people to turn it
> off.

Right, thanks!

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140428/7c83757b/attachment.sig>

  reply	other threads:[~2014-04-28 22:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-26 16:16 [PATCH 0/2] ARM: sunxi: Split Kconfig entries Maxime Ripard
2014-04-26 16:16 ` [PATCH 1/2] ARM: sunxi: Split the various SoCs support in Kconfig Maxime Ripard
2014-04-28 17:02   ` [linux-sunxi] " Olof Johansson
2014-04-28 22:43     ` Maxime Ripard [this message]
2014-04-28 18:07   ` Arnd Bergmann
2014-04-28 22:45     ` Maxime Ripard
2014-04-26 16:16 ` [PATCH 2/2] ARM: Enable the new Allwinner SoCs support options Maxime Ripard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140428224337.GL3134@lukather \
    --to=maxime.ripard@free-electrons.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).