[elbe-devel] [PATCH v2 1/2] schema: Add possibility to add multiple binary blobs

Kurt Kanzenbach kurt at linutronix.de
Mon May 18 09:40:37 CEST 2020


Add support for multiple binary blobs in a single image which is useful for
e.g. dd'ing SPL and u-boot. The code supports it, the schema does not. Fix it.

Fixes: 6467421d1e5e ("hdimg: add binary blob dd support")
Signed-off-by: Kurt Kanzenbach <kurt at linutronix.de>
Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>
---
Changes since v1:

 * Add reviewed by from Torben Hohn

schema/dbsfed.xsd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
index 86ddcacb9a6c..c7bae9be549c 100644
--- a/schema/dbsfed.xsd
+++ b/schema/dbsfed.xsd
@@ -1243,7 +1243,7 @@
           </documentation>
         </annotation>
       </element>
-      <element name="binary" type="rfs:binaryblob" minOccurs="0">
+      <element name="binary" type="rfs:binaryblob" minOccurs="0" maxOccurs="unbounded">
         <annotation>
           <documentation>
             binary blob that is dd'ed to the specified offset
-- 
2.20.1




More information about the elbe-devel mailing list