From: Simon Glass Date: Mon, 26 Oct 2020 23:40:03 +0000 (-0600) Subject: binman: Fix return from u-boot-ucode if there is no DT X-Git-Tag: v2025.01-rc5-pxa1908~2146^2~23 X-Git-Url: http://git.dujemihanovic.xyz/%22/img/sics.gif/%22/static/git-favicon.png?a=commitdiff_plain;h=a81294671ca190102a06db8ac3004dae7e49aa46;p=u-boot.git 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 --- diff --git a/tools/binman/etype/u_boot_ucode.py b/tools/binman/etype/u_boot_ucode.py index 4462293618..b4cb8cdb6e 100644 --- a/tools/binman/etype/u_boot_ucode.py +++ b/tools/binman/etype/u_boot_ucode.py @@ -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