summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-10-26 17:40:03 -0600
committerSimon Glass <sjg@chromium.org>2020-10-29 14:42:59 -0600
commita81294671ca190102a06db8ac3004dae7e49aa46 (patch)
treeb956b39fa6df3c3609174b4a086e10e54be6abe5 /tools
parent680e3c6edb9aa5cf400a5b22ecfa3a40b0b247e5 (diff)
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/binman/etype/u_boot_ucode.py1
1 files changed, 1 insertions, 0 deletions
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