[U-Boot] [PATCH 6/9] Hang when no command line processing can be performed

Tom Rini trini at konsulko.com
Fri Feb 26 18:45:08 CET 2016


On Fri, Feb 26, 2016 at 10:31:36AM -0700, Simon Glass wrote:
> Hi Tom,
> 
> On 26 February 2016 at 10:17, Tom Rini <trini at konsulko.com> wrote:
> > On Thu, Feb 25, 2016 at 09:00:53PM -0700, Simon Glass wrote:
> >
> >> Normally board_run_command() will handle command processed. But if for some
> >> reason it returns then we should hang to avoid further processing.
> >>
> >> Signed-off-by: Simon Glass <sjg at chromium.org>
> >
> > Reviewed-by: Tom Rini <trini at konsulko.com>
> >
> > ... but can we maybe try and force this to happen as an experiment and
> > see if panic here?
> 
> Yes this comes up with sandbox when the option is enabled.

Sorry, I mean that instead of hang() we call panic("..something") ?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160226/5afd343b/attachment.sig>


More information about the U-Boot mailing list