Bin Meng | de8d80e | 2018-09-26 06:55:22 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | ||||
3 | * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com> | ||||
4 | */ | ||||
5 | |||||
Bin Meng | de8d80e | 2018-09-26 06:55:22 -0700 | [diff] [blame] | 6 | #include <command.h> |
Simon Glass | 34ee3ed | 2023-12-15 20:14:09 -0700 | [diff] [blame] | 7 | #include <cpu_func.h> |
Bin Meng | de8d80e | 2018-09-26 06:55:22 -0700 | [diff] [blame] | 8 | |
Simon Glass | ed38aef | 2020-05-10 11:40:03 -0600 | [diff] [blame] | 9 | int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) |
Bin Meng | de8d80e | 2018-09-26 06:55:22 -0700 | [diff] [blame] | 10 | { |
Simon Glass | 34ee3ed | 2023-12-15 20:14:09 -0700 | [diff] [blame] | 11 | reset_cpu(); |
Bin Meng | de8d80e | 2018-09-26 06:55:22 -0700 | [diff] [blame] | 12 | |
13 | return 0; | ||||
14 | } |