Without this the early sysreset code cannot be tested.

Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
v2: use u-boot,dm-pre-proper rather than u-boot,dm-pre-reloc - sandbox
    SPL cannot build otherwise
---
 arch/sandbox/dts/sandbox.dtsi | 1 +
 arch/sandbox/dts/test.dts     | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/arch/sandbox/dts/sandbox.dtsi b/arch/sandbox/dts/sandbox.dtsi
index de7a218f45..14c3f54563 100644
--- a/arch/sandbox/dts/sandbox.dtsi
+++ b/arch/sandbox/dts/sandbox.dtsi
@@ -239,6 +239,7 @@
 
        reset@1 {
                compatible = "sandbox,reset";
+               u-boot,dm-pre-proper;
        };
 
        rng {
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 4ee471238e..88ddc7c4da 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -1121,10 +1121,12 @@
 
        reset@0 {
                compatible = "sandbox,warm-reset";
+               u-boot,dm-pre-proper;
        };
 
        reset@1 {
                compatible = "sandbox,reset";
+               u-boot,dm-pre-proper;
        };
 
        resetc: reset-ctl {
-- 
2.37.3

Reply via email to