public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 3/3] 8xx: Add OF support to adder87x board
Date: Tue, 12 Feb 2008 08:09:03 -0500	[thread overview]
Message-ID: <47B19A6F.6020508@ge.com> (raw)
In-Reply-To: <20080212011224.59bc32d0@neuromancer.mindspace>

Bryan O'Donoghue wrote:
> Fits in with recent work done in Linux.
> 
> Adds u-boot support in conjunction with two previous patches to boot a Linux
> uImage in conjunction with a .dtb generated from the in-tree adder875-uboot.dts
> in recent PowerPC Linux kernel patches.
> 
> Works too !
> 
> Signed-off-by: Bryan O'Donoghue <bodonoghue@codehermit.ie>
> ---
> 
> diff --git a/board/adder/adder.c b/board/adder/adder.c
> index aa78158..03db678 100644
> --- a/board/adder/adder.c
> +++ b/board/adder/adder.c
> @@ -27,6 +27,12 @@
>  #include <common.h>
>  #include <mpc8xx.h>
>  
> +#if defined(CONFIG_OF_FLAT_TREE)
> +	#include <ft_build.h>
> +#elif defined(CONFIG_OF_LIBFDT)
> +	#include <libfdt.h>
> +#endif
> +

Please do only "#if defined(CONFIG_OF_LIBFDT)", skip CONFIG_OF_FLAT_TREE 
support entirely.  CONFIG_OF_FLAT_TREE is deprecated and will be removed 
RSN.

[snip]

> +/* pass open firmware flat tree */
> +#undef  CONFIG_OF_FLAT_TREE

Obviously, this goes too.

Thanks,
gvb

  reply	other threads:[~2008-02-12 13:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-12  1:12 [U-Boot-Users] [PATCH 3/3] 8xx: Add OF support to adder87x board Bryan O'Donoghue
2008-02-12 13:09 ` Jerry Van Baren [this message]
2008-02-12 19:13 ` Scott Wood
2008-02-12 23:42   ` Bryan O'Donoghue
2008-02-12 23:44     ` Scott Wood

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=47B19A6F.6020508@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox