From: Tom Rini Date: Wed, 8 Jul 2020 20:24:22 -0400 Subject: [PATCH v2] cmd: add a panic command In-Reply-To: <20200629230545.2635661-1-heiko@sntech.de> References: <20200629230545.2635661-1-heiko@sntech.de> Message-ID: <20200709002422.GR1306@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jun 30, 2020 at 01:05:45AM +0200, Heiko Stuebner wrote: > From: Heiko Stuebner > > 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 > Reviewed-by: Simon Glass > Reviewed-by: Tom Rini 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: