sandbox: Correct operaion of 'reset' command
authorSimon Glass <sjg@chromium.org>
Sat, 3 Oct 2015 17:21:16 +0000 (11:21 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 5 Oct 2015 14:47:49 +0000 (15:47 +0100)
commit7bb91dd109e2aff5f7f51aed44ac7890f9a4d158
tree3bb4b5d521198729104557dabbcf854743bd8889
parentcbfc2ff9da392d61cd456703ea6256996eb8beb1
sandbox: Correct operaion of 'reset' command

Currently 'reset' only works with the test device tree. When run without a
device tree, or with the normal device tree, the following error is
displayed:

   Reset not supported on this platform

Fix the driver and the standard device tree to avoid this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
arch/sandbox/dts/sandbox.dts
drivers/misc/reset_sandbox.c