提交 6b624950 编写于 作者: B Bin Meng 提交者: Andes

Revert "riscv: Allow use of reset drivers"

This reverts commit 958a3f46.

A more appropriate change below is already in mainline.
Commit fd31e4fd ("riscv: Do not build reset.c if SYSRESET is on")

Revert this patch, so that U-Boot can be built successfully for
SiFive Fu540 board.
Signed-off-by: NBin Meng <bin.meng@windriver.com>
Reviewed-by: NSean Anderson <seanga2@gmail.com>
Reviewed-by: NLeo Liang <ycliang@andestech.com>
上级 d20d0a57
......@@ -7,7 +7,6 @@
#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");
......@@ -17,4 +16,3 @@ int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
return 0;
}
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册