summaryrefslogtreecommitdiff
path: root/arch/riscv/lib/reset.c
blob: 6008bbe78e762534d2edf2ac7a88193de13a177d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
 */

#include <common.h>
#include <command.h>
#include <hang.h>

#ifndef CONFIG_SYSRESET
int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{
	printf("resetting ...\n");

	printf("reset not supported yet\n");
	hang();

	return 0;
}
#endif