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: Nick Spence <[EMAIL PROTECTED]> --- lib_ppc/bootm.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c index 0328bad..9194fd8 100644 --- a/lib_ppc/bootm.c +++ b/lib_ppc/bootm.c @@ -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"); -- 1.5.2.2 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users