[U-Boot] [PATCH 2/3] mpc85xx: Add a board-specific restart hook

Moffett, Kyle D Kyle.D.Moffett at boeing.com
Thu Oct 20 02:23:15 CEST 2011


On Oct 19, 2011, at 20:15, Mike Frysinger wrote:
> On Wednesday 19 October 2011 18:52:10 Moffett, Kyle D wrote:
>> So U-Boot MUST NOT reset without negotiating, even if the current CPU has
>> crashed, as that will cause the other (possibly perfectly operational) CPU
>> to also crash.
> 
> so why can't you have your do_reset() board hook negotiate with the other CPU 
> to reset the system ?

That's what I originally implemented.  The problem is the negotiation can take
an unbounded amount of time to execute, so if it's run from the command line
then it needs to be interruptible (EG: with Ctrl-C), which means it needs to
be able to return an error.

I can see if I can come up with yet another possible alternative, but I'd like
to try to get the less-controversial patches (especially the GPIO header and
the e1000 ones) merged first.

Cheers,
Kyle Moffett

--
Curious about my work on the Debian powerpcspe port?
I'm keeping a blog here: http://pureperl.blogspot.com/



More information about the U-Boot mailing list