linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] Add flash node to mpc8641_hpcn.dts
@ 2008-01-22 16:38 Wade Farnsworth
  2008-01-22 16:44 ` Kumar Gala
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Wade Farnsworth @ 2008-01-22 16:38 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-dev

Add flash and partition information to mpc8641_hpcn.dts

Signed-off-by: Wade Farnsworth <wfarnsworth@mvista.com>

---
 arch/powerpc/boot/dts/mpc8641_hpcn.dts |   27 +++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 
diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts b/arch/powerpc/boot/dts/mpc8641_hpcn.dts
index a719179..679e857 100644
--- a/arch/powerpc/boot/dts/mpc8641_hpcn.dts
+++ b/arch/powerpc/boot/dts/mpc8641_hpcn.dts
@@ -457,4 +457,31 @@
 				  0 00100000>;
 		};
 	};
+
+	flash@ff800000 {
+		compatible = "cfi-flash";
+		reg = <ff800000 00800000>;
+		bank-width = <2>;
+		device-width = <2>;
+		#address-cells = <1>;
+		#size-cells = <1>;
+		partition@0 {
+			label = "kernel";
+			reg = <00000000 00300000>;
+		};
+		partition@300000 {
+			label = "firmware b";
+			reg = <00300000 00100000>;
+			read-only;
+		};
+		partition@400000 {
+			label = "fs";
+			reg = <00400000 00300000>;
+		};
+		partition@700000 {
+			label = "firmware a";
+			reg = <00700000 00100000>;
+			read-only;
+		};
+	};
 };

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/2] Add flash node to mpc8641_hpcn.dts
  2008-01-22 16:38 [PATCH 1/2] Add flash node to mpc8641_hpcn.dts Wade Farnsworth
@ 2008-01-22 16:44 ` Kumar Gala
  2008-01-22 16:47   ` Wade Farnsworth
  2008-01-22 16:47 ` [PATCH 2/2] MPC8641 HPCN: publish all soc and flash devices Wade Farnsworth
  2008-01-22 20:13 ` [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts Wade Farnsworth
  2 siblings, 1 reply; 17+ messages in thread
From: Kumar Gala @ 2008-01-22 16:44 UTC (permalink / raw)
  To: Wade Farnsworth; +Cc: linuxppc-dev


On Jan 22, 2008, at 10:38 AM, Wade Farnsworth wrote:

> Add flash and partition information to mpc8641_hpcn.dts
>
> Signed-off-by: Wade Farnsworth <wfarnsworth@mvista.com>
>
> ---
> arch/powerpc/boot/dts/mpc8641_hpcn.dts |   27 +++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
>
> diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts b/arch/powerpc/ 
> boot/dts/mpc8641_hpcn.dts
> index a719179..679e857 100644
> --- a/arch/powerpc/boot/dts/mpc8641_hpcn.dts
> +++ b/arch/powerpc/boot/dts/mpc8641_hpcn.dts
> @@ -457,4 +457,31 @@
> 				  0 00100000>;
> 		};
> 	};

This really should be under a localbus node.

- k

>
> +
> +	flash@ff800000 {
> +		compatible = "cfi-flash";
> +		reg = <ff800000 00800000>;
> +		bank-width = <2>;
> +		device-width = <2>;
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		partition@0 {
> +			label = "kernel";
> +			reg = <00000000 00300000>;
> +		};
> +		partition@300000 {
> +			label = "firmware b";
> +			reg = <00300000 00100000>;
> +			read-only;
> +		};
> +		partition@400000 {
> +			label = "fs";
> +			reg = <00400000 00300000>;
> +		};
> +		partition@700000 {
> +			label = "firmware a";
> +			reg = <00700000 00100000>;
> +			read-only;
> +		};
> +	};
> };
>

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH 2/2] MPC8641 HPCN: publish all soc and flash devices
  2008-01-22 16:38 [PATCH 1/2] Add flash node to mpc8641_hpcn.dts Wade Farnsworth
  2008-01-22 16:44 ` Kumar Gala
