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

Moffett, Kyle D Kyle.D.Moffett at boeing.com
Wed Oct 19 23:05:12 CEST 2011


On Oct 19, 2011, at 16:35, Wolfgang Denk wrote:
> Dear "Moffett, Kyle D",
> 
> In message <7C2673D7-CC5C-490C-9809-06C9A207154F at boeing.com> you wrote:
>> 
>> Since "reset" is basically just like any other U-Boot shell command,
> 
> No, it ain't.
> 
>> (except with some side-effects) it seems reasonable to allow a board
>> handler to return an error instead of resetting.
> 
> No.  Reset will never return.  It is supposed to hard reset the board,
> which means crossing the point of no return.

Ok.

By that definition, my board cannot safely use U-Boot's "reset" command.

Would you accept a patch which makes it possible for a board to not
implement a "reset" command at all?

There are a few places in common/cmd_bootm.c which are converted to use
panic("...") instead of printf("...")+do_reset().

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