summaryrefslogtreecommitdiffstats
path: root/arch/sandbox
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-10-03 11:21:16 -0600
committerSimon Glass <sjg@chromium.org>2015-10-05 15:47:49 +0100
commit7bb91dd109e2aff5f7f51aed44ac7890f9a4d158 (patch)
tree3bb4b5d521198729104557dabbcf854743bd8889 /arch/sandbox
parentcbfc2ff9da392d61cd456703ea6256996eb8beb1 (diff)
downloadblackbird-obmc-uboot-7bb91dd109e2aff5f7f51aed44ac7890f9a4d158.tar.gz
blackbird-obmc-uboot-7bb91dd109e2aff5f7f51aed44ac7890f9a4d158.zip
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>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/dts/sandbox.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts
index 65b9125f5f..08f72aceda 100644
--- a/arch/sandbox/dts/sandbox.dts
+++ b/arch/sandbox/dts/sandbox.dts
@@ -153,6 +153,10 @@
};
};
+ reset@1 {
+ compatible = "sandbox,reset";
+ };
+
spi@0 {
#address-cells = <1>;
#size-cells = <0>;
OpenPOWER on IntegriCloud