@ 2008-01-22 16:47 ` Wade Farnsworth
  2008-01-22 16:50   ` Kumar Gala
  2008-01-22 23:26   ` Stephen Rothwell
  2008-01-22 20:13 ` [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts Wade Farnsworth
  2 siblings, 2 replies; 17+ messages in thread
From: Wade Farnsworth @ 2008-01-22 16:47 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-dev

Publish all soc and flash devices from the device tree, similar to what
is done for other boards.

Signed-off-by: Wade Farnsworth <wfarnsworth@mvista.com>

---
 arch/powerpc/platforms/86xx/mpc86xx_hpcn.c |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
index 14f4e52..f266264 100644
--- a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
+++ b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
@@ -18,6 +18,7 @@
 #include <linux/kdev_t.h>
 #include <linux/delay.h>
 #include <linux/seq_file.h>
+#include <linux/of_platform.h>
 
 #include <asm/system.h>
 #include <asm/time.h>
@@ -212,6 +213,21 @@ mpc86xx_time_init(void)
 	return 0;
 }
 
+static struct of_device_id mpc86xx_ids[] = {
+	{ .type = "soc", },
+	{ .compatible = "soc", },
+	{ .compatible = "cfi-flash", },
+	{},
+};
+
+static int __init mpc86xx_publish_devices(void)
+{
+	of_platform_bus_probe(NULL, mpc86xx_ids, NULL);
+
+	return 0;
+}
+device_initcall(mpc86xx_publish_devices);
+
 define_machine(mpc86xx_hpcn) {
 	.name			= "MPC86xx HPCN",
 	.probe			= mpc86xx_hpcn_probe,

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/2] Add flash node to mpc8641_hpcn.dts
  2008-01-22 16:44 ` Kumar Gala
@ 2008-01-22 16:47   ` Wade Farnsworth
  2008-01-22 16:49     ` Kumar Gala
  0 siblings, 1 reply; 17+ messages in thread
From: Wade Farnsworth @ 2008-01-22 16:47 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-dev

On Tue, 2008-01-22 at 10:44 -0600, Kumar Gala wrote:
> On Jan 22, 2008, at 10:38 AM, Wade Farnsworth wrote:
> 
> > Add flash and partition information to mpc8641_hpcn.dts
> >
> > Signed-off-by: Wade Farnsworth <wfarnsworth@mvista.com>
> >
> > ---
> > arch/powerpc/boot/dts/mpc8641_hpcn.dts |   27 +++++++++++++++++++++++
> > 1 file changed, 27 insertions(+)
> >
> > diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts b/arch/powerpc/ 
> > boot/dts/mpc8641_hpcn.dts
> > index a719179..679e857 100644
> > --- a/arch/powerpc/boot/dts/mpc8641_hpcn.dts
> > +++ b/arch/powerpc/boot/dts/mpc8641_hpcn.dts
> > @@ -457,4 +457,31 @@
> > 				  0 00100000>;
> > 		};
> > 	};
> 
> This really should be under a localbus node.
> 
> - k
> 

Ok. I'll fix it up and resend.

--Wade

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/2] Add flash node to mpc8641_hpcn.dts
  2008-01-22 16:47   ` Wade Farnsworth
@ 2008-01-22 16:49     ` Kumar Gala
  0 siblings, 0 replies; 17+ messages in thread
From: Kumar Gala @ 2008-01-22 16:49 UTC (permalink / raw)
  To: Wade Farnsworth; +Cc: linuxppc-dev


On Jan 22, 2008, at 10:47 AM, Wade Farnsworth wrote:

> On Tue, 2008-01-22 at 10:44 -0600, Kumar Gala wrote:
>> On Jan 22, 2008, at 10:38 AM, Wade Farnsworth wrote:
>>
>>> Add flash and partition information to mpc8641_hpcn.dts
>>>
>>> Signed-off-by: Wade Farnsworth <wfarnsworth@mvista.com>
>>>
>>> ---
>>> arch/powerpc/boot/dts/mpc8641_hpcn.dts |   27 +++++++++++++++++++++ 
>>> ++
>>> 1 file changed, 27 insertions(+)
>>>
>>> diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts b/arch/powerpc/
>>> boot/dts/mpc8641_hpcn.dts
>>> index a719179..679e857 100644
>>> --- a/arch/powerpc/boot/dts/mpc8641_hpcn.dts
>>> +++ b/arch/powerpc/boot/dts/mpc8641_hpcn.dts
>>> @@ -457,4 +457,31 @@
>>> 				  0 00100000>;
>>> 		};
>>> 	};
>>
>> This really should be under a localbus node.
>>
>> - k
>>
>
> Ok. I'll fix it up and resend.

look at the mpc8313erdb.dts (in my tree, as an example).

- k

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 2/2] MPC8641 HPCN: publish all soc and flash devices
  2008-01-22 16:47 ` [PATCH 2/2] MPC8641 HPCN: publish all soc and flash devices Wade Farnsworth
