[PATCH] Add AMCC Arches 460GT eval board support to platforms/44x

Arnd Bergmann arnd at arndb.de
Thu Jul 17 00:46:01 EST 2008


On Wednesday 16 July 2008, Grant Likely wrote:
> 
> > 
> > And then you don't need this file at all.  Just add a
> > "amcc,canyonlands" string to your root node compatible property.
> 
> No!  Don't do this because it is not true!
> 
> Instead, add your board name to canyonlands.c in canyonlands_probe().
> It's not the most scalable solution, but it keeps you from lying about
> your hardware in the .dts file.
> 
> I'm working on a more scalable solution for this, but for now just add
> your specific board to canyonlands_probe().

Shouldn't it be enough to have a common compatible value in each
of these boards, e.g. "amcc,generic-ppc44x" and then just ignore the
specific type unless you need to do something special?

For all I can tell, bamboo, canyonlands, katmai, rainier, sequoia
and taishan setup is already identical except for their names, while
ebony and Sam440ep are almost the same, except for their RTC device
probing (which should be done in a generic way as well ;-)).

	Arnd <><


More information about the Linuxppc-embedded mailing list