binman: Fix return from u-boot-ucode if there is no DT
This should return empty contents, not leave it unset. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user