mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
Revert "image-fdt: boot_get_fdt() return value when no DTB exists"
It has been found that this change breaks the case of an appended device
tree file, so for the problem in question some other solution must be
found.
This reverts commit c6150aaf2f
.
Reported-by: Bill Pringlemeir <bpringlemeir@nbsps.com>
Reported-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Confirmed-by: Bill Pringlemeir <bpringlemeir@nbsps.com>
Signed-off-by: Tom Rini <trini@ti.com>
This commit is contained in:
parent
88342103cc
commit
f0c6e1c31b
1 changed files with 2 additions and 2 deletions
|
@ -413,11 +413,11 @@ int boot_get_fdt(int flag, int argc, char * const argv[], uint8_t arch,
|
|||
}
|
||||
} else {
|
||||
debug("## No Flattened Device Tree\n");
|
||||
goto error;
|
||||
return 0;
|
||||
}
|
||||
} else {
|
||||
debug("## No Flattened Device Tree\n");
|
||||
goto error;
|
||||
return 0;
|
||||
}
|
||||
|
||||
*of_flat_tree = fdt_blob;
|
||||
|
|
Loading…
Add table
Reference in a new issue