From: Bartlomiej Sieka <tur@semihalf.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] Support legacy multi-type images without FDT section.
Date: Fri, 09 May 2008 12:22:52 +0200 [thread overview]
Message-ID: <482425FC.9020107@semihalf.com> (raw)
In-Reply-To: <1210311142704-git-send-email-nick.spence@freescale.com>
Nick Spence wrote:
> 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 <nick.spence@freescale.com>
> ---
> 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");
Hi Nick,
Good catch -- thanks.
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
Regards,
Bartlomiej
next prev parent reply other threads:[~2008-05-09 10:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-09 5:32 [U-Boot-Users] [PATCH] Support legacy multi-type images without FDT section Nick Spence
2008-05-09 10:22 ` Bartlomiej Sieka [this message]
2008-05-09 22:39 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=482425FC.9020107@semihalf.com \
--to=tur@semihalf.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox