projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c99ccf
)
dm: sysreset: Add a standard message when doing reset
author
Bin Meng
<bmeng.cn@gmail.com>
Thu, 19 Jul 2018 10:07:31 +0000
(
03:07
-0700)
committer
Bin 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
patch
|
blob
|
history
diff --git
a/drivers/sysreset/sysreset-uclass.c
b/drivers/sysreset/sysreset-uclass.c
index 840eab6b57035baa3e1b8ae9276cdb411a4d16dc..b918365e73a8f608d84facd611b28d102c382493 100644
(file)
--- 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;