dm: sysreset: wait after reset message
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 29 Jul 2020 10:13:41 +0000 (12:13 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 1 Aug 2020 09:58:39 +0000 (11:58 +0200)
commite20a6e44796a9389464b766b18942e6121f60bf0
tree217bf9b4870013cb6198b5dda97c77d1436de497
parenta9e5aa79729b78f6ed0ce7bc0e571c776c46e073
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>
drivers/sysreset/sysreset-uclass.c