git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9e5aa7
)
dm: sysreset: wait after reset message
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Wed, 29 Jul 2020 10:13:41 +0000
(12:13 +0200)
committer
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Sat, 1 Aug 2020 09:58:39 +0000
(11:58 +0200)
In our Python tests we expect to see the word "resetting". It may be
truncated if we reset before the serial console buffer is transferred.
Wait for 100 ms between the "resetting ..." message and the actual reset
like we do when powering off.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
drivers/sysreset/sysreset-uclass.c
patch
|
blob
|
history
diff --git
a/drivers/sysreset/sysreset-uclass.c
b/drivers/sysreset/sysreset-uclass.c
index
995240f
..
3f5414e
100644
(file)
--- a/
drivers/sysreset/sysreset-uclass.c
+++ b/
drivers/sysreset/sysreset-uclass.c
@@
-117,6
+117,7
@@
void reset_cpu(ulong addr)
int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{
printf("resetting ...\n");
+ mdelay(100);
sysreset_walk_halt(SYSRESET_COLD);