commit | b890c08f449183bfc535b5b4d369c4a13bc474cb | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Dec 15 20:14:10 2023 -0700 |
committer | Tom Rini <trini@konsulko.com> | Thu Dec 21 16:07:52 2023 -0500 |
tree | c05ef453d290629d79859d9c9fafc0c2695a48e2 | |
parent | 34ee3eda3e6531482b5e2d128b3ecef9b230bbf0 [diff] |
bootm: Adjust how the board is reset Use reset_cpu() to reset the board, copying the logic from the 'reset' command. This makes more sense than directly calling the do_reset() function with the arguments passsed to the bootm command. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>