]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: sysreset: Add a standard message when doing reset
authorBin Meng <bmeng.cn@gmail.com>
Thu, 19 Jul 2018 10:07:31 +0000 (03:07 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 20 Jul 2018 01:33:22 +0000 (09:33 +0800)
It's good to print a message when doing reset.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/sysreset/sysreset-uclass.c

index 840eab6b57035baa3e1b8ae9276cdb411a4d16dc..b918365e73a8f608d84facd611b28d102c382493 100644 (file)
@@ -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;