test: Add a function to restart U-Boot
authorSimon Glass <sjg@chromium.org>
Sun, 31 Jul 2016 23:35:08 +0000 (17:35 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 6 Aug 2016 00:55:22 +0000 (20:55 -0400)
commit27c087d58ab703f15211629abfa4a47f19974b9e
tree5acc83311a431be6acf3f84b474579bcab5ab810
parent851271a71ada94d3ae52057c5cea465f4ba9f621
test: Add a function to restart U-Boot

Add a proper function for this rather than using internal functions. Use it
in the single call site.

Also, do a restart at the end of the vboot test to reset to the normal
device tree.

Signed-off-by: Simon Glass <sjg@chromium.org>
Suggested-by: Stephen Warren <swarren@nvidia.com>
test/py/tests/test_vboot.py
test/py/u_boot_console_base.py