Prechádzať zdrojové kódy

ramips: specify "firmware" partition format in JBOOT devices

Specify firmware partition format by compatible string.

List of devices:
-DWR-116-A1
-DWR-118-A2
-DWR-512-B
-DWR-921-C1
-LR-25G001

Signed-off-by: Pawel Dembicki <[email protected]>
Pawel Dembicki 6 rokov pred
rodič
commit
465d57370f

+ 2 - 1
target/linux/ramips/dts/DWR-116-A1.dts

@@ -59,7 +59,7 @@
 &spi0 {
 	status = "okay";
 
-	m25p80@0 {
+	flash@0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
 		spi-max-frequency = <50000000>;
@@ -76,6 +76,7 @@
 			};
 
 			partition@10000 {
+				compatible = "amit,jimage";
 				label = "firmware";
 				reg = <0x10000 0x7e0000>;
 			};

+ 1 - 0
target/linux/ramips/dts/DWR-118-A2.dts

@@ -106,6 +106,7 @@
 			};
 
 			partition@10000 {
+				compatible = "amit,jimage";
 				label = "firmware";
 				reg = <0x10000 0xfe0000>;
 			};

+ 2 - 1
target/linux/ramips/dts/DWR-512-B.dts

@@ -81,7 +81,7 @@
 &spi0 {
 	status = "okay";
 
-	mx25l6405d@0 {
+	flash@0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
 		spi-max-frequency = <30000000>;
@@ -99,6 +99,7 @@
 			};
 
 			partition@10000 {
+				compatible = "amit,jimage";
 				label = "firmware";
 				reg = <0x10000 0x7e0000>;
 			};

+ 2 - 1
target/linux/ramips/dts/DWR-921-C1.dts

@@ -97,7 +97,7 @@
 &spi0 {
 	status = "okay";
 
-	m25p80@0 {
+	flash@0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
 		spi-max-frequency = <10000000>;
@@ -114,6 +114,7 @@
 			};
 
 			partition@10000 {
+				compatible = "amit,jimage";
 				label = "firmware";
 				reg = <0x10000 0xfe0000>;
 			};

+ 1 - 0
target/linux/ramips/dts/LR-25G001.dts

@@ -88,6 +88,7 @@
 			};
 
 			partition@10000 {
+				compatible = "amit,jimage";
 				label = "firmware";
 				reg = <0x10000 0xfe0000>;
 			};