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

Russell King - ARM Linux linux at arm.linux.org.uk
Mon May 21 12:11:31 EDT 2012


On Mon, May 21, 2012 at 11:35:59AM -0400, Jason Cooper wrote:
> mach-mvebu/'s directory tree structure could be:
> 	include/	# no headers
> 	include/mach/	# headers used by drivers, etc
> 	include/board/	# common headers used by legacy board files
> 	board/		# common source code for legacy board files
> 
> The end goal being to empty and remove the board/'s and remove the other
> mach-*/ directories.

Looking at what's in dove, kirkwood, mv78xx0 and orion5x directories,
I don't see many board specific files.  The only two I can see are
leds-*.h, which are shared with platform drivers in drivers/leds.

We have a place for this already - include/linux/platform_data.

So I don't think we need include/board/ at all.

I'd also suggest going against our current setup of not having "board/"
subdirectories in mach-*.  Just name them board-foo.c.



More information about the linux-arm-kernel mailing list