Skip to content
Snippets Groups Projects
Commit 91a61674 authored by Nick Spence's avatar Nick Spence Committed by Wolfgang Denk
Browse files

Support legacy multi-type images without FDT section.


This patch enables legacy multi-type images containing only a Linux kernel
and root file system to be loaded, maintaining compatibility with previous
versions of u-boot.

This is required when using old image files such as a Linux 2.4 kernel /
filesystem.

Signed-off-by: default avatarNick Spence <nick.spence@freescale.com>
Acked-by: default avatarBartlomiej Sieka <tur@semihalf.com>
parent 881031d9
No related branches found
No related tags found
No related merge requests found
......@@ -667,9 +667,8 @@ static int boot_get_fdt (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[],
goto error;
}
} else {
fdt_error ("Did not find a Flattened Device Tree "
"in a legacy multi-component image");
goto error;
debug ("## No Flattened Device Tree\n");
return 0;
}
} else {
debug ("## No Flattened Device Tree\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment