binman: Fix return from u-boot-ucode if there is no DT
[platform/kernel/u-boot.git] / tools / binman / etype / u_boot_ucode.py
index 4462293..b4cb8cd 100644 (file)
@@ -81,6 +81,7 @@ class Entry_u_boot_ucode(Entry_blob):
             if fdt_entry:
                 break
         if not fdt_entry:
+            self.data = b''
             return True
         if not fdt_entry.ready:
             return False