[U-Boot-Users] [PATCH] Use the open firmware flattened tree methodology for the PQ2FADS board.

Grant Likely grant.likely at secretlab.ca
Thu Nov 2 16:51:33 CET 2006


On 10/31/06, Jerry Van Baren <gerald.vanbaren at smiths-aerospace.com> wrote:
> Use the open firmware flattened tree methodology for the PQ2FADS board.
>
> Git repository:
> <http://www.cideas.us/cgi-bin/gitweb.cgi?p=u-boot/u-boot-of-cmd.git;a=summary>
>
> Branch: pq2fads-of
> <http://www.cideas.us/cgi-bin/gitweb.cgi?p=u-boot/u-boot-of-cmd.git;a=shortlog;h=pq2fads-of>
>
> Signed-off-by: Jerry Van Baren <vanbaren at cideas.com>

Looks correct to me.

However, this patch should not be committed until this patch is applied:
http://news.gmane.org/find-root.php?message_id=%3c1162162451757%2dgit%2dsend%2demail%2dgrant.likely%40secretlab.ca%3e

Otherwise arch/ppc kernels will no longer be bootable

Cheers,
g.

>
>
> >From 05dde92cf942f0cae7d731912824cc76c9a040d5 Mon Sep 17 00:00:00 2001
> From: Jerry Van Baren <vanbaren at cideas.com>
> Date: Mon, 30 Oct 2006 20:31:26 -0500
> Subject: [PATCH] Use the open firmware flattened tree methodology for the PQ2FADS board.
> ---
>  include/configs/MPC8260ADS.h |   11 +++++++++++
>  1 files changed, 11 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/MPC8260ADS.h b/include/configs/MPC8260ADS.h
> index 6195bca..12e9560 100644
> --- a/include/configs/MPC8260ADS.h
> +++ b/include/configs/MPC8260ADS.h
> @@ -506,4 +506,15 @@ #if CONFIG_ADSTYPE == CFG_8272ADS
>  #define CONFIG_HAS_ETH1
>  #endif
>
> +/* pass open firmware flat tree */
> +#define CONFIG_OF_FLAT_TREE     1
> +
> +/* maximum size of the flat tree (8K) */
> +#define OF_FLAT_TREE_MAX_SIZE   8192
> +
> +#define OF_CPU                  "PowerPC,MPC8272 at 0"
> +#define OF_TBCLK                (CONFIG_8260_CLKIN / 4)
> +#define CONFIG_OF_HAS_BD_T      1
> +#define CONFIG_OF_HAS_UBOOT_ENV 1
> +
>  #endif /* __CONFIG_H */
> --
> 1.4.1.1
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
>
>


-- 
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195




More information about the U-Boot mailing list