From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] Make it possible to use a builtin OF tree.
Date: Mon, 26 Nov 2007 09:03:24 -0500 [thread overview]
Message-ID: <474AD22C.1020500@ge.com> (raw)
In-Reply-To: <1196016748-2121-1-git-send-email-Joakim.Tjernlund@transmode.se>
Joakim Tjernlund wrote:
> Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
> ---
> common/cmd_bootm.c | 5 ++++-
> 1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
> index d816349..8405de7 100644
> --- a/common/cmd_bootm.c
> +++ b/common/cmd_bootm.c
> @@ -507,6 +507,9 @@ fixup_silent_linux ()
> #endif /* CONFIG_SILENT_CONSOLE */
>
> #ifdef CONFIG_PPC
> +#ifndef DEFAULT_OF_TREE
> + #define DEFAULT_OF_TREE NULL
> +#endif
> static void __attribute__((noinline))
> do_bootm_linux (cmd_tbl_t *cmdtp, int flag,
> int argc, char *argv[],
> @@ -527,7 +530,7 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag,
> void (*kernel)(bd_t *, ulong, ulong, ulong, ulong);
> image_header_t *hdr = &header;
> #if defined(CONFIG_OF_FLAT_TREE) || defined(CONFIG_OF_LIBFDT)
> - char *of_flat_tree = NULL;
> + char *of_flat_tree = DEFAULT_OF_TREE;
> ulong of_data = 0;
> #endif
The loss was most likely my error/misunderstanding way back at the start
of LIBFDT. Your change seems reasonable, I'll add it to my list of
patches to look into and add.
Thanks,
gvb
next prev parent reply other threads:[~2007-11-26 14:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-25 18:52 [U-Boot-Users] [PATCH] Make it possible to use a builtin OF tree Joakim Tjernlund
2007-11-26 14:03 ` Jerry Van Baren [this message]
2007-11-27 2:32 ` gvb.uboot
2007-11-27 7:45 ` Joakim Tjernlund
2007-11-27 7:54 ` Kumar Gala
2007-11-27 10:51 ` Joakim Tjernlund
2007-11-27 3:06 ` Grant Likely
2007-11-27 7:50 ` Joakim Tjernlund
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=474AD22C.1020500@ge.com \
--to=gerald.vanbaren@ge.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.