@ 2008-01-22 16:50   ` Kumar Gala
  2008-01-22 23:26   ` Stephen Rothwell
  1 sibling, 0 replies; 17+ messages in thread
From: Kumar Gala @ 2008-01-22 16:50 UTC (permalink / raw)
  To: Wade Farnsworth; +Cc: linuxppc-dev


On Jan 22, 2008, at 10:47 AM, Wade Farnsworth wrote:

> Publish all soc and flash devices from the device tree, similar to  
> what
> is done for other boards.
>
> Signed-off-by: Wade Farnsworth <wfarnsworth@mvista.com>
>
> ---
> arch/powerpc/platforms/86xx/mpc86xx_hpcn.c |   16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c b/arch/ 
> powerpc/platforms/86xx/mpc86xx_hpcn.c
> index 14f4e52..f266264 100644
> --- a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
> +++ b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
> @@ -18,6 +18,7 @@
> #include <linux/kdev_t.h>
> #include <linux/delay.h>
> #include <linux/seq_file.h>
> +#include <linux/of_platform.h>
>
> #include <asm/system.h>
> #include <asm/time.h>
> @@ -212,6 +213,21 @@ mpc86xx_time_init(void)
> 	return 0;
> }
>
> +static struct of_device_id mpc86xx_ids[] = {
> +	{ .type = "soc", },
> +	{ .compatible = "soc", },
> +	{ .compatible = "cfi-flash", },
> +	{},
> +};
> +
> +static int __init mpc86xx_publish_devices(void)
> +{
> +	of_platform_bus_probe(NULL, mpc86xx_ids, NULL);
> +
> +	return 0;
> +}
> +device_initcall(mpc86xx_publish_devices);
> +

this should look more like:

+static struct of_device_id __initdata of_bus_ids[] = {
+       { .compatible = "simple-bus" },
+       {},
+};
+
+static int __init declare_of_platform_devices(void)
+{
+       of_platform_bus_probe(NULL, of_bus_ids, NULL);
+       return 0;
+}
+machine_device_initcall(mpc86xx_hpcn, mpc86xx_publish_devices);
+


