mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
fdtgrep: Cope with the /aliases node being last
With skeleton.dtsi being dropped it is more likely that the /aliases node will be last in the device tree. Update fdtgrep to handle this. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
@@ -810,9 +810,6 @@ static int do_fdtgrep(struct display_info *disp, const char *filename)
|
||||
disp->flags);
|
||||
if (count < 0) {
|
||||
report_error("fdt_find_regions", count);
|
||||
if (count == -FDT_ERR_BADLAYOUT)
|
||||
fprintf(stderr,
|
||||
"/aliases node must come before all other nodes\n");
|
||||
return -1;
|
||||
}
|
||||
if (count <= max_regions)
|
||||
|
Reference in New Issue
Block a user