Move the ecc addr from driver to dts.

Signed-off-by: Peng Ma <peng...@nxp.com>
---
 arch/arm/dts/fsl-ls1012a.dtsi |    3 ++-
 arch/arm/dts/fsl-ls1043a.dtsi |    3 ++-
 arch/arm/dts/fsl-ls1046a.dtsi |    3 ++-
 arch/arm/dts/fsl-ls1088a.dtsi |    2 ++
 arch/arm/dts/ls1021a.dtsi     |    3 ++-
 5 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/arch/arm/dts/fsl-ls1012a.dtsi b/arch/arm/dts/fsl-ls1012a.dtsi
index f22cbf4..30fe268 100644
--- a/arch/arm/dts/fsl-ls1012a.dtsi
+++ b/arch/arm/dts/fsl-ls1012a.dtsi
@@ -136,7 +136,8 @@
 
                sata: sata@3200000 {
                        compatible = "fsl,ls1012a-ahci";
-                       reg = <0x0 0x3200000 0x0 0x10000>;
+                       reg = <0x0 0x3200000 0x0 0x10000        /* ccsr sata 
base */
+                              0x0 0x20140520 0x0 0x4>;         /* ecc sata 
addr*/
                        interrupts = <0 69 4>;
                        clocks = <&clockgen 4 0>;
                        status = "disabled";
diff --git a/arch/arm/dts/fsl-ls1043a.dtsi b/arch/arm/dts/fsl-ls1043a.dtsi
index bb70992..3109765 100644
--- a/arch/arm/dts/fsl-ls1043a.dtsi
+++ b/arch/arm/dts/fsl-ls1043a.dtsi
@@ -290,7 +290,8 @@
 
                sata: sata@3200000 {
                        compatible = "fsl,ls1043a-ahci";
-                       reg = <0x0 0x3200000 0x0 0x10000>;
+                       reg = <0x0 0x3200000 0x0 0x10000        /* ccsr sata 
base */
+                              0x0 0x20140520 0x0 0x4>;         /* ecc sata 
addr*/
                        interrupts = <0 69 4>;
                        clocks = <&clockgen 4 0>;
                        status = "disabled";
diff --git a/arch/arm/dts/fsl-ls1046a.dtsi b/arch/arm/dts/fsl-ls1046a.dtsi
index 5ac10e0..e9c8243 100644
--- a/arch/arm/dts/fsl-ls1046a.dtsi
+++ b/arch/arm/dts/fsl-ls1046a.dtsi
@@ -294,7 +294,8 @@
 
                sata: sata@3200000 {
                        compatible = "fsl,ls1046a-ahci";
-                       reg = <0x0 0x3200000 0x0 0x10000>;
+                       reg = <0x0 0x3200000 0x0 0x10000        /* ccsr sata 
base */
+                              0x0 0x20140520 0x0 0x4>;         /* ecc sata 
addr*/
                        interrupts = <0 69 4>;
                        clocks = <&clockgen 4 1>;
                        status = "disabled";
diff --git a/arch/arm/dts/fsl-ls1088a.dtsi b/arch/arm/dts/fsl-ls1088a.dtsi
index 9455e03..6a1cd0d 100644
--- a/arch/arm/dts/fsl-ls1088a.dtsi
+++ b/arch/arm/dts/fsl-ls1088a.dtsi
@@ -154,6 +154,8 @@
        sata: sata@3200000 {
                compatible = "fsl,ls1088a-ahci";
                reg = <0x0 0x3200000 0x0 0x10000>;
+               reg = <0x0 0x3200000 0x0 0x10000        /* ccsr sata base */
+                      0x7 0x100520  0x0 0x4>;          /* ecc sata addr*/
                interrupts = <0 133 4>;
                status = "disabled";
        };
diff --git a/arch/arm/dts/ls1021a.dtsi b/arch/arm/dts/ls1021a.dtsi
index 7670a39..b3d1b07 100644
--- a/arch/arm/dts/ls1021a.dtsi
+++ b/arch/arm/dts/ls1021a.dtsi
@@ -406,7 +406,8 @@
 
                sata: sata@3200000 {
                        compatible = "fsl,ls1021a-ahci";
-                       reg = <0x3200000 0x10000>;
+                       reg = <0x0 0x3200000 0x0 0x10000        /* ccsr sata 
base */
+                              0x0 0x20220520 0x0 0x4>;         /* ecc sata 
addr*/
                        interrupts = <0 101 4>;
                        status = "disabled";
                };
-- 
1.7.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to