diff options
author | Simon Glass <sjg@chromium.org> | 2015-07-06 18:54:29 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-07-21 23:39:31 (GMT) |
commit | 5010d98f02d9714f83c507e12ade0c52d214d157 (patch) | |
tree | 2d27c1859a3595f236a27a885657fdf599806825 /drivers/misc/reset_sandbox.c | |
parent | b9d33fa06c174e7fb4c8cd4bfec5cfff87f301e8 (diff) | |
download | u-boot-fsl-qoriq-5010d98f02d9714f83c507e12ade0c52d214d157.tar.xz |
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 'drivers/misc/reset_sandbox.c')
-rw-r--r-- | drivers/misc/reset_sandbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/reset_sandbox.c b/drivers/misc/reset_sandbox.c index 3cc61ed..917121b 100644 --- a/drivers/misc/reset_sandbox.c +++ b/drivers/misc/reset_sandbox.c @@ -51,7 +51,7 @@ static int sandbox_reset_request(struct udevice *dev, enum reset_t type) state->last_reset = type; if (!state->reset_allowed[type]) return -EACCES; - /* TODO: sandbox_exit(); */ + sandbox_exit(); break; default: return -ENOSYS; |