[PATCH] add restart function for mpc52xx

Grant Likely grant.likely at secretlab.ca
Fri Jan 12 03:20:40 EST 2007


On 1/11/07, Grant Likely <grant.likely at secretlab.ca> wrote:
> On 1/11/07, Sascha Hauer <s.hauer at pengutronix.de> wrote:
> > BTW the watchdog timer is only implemented for gpt0. Is it guaranteed
> > that I get gpt0 with mpc52xx_find_and_map("mpc52xx-gpt")? As long as
> > all flat trees start with gpt0 I guess yes.
>
> No, you cannot make this assumption.  There are no guarantees on order
> that nodes are found.

Sylvain and I just discussed this a bit.  Since gpt0 is different (has
the watchdog bits) it should have a compatible property that reflects
it.  We're thinking about adding "mpc52xx-wdt" to the compatible list
for gpt0.

Cheers,
g.

-- 
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