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

2012-09-02 Thread Wolfgang Denk
Dear Tom Rini, In message <5037d648.1050...@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 c

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

2012-08-24 Thread Tom Rini
On 08/14/2012 01:40 PM, Jeroen Hofstee wrote: > Several omap boards won't build when DEBUG is defined, SPL build error: > "vsprintf.c:791: undefined reference to `do_reset'", since SPL has no > commands. Therefore don't call do_reset in SPL. SPL panic will end in an > endless loop or call hang if

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

2012-08-17 Thread Stefano Babic
On 15/08/2012 19:11, Tom Rini wrote: > On Tue, Aug 14, 2012 at 10:40:50PM +0200, Jeroen Hofstee wrote: > >> Several omap boards won't build when DEBUG is defined, SPL build error: >> "vsprintf.c:791: undefined reference to `do_reset'", since SPL has no >> commands. Therefore don't call do_reset in

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

2012-08-15 Thread Tom Rini
On Tue, Aug 14, 2012 at 10:40:50PM +0200, Jeroen Hofstee wrote: > Several omap boards won't build when DEBUG is defined, SPL build error: > "vsprintf.c:791: undefined reference to `do_reset'", since SPL has no > commands. Therefore don't call do_reset in SPL. SPL panic will end in an > endless loo

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

2012-08-14 Thread Jeroen Hofstee
Several omap boards won't build when DEBUG is defined, SPL build error: "vsprintf.c:791: undefined reference to `do_reset'", since SPL has no commands. Therefore don't call do_reset in SPL. SPL panic will end in an endless loop or call hang if CONFIG_PANIC_HANG is defined. cc: Tom Rini Signed-of