[PATCH 08/10] dts:imx6:pfla02:Move spi partitions imx6qdl-phytec-pfla02

Christian Hemp c.hemp at phytec.de
Fri Sep 12 06:33:45 PDT 2014


Move the spi partition definition to imx6qdl-phytec-pfla02.dtsi

Signed-off-by: Christian Hemp <c.hemp at phytec.de>
---
 arch/arm/dts/imx6dl-phytec-pfla02.dtsi  |   15 ---------------
 arch/arm/dts/imx6q-phytec-pfla02.dtsi   |   15 ---------------
 arch/arm/dts/imx6qdl-phytec-pfla02.dtsi |   14 ++++++++++++++
 3 files changed, 14 insertions(+), 30 deletions(-)

diff --git a/arch/arm/dts/imx6dl-phytec-pfla02.dtsi b/arch/arm/dts/imx6dl-phytec-pfla02.dtsi
index ae78afd..0f801ae 100644
--- a/arch/arm/dts/imx6dl-phytec-pfla02.dtsi
+++ b/arch/arm/dts/imx6dl-phytec-pfla02.dtsi
@@ -20,18 +20,3 @@
 &ecspi3 {
 	status = "okay";
 };
-
-&flash {
-        #address-cells = <1>;
-        #size-cells = <1>;
-
-        partition at 0 {
-                label = "barebox";
-                reg = <0x0 0x80000>;
-        };
-
-        partition at 1 {
-                label = "barebox-environment";
-                reg = <0x80000 0x10000>;
-        };
-};
diff --git a/arch/arm/dts/imx6q-phytec-pfla02.dtsi b/arch/arm/dts/imx6q-phytec-pfla02.dtsi
index f30f84c..0aec5d0 100644
--- a/arch/arm/dts/imx6q-phytec-pfla02.dtsi
+++ b/arch/arm/dts/imx6q-phytec-pfla02.dtsi
@@ -20,18 +20,3 @@
 &ecspi3 {
 	status = "okay";
 };
-
-&flash {
-	#address-cells = <1>;
-	#size-cells = <1>;
-
-	partition at 0 {
-		label = "barebox";
-		reg = <0x0 0x80000>;
-	};
-
-	partition at 1 {
-		label = "barebox-environment";
-		reg = <0x80000 0x10000>;
-	};
-};
diff --git a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
index 4a99103..4b8e256 100644
--- a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
+++ b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
@@ -20,6 +20,20 @@
 		compatible = "m25p80";
 		spi-max-frequency = <20000000>;
 		reg = <0>;
+
+		#address-cells = <1>;
+		#size-cells = <1>;
+
+		partition at 0 {
+			label = "barebox";
+			reg = <0x0 0x80000>;
+		};
+
+		partition at 1 {
+			label = "barebox-environment";
+			reg = <0x80000 0x10000>;
+		};
+
 	};
 };
 
-- 
1.7.0.4




More information about the barebox mailing list