Skip to contentSkip to conversation

Use the open firmware flattened tree methodology for the PQ2FADS board.

PATCH New Jerry Van Baren 2 participants 2 messages Oct 31, 2006 – Nov 2, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Use the open firmware flattened tree methodology for the PQ2FADS board.

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>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Use-the-open-firmware-flattened-tree-methodology-for-the-PQ2FADS-board.txt
Url: http://lists.denx.de/pipermail/u-boot/attachments/20061031/54d5218c/attachment.txt

#1 lore raw

PATCH 1/1 Use the open firmware flattened tree methodology for the PQ2FADS board.

Quoted 9 lines · Jerry Van Baren

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>

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.

Quoted 48 lines
Quoted 3 lines

From 05dde92cf942f0cae7d731912824cc76c9a040d5 Mon Sep 17 00:00:00 2001

From: Jerry Van Baren <[email protected]>
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(-)
include/configs/MPC8260ADS.h +11 -1
index 6195bca..12e9560 100644
@@ -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

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