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>
This commit is contained in:
Bin Meng 2018-07-19 03:07:31 -07:00
parent 4c99ccfe13
commit 406be398ed

View 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;