blob: 6008bbe78e762534d2edf2ac7a88193de13a177d [file] [log] [blame]
Bin Mengb984ddc2018-09-26 06:55:22 -07001// 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 Glassdb41d652019-12-28 10:45:07 -07008#include <hang.h>
Bin Mengb984ddc2018-09-26 06:55:22 -07009
Sean Anderson958a3f42020-06-24 06:41:20 -040010#ifndef CONFIG_SYSRESET
Simon Glass09140112020-05-10 11:40:03 -060011int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
Bin Mengb984ddc2018-09-26 06:55:22 -070012{
13 printf("resetting ...\n");
14
Rick Chen9d9b3dc2018-10-03 13:59:03 +080015 printf("reset not supported yet\n");
Bin Mengb984ddc2018-09-26 06:55:22 -070016 hang();
17
18 return 0;
19}
Sean Anderson958a3f42020-06-24 06:41:20 -040020#endif