ramips: enable broken-flash-reset for some 32M flash boards
authorChuanhong Guo <gch981213@gmail.com>
Mon, 6 Apr 2020 10:33:30 +0000 (18:33 +0800)
committerChuanhong Guo <gch981213@gmail.com>
Sun, 12 Apr 2020 14:27:17 +0000 (22:27 +0800)
These are boards known to start on 3-byte address mode, which requires
broken-flash-reset if 4B_OPCODES isn't supported by the flash.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts
target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts
target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts
target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts
target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts
target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts
target/linux/ramips/dts/mt7621_xzwifi_creativebox-v1.dts

index c5548a673e7013b2b84873ecf60d4403fd5b85e9..a60fa01e2ef5872daeaa57188237b6be3713684e 100644 (file)
@@ -97,6 +97,7 @@
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;
+               broken-flash-reset;
 
                partitions {
                        compatible = "fixed-partitions";
index 64170281edc7a78d2fb4f12fe90d7ec7069e2f48..49d8648f8a684c3afca1465dd5b868509faee1c8 100644 (file)
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;
+               broken-flash-reset;
 
                partitions {
                        compatible = "fixed-partitions";
index 602fd846cb820b8278fd8bd35bfd9e9c35d63265..8f7e273b10c44cbfeb9c90d32d2d65c399962dc8 100644 (file)
@@ -52,6 +52,7 @@
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <25000000>;
+               broken-flash-reset;
                m25p,fast-read;
 
                partitions {
index 1cf121a7c3a47ed696693735281f657eb2fff023..6b1c9a8f9d06bfca1725c848338575ad2835dc56 100644 (file)
@@ -66,6 +66,7 @@
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <80000000>;
+               broken-flash-reset;
                m25p,fast-read;
 
                partitions {
index f279ccaae0fbb2d4bb76dadd7271ac9723acf42b..a015a5e84a81fedf9095961ab980aacdf64aa460 100644 (file)
@@ -76,6 +76,7 @@
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <80000000>;
+               broken-flash-reset;
                m25p,fast-read;
 
                partitions {
index 711ddbf3980c7a9e2bc2a2838652a8534e5e5105..d49bc9dab5102ec197db39f0eb39c58322ee4762 100644 (file)
@@ -80,6 +80,7 @@
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <25000000>;
+               broken-flash-reset;
                m25p,fast-read;
 
                partitions {
index 36ef348ec5c2cc8020838d10f2eb9eac344d7ea9..0db8b3447483fd40b658a76657fea4d4fdd9eba7 100644 (file)
@@ -94,6 +94,7 @@
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <40000000>;
+               broken-flash-reset;
 
                partitions {
                        compatible = "fixed-partitions";