[U-Boot] [PATCH 1/1] lib, panic: don't call do_reset in SPL (debug).

Wolfgang Denk wd at denx.de
Sun Sep 2 19:03:48 CEST 2012


Dear Tom Rini,

In message <5037D648.1050808 at ti.com> you wrote:
> 
> And no need to not include command.h I think.  This makes it clear that
> a panic results in hang in SPL so that in the future, should someone
> depend on other behavior it's at least saying why we aren't resetting
> which is my concern.

I think a panic should always reset by default.  hang() is something
the user has explicitly ask for, it should not be used as the default
case.

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
We, the unwilling, led by the unknowing, are doing the impossible for
the ungrateful. We have done so much, for so long, with so little, we
are now qualified to do anything with nothing.


More information about the U-Boot mailing list