diff mbox series

[U-Boot,1/2] sandbox: add missing compatible property in device tree

Message ID 20191109083902.27903-2-xypron.glpk@gmx.de
State Accepted
Commit 15ab77c2034e243f2a49b6908428779a800052df
Delegated to: Simon Glass
Headers show
Series sandbox: enable UEFI unit tests | expand

Commit Message

Heinrich Schuchardt Nov. 9, 2019, 8:39 a.m. UTC
In the device tree UEFI unit test the compatible property of the device is
read.

Provide the missing property.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 arch/sandbox/dts/sandbox.dts   | 1 +
 arch/sandbox/dts/sandbox64.dts | 1 +
 2 files changed, 2 insertions(+)

--
2.24.0.rc1

Comments

Simon Glass Dec. 10, 2019, 1:05 p.m. UTC | #1
On Sat, 9 Nov 2019 at 01:39, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> In the device tree UEFI unit test the compatible property of the device is
> read.
>
> Provide the missing property.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  arch/sandbox/dts/sandbox.dts   | 1 +
>  arch/sandbox/dts/sandbox64.dts | 1 +
>  2 files changed, 2 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox series

Patch

diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts
index f1637c80f6..4dd82f6a32 100644
--- a/arch/sandbox/dts/sandbox.dts
+++ b/arch/sandbox/dts/sandbox.dts
@@ -6,6 +6,7 @@ 
 	#address-cells = <1>;
 	#size-cells = <1>;
 	model = "sandbox";
+	compatible = "sandbox";

 	aliases {
 		i2c0 = &i2c_0;
diff --git a/arch/sandbox/dts/sandbox64.dts b/arch/sandbox/dts/sandbox64.dts
index 37a5539ff4..5c95cee9d7 100644
--- a/arch/sandbox/dts/sandbox64.dts
+++ b/arch/sandbox/dts/sandbox64.dts
@@ -6,6 +6,7 @@ 
 	#address-cells = <2>;
 	#size-cells = <2>;
 	model = "sandbox";
+	compatible = "sandbox";

 	aliases {
 		i2c0 = &i2c_0;