commit | a3702bad222d70f363e2d051f0efa1e2d23cb5b0 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Dec 15 20:14:07 2023 -0700 |
committer | Tom Rini <trini@konsulko.com> | Thu Dec 21 16:07:52 2023 -0500 |
tree | 477272f58731538e655198a8045b9c3e9f8e36cb | |
parent | d1d35514fbee597e31449130bb20120561dc6ca1 [diff] |
ppc: Add a reset_cpu() function The current do_reset() is called from a command context. Add a function which can be used from anywhere, as is done on ARM. This is only needed if CONFIG_SYSRESET is disabled. Since there are lots of reset functions, this one actually just calls do_reset(). Future refactoring could correct this. Signed-off-by: Simon Glass <sjg@chromium.org>