From: Bin Meng Date: Thu, 19 Jul 2018 10:07:31 +0000 (-0700) Subject: dm: sysreset: Add a standard message when doing reset X-Git-Tag: v2018.09-rc1~73^2~5 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=406be398ed2671875a6297ff2c5a4f05a00e0cff;p=oweals%2Fu-boot.git 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 --- 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;