diff mbox series

[v10,07/10] sandbox: binman: Add support for generating multiple images

Message ID 20230812153024.334563-8-sughosh.ganu@linaro.org
State New
Headers show
Series Enable EFI capsule generation through binman | expand

Commit Message

Sughosh Ganu Aug. 12, 2023, 3:30 p.m. UTC
Add support for all sandbox variants to support generating multiple
images. This also requires tweaking the binman node of the sandbox_vpl
variant to work with the multiple-images property.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
---
Changes since V9: None

 arch/sandbox/dts/sandbox.dts      | 1 +
 arch/sandbox/dts/sandbox_vpl.dtsi | 5 +++++
 arch/sandbox/dts/test.dts         | 1 +
 3 files changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts
index 12d3eff5fa..1039b029f4 100644
--- a/arch/sandbox/dts/sandbox.dts
+++ b/arch/sandbox/dts/sandbox.dts
@@ -22,6 +22,7 @@ 
 	};
 
 	binman: binman {
+		multiple-images;
 	};
 
 	memory {
diff --git a/arch/sandbox/dts/sandbox_vpl.dtsi b/arch/sandbox/dts/sandbox_vpl.dtsi
index c7dc00a8d2..83e7657d5d 100644
--- a/arch/sandbox/dts/sandbox_vpl.dtsi
+++ b/arch/sandbox/dts/sandbox_vpl.dtsi
@@ -4,6 +4,11 @@ 
  */
 
 &binman {
+	image: image {
+	};
+};
+
+&image {
 	u-boot-tpl-elf {
 		no-expanded;
 	};
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index f351d5cb84..9b731a29cf 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -67,6 +67,7 @@ 
 	};
 
 	binman: binman {
+		multiple-images;
 	};
 
 	config {