>
> define_machine(mpc86xx_hpcn) {
> 	.name			= "MPC86xx HPCN",
> 	.probe			= mpc86xx_hpcn_probe,
>

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts
  2008-01-22 16:38 [PATCH 1/2] Add flash node to mpc8641_hpcn.dts Wade Farnsworth
  2008-01-22 16:44 ` Kumar Gala
  2008-01-22 16:47 ` [PATCH 2/2] MPC8641 HPCN: publish all soc and flash devices Wade Farnsworth
@ 2008-01-22 20:13 ` Wade Farnsworth
  2008-01-22 20:17   ` [PATCH v2 2/2] MPC8641 HPCN: call of_platform_bus_probe() Wade Farnsworth
                     ` (2 more replies)
  2 siblings, 3 replies; 17+ messages in thread
From: Wade Farnsworth @ 2008-01-22 20:13 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-dev

Add local bus, flash, and MTD partition nodes to mpc8641_hpcn.dts

Also add compatible field for the soc node, so that it will be picked up
by of_platform_bus_probe().

Signed-off-by: Wade Farnsworth <wfarnsworth@mvista.com>

---
Updated per Kumar's comments.

 arch/powerpc/boot/dts/mpc8641_hpcn.dts |   42 +++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts b/arch/powerpc/boot/dts/mpc8641_hpcn.dts
index a719179..556a9ca 100644
--- a/arch/powerpc/boot/dts/mpc8641_hpcn.dts
+++ b/arch/powerpc/boot/dts/mpc8641_hpcn.dts
@@ -60,10 +60,52 @@
 		reg = <00000000 40000000>;	// 1G at 0x0
 	};
 
+	localbus@f8005000 {
+		#address-cells = <2>;
+		#size-cells = <1>;
+		compatible = "fsl,mpc8641-localbus", "simple-bus";
+		reg = <f8005000 1000>;
+		interrupts = <13 2>;
+		interrupt-parent = <&mpic>;
+
+		ranges = <0 0 ff800000 00800000
+			  1 0 fe000000 01000000
+			  2 0 f8200000 00100000
+			  3 0 f8100000 00100000>;
+
+		flash@0,0 {
+			compatible = "cfi-flash";
+			reg = <0 0 00800000>;
+			bank-width = <2>;
+			device-width = <2>;
+			#address-cells = <1>;
+			#size-cells = <1>;
+			partition@0 {
+				label = "kernel";
+				reg = <00000000 00300000>;
+			};
+			partition@300000 {
+				label = "firmware b";
+				reg = <00300000 00100000>;
+				read-only;
+			};
+			partition@400000 {
+				label = "fs";
+				reg = <00400000 00300000>;
+			};
+			partition@700000 {
+				label = "firmware a";
+				reg = <00700000 00100000>;
+				read-only;
+			};
+		};
+	};
+
 	soc8641@f8000000 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		device_type = "soc";
+		compatible = "simple-bus";
 		ranges = <00000000 f8000000 00100000>;
 		reg = <f8000000 00001000>;	// CCSRBAR
 		bus-frequency = <0>;

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH v2 2/2] MPC8641 HPCN: call of_platform_bus_probe()
  2008-01-22 20:13 ` [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts Wade Farnsworth
@ 2008-01-22 20:17   ` Wade Farnsworth
  2008-01-22 20:36     ` Kumar Gala
  2008-01-22 23:28     ` Stephen Rothwell
  2008-01-22 20:37   ` [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts Kumar Gala
  2008-01-22 20:41   ` Jon Loeliger
  2 siblings, 2 replies; 17+ messages in thread
From: Wade Farnsworth @ 2008-01-22 20:17 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-dev

Call of_platform_bus_probe() on the MPC8641 HPCN, similar to what is
done for other platforms.

Signed-off-by: Wade Farnsworth <wfarnsworth@mvista.com>

---
Updated per Kumar's comments.

 arch/powerpc/platforms/86xx/mpc86xx_hpcn.c |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
index 14f4e52..510913e 100644
--- a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
+++ b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
@@ -18,6 +18,7 @@
 #include <linux/kdev_t.h>
 #include <linux/delay.h>
 #include <linux/seq_file.h>
+#include <linux/of_platform.h>
 
 #include <asm/system.h>
 #include <asm/time.h>
@@ -212,6 +213,19 @@ mpc86xx_time_init(void)
 	return 0;
 }
 
+static struct of_device_id of_bus_ids[] = {
+	{ .compatible = "simple-bus", },
+	{},
+};
+
+static int __init declare_of_platform_devices(void)
+{
+	of_platform_bus_probe(NULL, of_bus_ids, NULL);
+
+	return 0;
+}
+machine_device_initcall(mpc86xx_hpcn, declare_of_platform_devices);
+
 define_machine(mpc86xx_hpcn) {
 	.name			= "MPC86xx HPCN",
 	.probe			= mpc86xx_hpcn_probe,

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* Re: [PATCH v2 2/2] MPC8641 HPCN: call of_platform_bus_probe()
  2008-01-22 20:17   ` [PATCH v2 2/2] MPC8641 HPCN: call of_platform_bus_probe() Wade Farnsworth
@ 2008-01-22 20:36     ` Kumar Gala
  2008-01-22 23:28     ` Stephen Rothwell
  1 sibling, 0 replies; 17+ messages in thread
From: Kumar Gala @ 2008-01-22 20:36 UTC (permalink / raw)
  To: Wade Farnsworth; +Cc: linuxppc-dev

On Tue, 22 Jan 2008, Wade Farnsworth wrote:

> Call of_platform_bus_probe() on the MPC8641 HPCN, similar to what is
> done for other platforms.
>
> Signed-off-by: Wade Farnsworth <wfarnsworth@mvista.com>
>
> ---
> Updated per Kumar's comments.
>
>  arch/powerpc/platforms/86xx/mpc86xx_hpcn.c |   14 ++++++++++++++
>  1 file changed, 14 insertions(+)

applied.

- k

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts
  2008-01-22 20:13 ` [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts Wade Farnsworth
  2008-01-22 20:17   ` [PATCH v2 2/2] MPC8641 HPCN: call of_platform_bus_probe() Wade Farnsworth
@ 2008-01-22 20:37   ` Kumar Gala
  2008-01-22 20:41   ` Jon Loeliger
  2 siblings, 0 replies; 17+ messages in thread
From: Kumar Gala @ 2008-01-22 20:37 UTC (permalink / raw)
  To: Wade Farnsworth; +Cc: linuxppc-dev

On Tue, 22 Jan 2008, Wade Farnsworth wrote:

> Add local bus, flash, and MTD partition nodes to mpc8641_hpcn.dts
>
> Also add compatible field for the soc node, so that it will be picked up
> by of_platform_bus_probe().
>
> Signed-off-by: Wade Farnsworth <wfarnsworth@mvista.com>
>
> ---
> Updated per Kumar's comments.
>
>  arch/powerpc/boot/dts/mpc8641_hpcn.dts |   42 +++++++++++++++++++++++
>  1 file changed, 42 insertions(+)
>

applied.

- k

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts
  2008-01-22 20:13 ` [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts Wade Farnsworth
  2008-01-22 20:17   ` [PATCH v2 2/2] MPC8641 HPCN: call of_platform_bus_probe() Wade Farnsworth
  2008-01-22 20:37   ` [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts Kumar Gala
@ 2008-01-22 20:41   ` Jon Loeliger
  2008-01-22 21:07     ` Kumar Gala
  2 siblings, 1 reply; 17+ messages in thread
From: Jon Loeliger @ 2008-01-22 20:41 UTC (permalink / raw)
  To: Wade Farnsworth; +Cc: linuxppc-dev

Wade Farnsworth wrote:

> +
> +		ranges = <0 0 ff800000 00800000
> +			  1 0 fe000000 01000000
> +			  2 0 f8200000 00100000
> +			  3 0 f8100000 00100000>;
> +

I think you want just:

    ranges = <0 0 f8000000 8000000>

right?  And is it really on CS 0?

jdl

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts
  2008-01-22 20:41   ` Jon Loeliger
@ 2008-01-22 21:07     ` Kumar Gala
  2008-01-22 21:19       ` Wade Farnsworth
  2008-01-22 21:22       ` Jon Loeliger
  0 siblings, 2 replies; 17+ messages in thread
From: Kumar Gala @ 2008-01-22 21:07 UTC (permalink / raw)
  To: Jon Loeliger; +Cc: linuxppc-dev


On Jan 22, 2008, at 2:41 PM, Jon Loeliger wrote:

> Wade Farnsworth wrote:
>
>> +
>> +		ranges = <0 0 ff800000 00800000
>> +			  1 0 fe000000 01000000
>> +			  2 0 f8200000 00100000
>> +			  3 0 f8100000 00100000>;
>> +
>
> I think you want just:
>
>   ranges = <0 0 f8000000 8000000>
>
> right?  And is it really on CS 0?

I'm assuming he's listed CS1, CS2, and CS3 even though we don't have a  
children yet.  (second flash chip, CF, and pixis).

- k

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts
  2008-01-22 21:07     ` Kumar Gala
@ 2008-01-22 21:19       ` Wade Farnsworth
  2008-01-22 21:22       ` Jon Loeliger
  1 sibling, 0 replies; 17+ messages in thread
From: Wade Farnsworth @ 2008-01-22 21:19 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-dev

On Tue, 2008-01-22 at 15:07 -0600, Kumar Gala wrote:
> On Jan 22, 2008, at 2:41 PM, Jon Loeliger wrote:
> 
> > Wade Farnsworth wrote:
> >
> >> +
> >> +		ranges = <0 0 ff800000 00800000
> >> +			  1 0 fe000000 01000000
> >> +			  2 0 f8200000 00100000
> >> +			  3 0 f8100000 00100000>;
> >> +
> >
> > I think you want just:
> >
> >   ranges = <0 0 f8000000 8000000>

Wouldn't that cover all of the CCSR regs, not just CS0?

> >
> > right?  And is it really on CS 0?
> 
> I'm assuming he's listed CS1, CS2, and CS3 even though we don't have a  
> children yet.  (second flash chip, CF, and pixis).

Yes that's correct.

--Wade

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts
  2008-01-22 21:07     ` Kumar Gala
  2008-01-22 21:19       ` Wade Farnsworth
@ 2008-01-22 21:22       ` Jon Loeliger
  1 sibling, 0 replies; 17+ messages in thread
From: Jon Loeliger @ 2008-01-22 21:22 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-dev

Kumar Gala wrote:

> I'm assuming he's listed CS1, CS2, and CS3 even though we don't have a 
> children yet.  (second flash chip, CF, and pixis).
> 
> - k

OK -- I just wasn't sure if you wanted the other
CS entries for nodes that weren't actually present yet.

jdl

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 2/2] MPC8641 HPCN: publish all soc and flash devices
  2008-01-22 16:47 ` [PATCH 2/2] MPC8641 HPCN: publish all soc and flash devices Wade Farnsworth
  2008-01-22 16:50   ` Kumar Gala
@ 2008-01-22 23:26   ` Stephen Rothwell
  1 sibling, 0 replies; 17+ messages in thread
From: Stephen Rothwell @ 2008-01-22 23:26 UTC (permalink / raw)
  To: Wade Farnsworth; +Cc: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 280 bytes --]

Hi Wade,

On Tue, 22 Jan 2008 09:47:12 -0700 Wade Farnsworth <wfarnsworth@mvista.com> wrote:
>
> +static struct of_device_id mpc86xx_ids[] = {

__initdata, please.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH v2 2/2] MPC8641 HPCN: call of_platform_bus_probe()
  2008-01-22 20:17   ` [PATCH v2 2/2] MPC8641 HPCN: call of_platform_bus_probe() Wade Farnsworth
  2008-01-22 20:36     ` Kumar Gala
@ 2008-01-22 23:28     ` Stephen Rothwell
  2008-01-22 23:36       ` Kumar Gala
  1 sibling, 1 reply; 17+ messages in thread
From: Stephen Rothwell @ 2008-01-22 23:28 UTC (permalink / raw)
  To: Wade Farnsworth; +Cc: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

On Tue, 22 Jan 2008 13:17:45 -0700 Wade Farnsworth <wfarnsworth@mvista.com> wrote:
>
> +static struct of_device_id of_bus_ids[] = {

You forgot the __initdata.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH v2 2/2] MPC8641 HPCN: call of_platform_bus_probe()
  2008-01-22 23:28     ` Stephen Rothwell
@ 2008-01-22 23:36       ` Kumar Gala
  0 siblings, 0 replies; 17+ messages in thread
From: Kumar Gala @ 2008-01-22 23:36 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linuxppc-dev


On Jan 22, 2008, at 5:28 PM, Stephen Rothwell wrote:

> On Tue, 22 Jan 2008 13:17:45 -0700 Wade Farnsworth <wfarnsworth@mvista.com 
> > wrote:
>>
>> +static struct of_device_id of_bus_ids[] = {
>
> You forgot the __initdata.

I've fixed it.

- k

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2008-01-22 23:36 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-22 16:38 [PATCH 1/2] Add flash node to mpc8641_hpcn.dts Wade Farnsworth
2008-01-22 16:44 ` Kumar Gala
2008-01-22 16:47   ` Wade Farnsworth
2008-01-22 16:49     ` Kumar Gala
2008-01-22 16:47 ` [PATCH 2/2] MPC8641 HPCN: publish all soc and flash devices Wade Farnsworth
2008-01-22 16:50   ` Kumar Gala
2008-01-22 23:26   ` Stephen Rothwell
2008-01-22 20:13 ` [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts Wade Farnsworth
2008-01-22 20:17   ` [PATCH v2 2/2] MPC8641 HPCN: call of_platform_bus_probe() Wade Farnsworth
2008-01-22 20:36     ` Kumar Gala
2008-01-22 23:28     ` Stephen Rothwell
2008-01-22 23:36       ` Kumar Gala
2008-01-22 20:37   ` [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts Kumar Gala
2008-01-22 20:41   ` Jon Loeliger
2008-01-22 21:07     ` Kumar Gala
2008-01-22 21:19       ` Wade Farnsworth
2008-01-22 21:22       ` Jon Loeliger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).