]> git.dujemihanovic.xyz Git - u-boot.git/commit
image: fdt: bail out with error if no boot time FDT image found
authorTero Kristo <t-kristo@ti.com>
Fri, 12 Jun 2020 12:41:19 +0000 (15:41 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 17 Jul 2020 12:51:01 +0000 (08:51 -0400)
commit19c6808d87de3a9d8889a5881efc9467d3b50826
tree067f672a9143f4c5985c0c236b0090980f5c98b8
parente6676a34c4b5b78cd20c02e396d9d5f7b7ceff46
image: fdt: bail out with error if no boot time FDT image found

Currently the boot continues if the FDT image is clearly corrupted,
which just causes the loaded OS to hang. Abort boot properly if the FDT
is corrupted.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
common/image-fdt.c