summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-07-19 03:07:31 -0700
committerBin Meng <bmeng.cn@gmail.com>2018-07-20 09:33:22 +0800
commit406be398ed2671875a6297ff2c5a4f05a00e0cff (patch)
treef5517a95e441fd5b7e8abba2dea13d85a17cd0a7 /drivers
parent4c99ccfe13e8f1a1d3cf5be567fa16e2aa68188e (diff)
dm: sysreset: Add a standard message when doing reset
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/sysreset/sysreset-uclass.c2
1 files changed, 2 insertions, 0 deletions
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;