quoted hunk
-----Original Message-----
From: Li Yang-r58472 [mailto:LeoLi@freescale.com]=20
Sent: 17 January 2007 07:10
To: Joakim Tjernlund; linuxppc-dev Development
Subject: RE: Warnings when booting rc5 on a mpc83xx based board
=20
Please try:
=20
--- a/arch/powerpc/platforms/83xx/mpc832x_mds.c
+++ b/arch/powerpc/platforms/83xx/mpc832x_mds.c
@@ -103,7 +103,7 @@ static void __init mpc832x_sys_setup_arch(void)
#ifdef CONFIG_QUICC_ENGINE
qe_reset();=20
- if ((np =3D of_find_node_by_name(np, "par_io")) !=3D NULL) {
+ if ((np =3D of_find_node_by_name(NULL, "par_io")) !=3D NULL) {
par_io_init(np);
of_node_put(np);
=20
- Leo
Thanks, this did fix the problem.
Kumar, FYI your proposal had no effect.
Jocke
When the OF will be stable? The OF is really painful for embedded
system.
-----Original Message-----
From: linuxppc-dev-bounces+daveliu=3Dfreescale.com@ozlabs.org=20
[mailto:linuxppc-dev-bounces+daveliu=3Dfreescale.com@ozlabs.org]
On Behalf Of Joakim Tjernlund
Sent: 2007?1?17? 3:58 PM
To: Li Yang-r58472; linuxppc-dev Development
Subject: RE: Warnings when booting rc5 on a mpc83xx based board
=20
quoted
-----Original Message-----
From: Li Yang-r58472 [mailto:LeoLi@freescale.com]
Sent: 17 January 2007 07:10
To: Joakim Tjernlund; linuxppc-dev Development
Subject: RE: Warnings when booting rc5 on a mpc83xx based board
=20
Please try:
=20
--- a/arch/powerpc/platforms/83xx/mpc832x_mds.c
+++ b/arch/powerpc/platforms/83xx/mpc832x_mds.c
@@ -103,7 +103,7 @@ static void __init=20
mpc832x_sys_setup_arch(void) =20
quoted
#ifdef CONFIG_QUICC_ENGINE
qe_reset();
=20
- if ((np =3D of_find_node_by_name(np, "par_io")) !=3D NULL) {
+ if ((np =3D of_find_node_by_name(NULL, "par_io")) !=3D NULL) =
{quoted
par_io_init(np);
of_node_put(np);
=20
- Leo
=20
Thanks, this did fix the problem.
=20
Kumar, FYI your proposal had no effect.
=20
Jocke
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
=20
On 1/17/07, Liu Dave-r63238 [off-list ref] wrote:
The OF is really painful for embedded system.
For the record; I have to disagree. I find the device tree cleans up
and makes more maintainable a lot of my code. It gets rid of a lot of
my crazy-ass hacks for using different SoC configurations on different
boards.
Cheers,
g.
--
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195