[PATCH v2] cmd: add a panic command

Tom Rini trini at konsulko.com
Thu Jul 9 02:24:22 CEST 2020


On Tue, Jun 30, 2020 at 01:05:45AM +0200, Heiko Stuebner wrote:

> From: Heiko Stuebner <heiko.stuebner at theobroma-systems.com>
> 
> Even in boot scripts it may be needed to "panic" when all options
> are exhausted and the device specification specifies hanging
> instead of resetting the board.
> 
> So add a new panic command that just wraps around the core panic
> call in U-Boot and can take an optional message.
> 
> Signed-off-by: Heiko Stuebner <heiko.stuebner at theobroma-systems.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200708/412ad3ce/attachment.sig>


More information about the U-Boot mailing list