[PATCH 0/2] ARM: Unify setup for Marvell SheevaPlugs and Seagate DockStars

Nico Erfurth ne at erfurth.eu
Thu Apr 7 05:37:40 EDT 2011


Alexander Holler wrote:

> I wonder how many people believe that either there will be another
> DockStar with the same HW and GPIOs for the LEDs but more memory (and
> still without sata) or that there will be another SheevaPlug with just
> 128MB RAM or that someone could have a reason to change the memory
> layout using a mem= parameter.
> 
> For me all that is pretty unlikely.

As Nicolas stated it's not just about "Oh, thats totally unlikely to
happen!". It is about maintainable code, if somebody looks at it in 3
years they should not think "WTF?!?!". Using machine ids and the
generated macros helps to keep the code clean and readable.

Nico



More information about the linux-arm-kernel mailing list