[PATCH 5/5] sandbox: switch to new barebox environment binding

Ahmad Fatoum a.fatoum at pengutronix.de
Tue Nov 26 07:33:12 PST 2024


To have an in-tree user for the barebox environment binding, let's
switch over the sandbox DT to use it.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 arch/sandbox/dts/sandbox.dts | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts
index cf47513c76fe..ec00301d0980 100644
--- a/arch/sandbox/dts/sandbox.dts
+++ b/arch/sandbox/dts/sandbox.dts
@@ -12,13 +12,6 @@ aliases {
 		state = &state;
 	};
 
-	chosen {
-		environment {
-			compatible = "barebox,environment";
-			device-path = &part_env;
-		};
-	};
-
 	memory {
 		device_type = "memory";
 		reg = <0 0 0 0>;
@@ -132,6 +125,7 @@ reboot_mode: reboot-mode at 1 {
 			};
 
 			part_env: env at 400 {
+				compatible = "barebox,environment";
 				reg = <0x400 0x800>;
 				label = "env";
 			};
-- 
2.39.5




More information about the barebox mailing list