aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/riscv/lib/reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/riscv/lib/reset.c')
-rw-r--r--roms/u-boot/arch/riscv/lib/reset.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/roms/u-boot/arch/riscv/lib/reset.c b/roms/u-boot/arch/riscv/lib/reset.c
new file mode 100644
index 000000000..8779c619c
--- /dev/null
+++ b/roms/u-boot/arch/riscv/lib/reset.c
@@ -0,0 +1,18 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
+ */
+
+#include <common.h>
+#include <command.h>
+#include <hang.h>
+
+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;
+}