Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=390167efa329d11099957108fc23d1ad15c3f37e
Commit:     390167efa329d11099957108fc23d1ad15c3f37e
Parent:     762931571edcf4067bc8f0de929752eb424b039e
Author:     Paul Gortmaker <[EMAIL PROTECTED]>
AuthorDate: Mon Jan 28 02:27:51 2008 -0500
Committer:  Kumar Gala <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 09:02:09 2008 -0600

    [POWERPC] QE: Explicitly set address-cells and size cells for muram
    
    Currently there are several dts that don't specify address or size
    cells for the muram.  This causes dtc to use default values, one of
    which is an address-cells of two, and this breaks the parsing of the
    muram ranges, which is assuming an address-cells of one. For example:
    
    Warning (reg_format): "reg" property in
    /[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED] has invalid length
    (8 bytes) (#address-cells == 2, #size-cells == 1)
    
    Explicitly setting the address and size cells gets it parsed properly
    and gets rid of the four dtc warnings.
    
    Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]>
    Signed-off-by: Kumar Gala <[EMAIL PROTECTED]>
---
 arch/powerpc/boot/dts/mpc832x_mds.dts |    2 ++
 arch/powerpc/boot/dts/mpc832x_rdb.dts |    2 ++
 arch/powerpc/boot/dts/mpc836x_mds.dts |    4 +++-
 arch/powerpc/boot/dts/mpc8568mds.dts  |    4 +++-
 4 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/boot/dts/mpc832x_mds.dts 
b/arch/powerpc/boot/dts/mpc832x_mds.dts
index 15bb345..7c3c52c 100644
--- a/arch/powerpc/boot/dts/mpc832x_mds.dts
+++ b/arch/powerpc/boot/dts/mpc832x_mds.dts
@@ -212,6 +212,8 @@
                bus-frequency = <BCD3D80>;
 
                [EMAIL PROTECTED] {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        compatible = "fsl,qe-muram", "fsl,cpm-muram";
                        ranges = <0 00010000 00004000>;
 
diff --git a/arch/powerpc/boot/dts/mpc832x_rdb.dts 
b/arch/powerpc/boot/dts/mpc832x_rdb.dts
index f086fac..551fc59 100644
--- a/arch/powerpc/boot/dts/mpc832x_rdb.dts
+++ b/arch/powerpc/boot/dts/mpc832x_rdb.dts
@@ -173,6 +173,8 @@
                bus-frequency = <BCD3D80>;
 
                [EMAIL PROTECTED] {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        compatible = "fsl,qe-muram", "fsl,cpm-muram";
                        ranges = <0 00010000 00004000>;
 
diff --git a/arch/powerpc/boot/dts/mpc836x_mds.dts 
b/arch/powerpc/boot/dts/mpc836x_mds.dts
index d3b8262..dc6caf0 100644
--- a/arch/powerpc/boot/dts/mpc836x_mds.dts
+++ b/arch/powerpc/boot/dts/mpc836x_mds.dts
@@ -214,10 +214,12 @@
                bus-frequency = <179A7B00>;
 
                [EMAIL PROTECTED] {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        compatible = "fsl,qe-muram", "fsl,cpm-muram";
                        ranges = <0 00010000 0000c000>;
 
-                       [EMAIL PROTECTED]
+                       [EMAIL PROTECTED] {
                                compatible = "fsl,qe-muram-data",
                                             "fsl,cpm-muram-data";
                                reg = <0 c000>;
diff --git a/arch/powerpc/boot/dts/mpc8568mds.dts 
b/arch/powerpc/boot/dts/mpc8568mds.dts
index c929fba..97bc048 100644
--- a/arch/powerpc/boot/dts/mpc8568mds.dts
+++ b/arch/powerpc/boot/dts/mpc8568mds.dts
@@ -291,10 +291,12 @@
                bus-frequency = <179A7B00>;
 
                [EMAIL PROTECTED] {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        compatible = "fsl,qe-muram", "fsl,cpm-muram";
                        ranges = <0 00010000 0000c000>;
 
-                       [EMAIL PROTECTED]
+                       [EMAIL PROTECTED] {
                                compatible = "fsl,qe-muram-data",
                                             "fsl,cpm-muram-data";
                                reg = <0 c000>;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to