[PATCH v3 04/13] [POWERPC] Add generic support for simple MPC5200 based boards

Grant Likely grant.likely at secretlab.ca
Wed Nov 7 10:25:21 EST 2007


On 11/6/07, Wolfgang Denk <wd at denx.de> wrote:
> Dear Grant,
>
> in message <fa686aa40711061304k4779d01cu7fd1b17d1d34e5a2 at mail.gmail.com> you wrote:
> >
> > In other words; make the assumption that it is easier to change the
> > kernel than it is to change the device tree.
>
> Are you serious about this?
>
> Reading this from someone with your experience with device trees if
> feeding my worst fears...

I think I better clarify.

Once a device tree is written and shipped on a deployed board, it may
never change again.  Or, the kernel version may be updated more
frequently than the device tree.

Say, for example, that in kernel 2.6.25 tqm5200 and cm5200 are both
handled by the same platform code.  And lets say that in 2.6.26 we
decide that they really need to have separate platform code (perhaps
due to a firmware bug that needs to be worked around on one board).
In this case, "mpc5200-simple-platform" has suddenly become useless.
Or, does mpc5200-simple-platform now describe the cm5200 or the
tqm5200?  (an assumption which cannot be made due to deployed boards
of both types claiming "mpc5200-simple-platform").

Trying to claim "compatible" at the board level is far more difficult
than claiming it at the device level.

Segher suggested on IRC: "for boards it is pretty much useless most of
the time, i think -- use "model" instead"

Cheers,
g.



>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> "Text processing has made it possible to right-justify any idea, even
> one which cannot be justified on any other grounds."
>                                                  -- J. Finnegan, USC.
>


-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195



More information about the Linuxppc-dev mailing list