Bin Meng | b984ddc | 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 | db41d65 | 2019-12-28 10:45:07 -0700 | [diff] [blame] | 8 | #include <hang.h> |
Bin Meng | b984ddc | 2018-09-26 06:55:22 -0700 | [diff] [blame] | 9 | |
Sean Anderson | 958a3f4 | 2020-06-24 06:41:20 -0400 | [diff] [blame^] | 10 | #ifndef CONFIG_SYSRESET |
Simon Glass | 0914011 | 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 | b984ddc | 2018-09-26 06:55:22 -0700 | [diff] [blame] | 12 | { |
13 | printf("resetting ...\n"); | ||||
14 | |||||
Rick Chen | 9d9b3dc | 2018-10-03 13:59:03 +0800 | [diff] [blame] | 15 | printf("reset not supported yet\n"); |
Bin Meng | b984ddc | 2018-09-26 06:55:22 -0700 | [diff] [blame] | 16 | hang(); |
17 | |||||
18 | return 0; | ||||
19 | } | ||||
Sean Anderson | 958a3f4 | 2020-06-24 06:41:20 -0400 | [diff] [blame^] | 20 | #endif |