diff options
| author | Simon Glass <[email protected]> | 2020-10-26 17:40:03 -0600 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2020-10-29 14:42:59 -0600 |
| commit | a81294671ca190102a06db8ac3004dae7e49aa46 (patch) | |
| tree | b956b39fa6df3c3609174b4a086e10e54be6abe5 /tools | |
| parent | 680e3c6edb9aa5cf400a5b22ecfa3a40b0b247e5 (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 <[email protected]>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/binman/etype/u_boot_ucode.py | 1 |
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 44622936182..b4cb8cdb6e1 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 |
