mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-02 09:36:15 +00:00
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>
This commit is contained in:
parent
e6676a34c4
commit
19c6808d87
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ int boot_get_fdt(int flag, int argc, char *const argv[], uint8_t arch,
|
|||
break;
|
||||
default:
|
||||
puts("ERROR: Did not find a cmdline Flattened Device Tree\n");
|
||||
goto no_fdt;
|
||||
goto error;
|
||||
}
|
||||
|
||||
printf(" Booting using the fdt blob at %#08lx\n", fdt_addr);
|
||||
|
|
Loading…
Add table
Reference in a new issue