Building for MMU-less vexpress targets

Nicolas Pitre nico at fluxnic.net
Tue Jan 8 14:22:04 EST 2013


On Tue, 8 Jan 2013, Arnd Bergmann wrote:

> On Tuesday 08 January 2013, Jonathan Austin wrote:
> > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> > index 335e220..0561d87 100644
> > --- a/arch/arm/Kconfig
> > +++ b/arch/arm/Kconfig
> > @@ -305,6 +305,11 @@ config ARCH_REALVIEW
> >          help
> >            This enables support for ARM Ltd RealView boards.
> > 
> > +config ARCH_VEXPRESS_NOMMU
> > +       bool "ARM Ltd. Versatile Express family (nommu)"
> > +       depends on !MMU
> > +       select ARCH_VEXPRESS
> > +
> >   config ARCH_VERSATILE
> >          bool "ARM Ltd. Versatile family"
> >          select ARCH_WANT_OPTIONAL_GPIOLIB
> > ---->8----
> 
> Yes, I think this is the right approach.
> 
> > With the other perhaps being to merge the ARCH_VEXPRESS option back in 
> > to the 'choice' and create a ARCH_VEXPRESS_MULTI elsewhere...
> 
> That would needlessly break 'make oldconfig' for people that have
> CONFIG_ARCH_VEXPRESS in their .config files or other scripts.
> 
> > Is that the sort of thing you had in mind, or is there another way 
> > around that I'm missing?
> 
> I think it's good.
> 
> Acked-by: Arnd Bergmann <arnd at arndb.de>

Looks fine to me too.  Perhaps the vexpress option would logically fit 
better if located after versatile instead of being in the middle of 
realview and versatile.

Other than that:

Acked-by: Nicolas Pitre <nico at linaro.org>


Nicolas



More information about the linux-arm-kernel mailing list