diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2018-07-19 13:07:31 +0300 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2018-07-20 04:33:22 +0300 |
commit | 406be398ed2671875a6297ff2c5a4f05a00e0cff (patch) | |
tree | f5517a95e441fd5b7e8abba2dea13d85a17cd0a7 /drivers/sysreset/sysreset-uclass.c | |
parent | 4c99ccfe13e8f1a1d3cf5be567fa16e2aa68188e (diff) | |
download | u-boot-406be398ed2671875a6297ff2c5a4f05a00e0cff.tar.xz |
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/sysreset/sysreset-uclass.c')
-rw-r--r-- | drivers/sysreset/sysreset-uclass.c | 2 |
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; |