public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 1/2] fdt: do board setup based on fdt address specified on bootm line
Date: Tue, 17 Jul 2007 15:30:44 -0400	[thread overview]
Message-ID: <469D18E4.4040800@smiths-aerospace.com> (raw)
In-Reply-To: <20070717135653.010913bc.kim.phillips@freescale.com>

Kim Phillips wrote:
> The last fdt patch to bootm did board setup based on the address
> specified by a prior fdt address command invocation.  The bootm
> code, as its call to fdt_chosen does, should use the fdt specified
> by the user on the bootm command.  Note this restores full
> functionality for the 8360's existing default boot environment
> values, e.g. 'run nfsboot' (i.e. no having to 'fdt addr $fdtaddr'
> before booting a kernel).
> 
> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
> ---
>  common/cmd_bootm.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
> index c8825b6..bf21919 100644
> --- a/common/cmd_bootm.c
> +++ b/common/cmd_bootm.c
> @@ -982,7 +982,7 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag,
>  #endif
>  #ifdef CONFIG_OF_BOARD_SETUP
>  	/* Call the board-specific fixup routine */
> -	ft_board_setup(fdt, gd->bd);
> +	ft_board_setup(of_flat_tree, gd->bd);
>  #endif
>  #endif /* CONFIG_OF_LIBFDT */
>  #if defined(CONFIG_OF_FLAT_TREE)

Hi Kim,

Good catch, thanks.  I'll apply the patches tonight.

gvb

  reply	other threads:[~2007-07-17 19:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-17 18:56 [U-Boot-Users] [PATCH 1/2] fdt: do board setup based on fdt address specified on bootm line Kim Phillips
2007-07-17 19:30 ` Jerry Van Baren [this message]
2007-07-18  0:33 ` Jerry Van Baren
2007-07-18 14:37   ` Jon Loeliger
2007-07-18 14:49     ` Jerry Van Baren

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=469D18E4.4040800@smiths-aerospace.com \
    --to=gerald.vanbaren@smiths-aerospace.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