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

Wolfgang Denk wd at denx.de
Thu Oct 20 16:02:20 CEST 2011


Dear "Moffett, Kyle D",

In message <8B4AC84D-1F22-4326-B75A-FB3CC39A5CF7 at boeing.com> you wrote:
>
> By that definition, my board cannot safely use U-Boot's "reset" command.

You can call halt() or panic() as last stage of your reset
implementation.


Heh. Mike writes the same ;-)

> 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().

This is not acceptable, as changes behaviour: panic() will halt the
system, not reset it.

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
Actual war is a very messy business. Very, very messy business.
	-- Kirk, "A Taste of Armageddon", stardate 3193.0


More information about the U-Boot mailing list