From 406be398ed2671875a6297ff2c5a4f05a00e0cff Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Thu, 19 Jul 2018 03:07:31 -0700 Subject: [PATCH] dm: sysreset: Add a standard message when doing reset It's good to print a message when doing reset. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- drivers/sysreset/sysreset-uclass.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/sysreset/sysreset-uclass.c b/drivers/sysreset/sysreset-uclass.c index 840eab6b57..b918365e73 100644 --- a/drivers/sysreset/sysreset-uclass.c +++ b/drivers/sysreset/sysreset-uclass.c @@ -69,6 +69,8 @@ void reset_cpu(ulong addr) int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { + printf("resetting ...\n"); + sysreset_walk_halt(SYSRESET_COLD); return 0; -- 2.39.5