diff mbox series

[1/2] sandbox: Initialize sysreset before relocation

Message ID 20220925132731.6293-1-msuchanek@suse.de
State Superseded
Delegated to: Tom Rini
Headers show
Series [1/2] sandbox: Initialize sysreset before relocation | expand

Commit Message

Michal Suchánek Sept. 25, 2022, 1:27 p.m. UTC
Without this the early sysreset code cannot be tested.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
---

 arch/sandbox/dts/sandbox.dtsi | 1 +
 arch/sandbox/dts/test.dts     | 2 ++
 2 files changed, 3 insertions(+)

Comments

Simon Glass Oct. 5, 2022, 12:44 a.m. UTC | #1
On Sun, 25 Sept 2022 at 07:27, Michal Suchanek <msuchanek@suse.de> wrote:
>
> Without this the early sysreset code cannot be tested.
>
> Signed-off-by: Michal Suchanek <msuchanek@suse.de>
> ---
>
>  arch/sandbox/dts/sandbox.dtsi | 1 +
>  arch/sandbox/dts/test.dts     | 2 ++
>  2 files changed, 3 insertions(+)
>

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

Patch

diff --git a/arch/sandbox/dts/sandbox.dtsi b/arch/sandbox/dts/sandbox.dtsi
index 56e6b38bfa..9e96ff12a1 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-reloc;
 	};
 
 	rng {
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 2761588f0d..c59b118e96 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -1119,10 +1119,12 @@ 
 
 	reset@0 {
 		compatible = "sandbox,warm-reset";
+		u-boot,dm-pre-reloc;
 	};
 
 	reset@1 {
 		compatible = "sandbox,reset";
+		u-boot,dm-pre-reloc;
 	};
 
 	resetc: reset-ctl {