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:
parent
4c99ccfe13
commit
406be398ed
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user