commit | 6671aedb5966e69287282c94d9c81f78ed80f6ce | [log] [tgz] |
---|---|---|
author | Heiko Stuebner <heiko.stuebner@theobroma-systems.com> | Tue Jun 30 01:05:45 2020 +0200 |
committer | Tom Rini <trini@konsulko.com> | Wed Jul 08 17:21:46 2020 -0400 |
tree | 768c8fb332e87b3c86ef23d6628d1c72e916f816 | |
parent | 7944730e0aed911b532512c9d7f4d0d333d7077f [diff] |
cmd: add a panic command 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@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>