Thread (138 messages) flat view 138 messages, 14 authors, 2012-05-24
STALE5191d

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

From: Russell King - ARM Linux <hidden>
Date: 2012-05-21 16:11:31

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help