[PATCH 2/8] arm: mach-armada: add source files

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue May 15 05:17:57 EDT 2012


Hello Andrew,

Thanks for the quick feedback!

Le Tue, 15 May 2012 11:12:18 +0200,
Andrew Lunn <andrew at lunn.ch> a écrit :

> > +/include/ "armada.dtsi"
> > +
> > +/ {
> > +	model = "Marvell Armada 370 family SoC";
> > +	compatible = "marvell,armada370", "marvell,armada";
> 
> It should be mrvl, not marvell, in all the compatibility strings.

Ok, we will change that.

> Also, we need to be careful with armada. kirkwood is an armada for
> example. It maybe be better to not actually use armada without
> postfix.

Do you have a recommendation for this? We support both Armada 370 and
Armada XP, so the obvious common prefix for these two platforms is
"armada". Since kirkwood are ARMv5 and those new Armada are ARMv7,
would armadav7 be a better prefix? Then we could have armadav7-370 and
armadav7-xp? Other suggestions?

> This chunk of code comes up multiple times in various orion
> devices. Could it be refactored into plat-orion?

Probably yes. However, the register definitions are different between
the different devices.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the linux-arm-kernel mailing list