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

Mike Frysinger vapier at gentoo.org
Thu Oct 20 03:31:32 CEST 2011


On Wednesday 19 October 2011 20:23:15 Moffett, Kyle D wrote:
> 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.

what's wrong with an unbounded amount of time ?  if the user wants it to 
reset, then it should do so regardless of how long.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111019/3fa96c65/attachment.pgp 


More information about the U-Boot mailing list