mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
dm: sysreset: wait after reset message
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>
This commit is contained in:
parent
a9e5aa7972
commit
e20a6e4479
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue