[PATCH] arm: Add basic support for new Marvell Armada SoC family

Russell King - ARM Linux linux at arm.linux.org.uk
Sun May 20 05:55:02 EDT 2012


On Sat, May 19, 2012 at 08:45:03PM -0400, Nicolas Pitre wrote:
> On Sat, 19 May 2012, Arnd Bergmann wrote:
> 
> > On Saturday 19 May 2012, Jason Cooper wrote:
> > > > Board files in mach-mvebu and the rest in plat-mvebu.  That would match 
> > > > the spirit of the current split between mach-* and plat-*.
> > > 
> > > Took the words right out of my mouth.  Once DT conversions are complete,
> > > mach-*/ would either go away, or hold legacy non-DT boards.
> > > 
> > > On a side note, I also like this because it would make converting old
> > > board files like sheevaplug and guruplug to DT easier.  The legacy
> > > implementation would be in mach-mvebu/ and the DT implementation would
> > > be in plat-mvebu/.  Newcomers to the code would see a clearly defined
> > > separation.
> > 
> > With that layout, where do the mach/* headers go?
> 
> I think arch/arm/plat-mvvebu/include/mach/* could work.

And try to avoid putting anything in the include/mach/ directory which
isn't needed by any code outside of arch/arm/{plat,mach}-* directory.

In other words, headers needed only for code in arch/arm/plat-mvvebu/
should be in that very same directory.



More information about the linux-arm-kernel mailing list