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 | |||||
6 | #include <common.h> | ||||
7 | #include <command.h> | ||||
Simon Glass | f11478f | 2019-12-28 10:45:07 -0700 | [diff] [blame] | 8 | #include <hang.h> |
Bin Meng | de8d80e | 2018-09-26 06:55:22 -0700 | [diff] [blame] | 9 | |
Sean Anderson | 35e14fb | 2020-06-24 06:41:20 -0400 | [diff] [blame] | 10 | #ifndef CONFIG_SYSRESET |
Simon Glass | ed38aef | 2020-05-10 11:40:03 -0600 | [diff] [blame] | 11 | 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] | 12 | { |
13 | printf("resetting ...\n"); | ||||
14 | |||||
Rick Chen | f25398e | 2018-10-03 13:59:03 +0800 | [diff] [blame] | 15 | printf("reset not supported yet\n"); |
Bin Meng | de8d80e | 2018-09-26 06:55:22 -0700 | [diff] [blame] | 16 | hang(); |
17 | |||||
18 | return 0; | ||||
19 | } | ||||
Sean Anderson | 35e14fb | 2020-06-24 06:41:20 -0400 | [diff] [blame] | 20 | #endif |