summaryrefslogtreecommitdiff
path: root/arch/sandbox/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-07-06 12:54:29 -0600
committerSimon Glass <sjg@chromium.org>2015-07-21 17:39:31 -0600
commit5010d98f02d9714f83c507e12ade0c52d214d157 (patch)
tree2d27c1859a3595f236a27a885657fdf599806825 /arch/sandbox/include
parentb9d33fa06c174e7fb4c8cd4bfec5cfff87f301e8 (diff)
downloadu-boot-imx-5010d98f02d9714f83c507e12ade0c52d214d157.zip
u-boot-imx-5010d98f02d9714f83c507e12ade0c52d214d157.tar.gz
u-boot-imx-5010d98f02d9714f83c507e12ade0c52d214d157.tar.bz2
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>
Diffstat (limited to 'arch/sandbox/include')
-rw-r--r--arch/sandbox/include/asm/u-boot-sandbox.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/u-boot-sandbox.h b/arch/sandbox/include/asm/u-boot-sandbox.h
index da87cc3..2f3c3f9 100644
--- a/arch/sandbox/include/asm/u-boot-sandbox.h
+++ b/arch/sandbox/include/asm/u-boot-sandbox.h
@@ -83,4 +83,7 @@ void sandbox_set_enable_pci_map(int enable);
*/
int sandbox_read_fdt_from_file(void);
+/* Exit sandbox (quit U-Boot) */
+void sandbox_exit(void);
+
#endif /* _U_BOOT_SANDBOX_H_ */