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 <[EMAIL PROTECTED]>
> ---
> 
> 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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to