sandbox: Use the reset driver to handle reset
authorSimon Glass <sjg@chromium.org>
Mon, 6 Jul 2015 18:54:29 +0000 (12:54 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:31 +0000 (17:39 -0600)
commit5010d98f02d9714f83c507e12ade0c52d214d157
tree2d27c1859a3595f236a27a885657fdf599806825
parentb9d33fa06c174e7fb4c8cd4bfec5cfff87f301e8
sandbox: Use the reset driver to handle reset

Move sandbox over to use the reset uclass for reset, instead of a direct
call to do_reset(). This allows us to add tests.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/cpu.c
arch/sandbox/dts/test.dts
arch/sandbox/include/asm/u-boot-sandbox.h
configs/sandbox_defconfig
drivers/misc/reset_sandbox.c