diff options
author | Simon Glass <sjg@chromium.org> | 2023-12-15 20:14:07 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-12-21 16:07:52 -0500 |
commit | 5ee545a9db7455abec8c33bae0cbda0b1c3b66d4 (patch) | |
tree | 477272f58731538e655198a8045b9c3e9f8e36cb /arch/riscv/lib/reset.c | |
parent | 79353aab15842d0ad8369cb0d1ada662899966b9 (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>
Diffstat (limited to 'arch/riscv/lib/reset.c')
0 files changed, 0 insertions, 0 deletions