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

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

From: andrew@lunn.ch (Andrew Lunn)
Date: 2012-05-21 17:27:34

On Mon, May 21, 2012 at 11:39:22AM -0400, Jason Cooper wrote:
On Mon, May 21, 2012 at 11:40:52AM +0200, Andrew Lunn wrote:
quoted
quoted
Personally, my view is leave it alone and just add a new machine
directory.
I agree, see my response to Russell.
quoted
quoted
Pushing items around doesn't really help the amount of code in the
kernel, the organisation does not add more than a line or two to the
Makefiles.
It does however make it easier to see where the same code has been
cut/paste. There is some stuff in the various Orion mach- directories
which is repeated 4 times. The Armada XP port wanted to add a 5th
copy. All this repeated code needs to be put into plat-orion.
Does my suggested layout/migration path cover your concerns?
I actually like Arnd patch of putting everything into one
directory. I've been building on that patch removing duplicate code,
modifying the address map to make it as similar as possible, removing
defines which are the same on all SoCs etc. I think actually having
everything spread out is what has contributed to the X copies and
needless incompatibilities.

My vote is to commit Arnd patch as is.

   Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help