Skip to contentSkip to conversation

x86: dts: Add "m25p,fast-read" to SPI flash node

PATCH In review Bin Meng 2 participants 3 messages Jul 29, 2021 – Jul 31, 2021 x86

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/1 x86: dts: Add "m25p,fast-read" to SPI flash node

Except ICH7 SPI, all SPI flashes connected to ICH9 / Fast SPI should have "m25p,fast-read" property present in their DT nodes.

---

 arch/x86/dts/bayleybay.dts                    | 1 +
 arch/x86/dts/baytrail_som-db5800-som-6867.dts | 1 +
 arch/x86/dts/cherryhill.dts                   | 1 +
 arch/x86/dts/chromebook_coral.dts             | 1 +
 arch/x86/dts/chromebook_link.dts              | 1 +
 arch/x86/dts/chromebook_samus.dts             | 1 +
 arch/x86/dts/chromebox_panther.dts            | 1 +
 arch/x86/dts/conga-qeval20-qa3-e3845.dts      | 1 +
 arch/x86/dts/cougarcanyon2.dts                | 1 +
 arch/x86/dts/dfi-bt700.dtsi                   | 1 +
 arch/x86/dts/minnowmax.dts                    | 1 +
 11 files changed, 11 insertions(+)
arch/x86/dts/bayleybay.dts +1 -0
index 828b851773..b92729dd0b 100644
@@ -176,6 +176,7 @@
 					#address-cells = <1>;
 					#size-cells = <1>;
 					reg = <0>;
+					m25p,fast-read;
 					compatible = "winbond,w25q64dw",
 						"jedec,spi-nor";
 					memory-map = <0xff800000 0x00800000>;
arch/x86/dts/baytrail_som-db5800-som-6867.dts +1 -0
index f5d1a28c09..e9b56de792 100644
@@ -200,6 +200,7 @@
 					#address-cells = <1>;
 					#size-cells = <1>;
 					reg = <0>;
+					m25p,fast-read;
 					compatible = "macronix,mx25l6405d",
 						"jedec,spi-nor";
 					memory-map = <0xff800000 0x00800000>;
arch/x86/dts/cherryhill.dts +1 -0
index 99d137e321..7a273670bd 100644
@@ -149,6 +149,7 @@
 					#address-cells = <1>;
 					#size-cells = <1>;
 					reg = <0>;
+					m25p,fast-read;
 					compatible = "macronix,mx25u6435f", "jedec,spi-nor";
 					memory-map = <0xff800000 0x00800000>;
 					rw-mrc-cache {
arch/x86/dts/chromebook_coral.dts +1 -0
index ea879c0300..f0caaacfee 100644
@@ -363,6 +363,7 @@
 				u-boot,dm-pre-proper;
 				u-boot,dm-spl;
 				reg = <0>;
+				m25p,fast-read;
 				compatible = "winbond,w25q128fw",
 					 "jedec,spi-nor";
 				rw-mrc-cache {
arch/x86/dts/chromebook_link.dts +1 -0
index 4367fab651..11ff520ac2 100644
@@ -430,6 +430,7 @@
 					#address-cells = <1>;
 					u-boot,dm-pre-reloc;
 					reg = <0>;
+					m25p,fast-read;
 					compatible = "winbond,w25q64",
 							"jedec,spi-nor";
 					memory-map = <0xff800000 0x00800000>;
arch/x86/dts/chromebook_samus.dts +1 -0
index 0f0dcdcc5f..930ec1ace0 100644
@@ -594,6 +594,7 @@
 					#size-cells = <1>;
 					#address-cells = <1>;
 					reg = <0>;
+					m25p,fast-read;
 					compatible = "winbond,w25q64",
 							"jedec,spi-nor";
 					memory-map = <0xff800000 0x00800000>;
arch/x86/dts/chromebox_panther.dts +1 -0
index 0169c427a1..b25f759c79 100644
@@ -48,6 +48,7 @@
 					#size-cells = <1>;
 					#address-cells = <1>;
 					reg = <0>;
+					m25p,fast-read;
 					compatible = "winbond,w25q64",
 						"jedec,spi-nor";
 					memory-map = <0xff800000 0x00800000>;
arch/x86/dts/conga-qeval20-qa3-e3845.dts +1 -0
index 31eacc2d48..705157ceaa 100644
@@ -187,6 +187,7 @@
 					#address-cells = <1>;
 					#size-cells = <1>;
 					reg = <0>;
+					m25p,fast-read;
 					compatible = "stmicro,n25q064a",
 						"jedec,spi-nor";
 					memory-map = <0xff800000 0x00800000>;
arch/x86/dts/cougarcanyon2.dts +1 -0
index f850becaaa..58395b5eb6 100644
@@ -156,6 +156,7 @@
 
 				spi-flash@0 {
 					reg = <0>;
+					m25p,fast-read;
 					compatible = "winbond,w25q64bv", "jedec,spi-nor";
 					memory-map = <0xff800000 0x00800000>;
 				};
arch/x86/dts/dfi-bt700.dtsi +1 -0
index 7d7b8357d9..dff2345d60 100644
@@ -198,6 +198,7 @@
 					#address-cells = <1>;
 					#size-cells = <1>;
 					reg = <0>;
+					m25p,fast-read;
 					compatible = "stmicro,n25q064a",
 						"jedec,spi-nor";
 					memory-map = <0xff800000 0x00800000>;
arch/x86/dts/minnowmax.dts +1 -0
index 110450bb55..68e0510c68 100644
@@ -200,6 +200,7 @@
 					#address-cells = <1>;
 					#size-cells = <1>;
 					reg = <0>;
+					m25p,fast-read;
 					compatible = "stmicro,n25q064a",
 						"jedec,spi-nor";
 					memory-map = <0xff800000 0x00800000>;
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Bin Meng

Except ICH7 SPI, all SPI flashes connected to ICH9 / Fast SPI should have "m25p,fast-read" property present in their DT nodes.

---

Quoted 12 lines
 arch/x86/dts/bayleybay.dts                    | 1 +
 arch/x86/dts/baytrail_som-db5800-som-6867.dts | 1 +
 arch/x86/dts/cherryhill.dts                   | 1 +
 arch/x86/dts/chromebook_coral.dts             | 1 +
 arch/x86/dts/chromebook_link.dts              | 1 +
 arch/x86/dts/chromebook_samus.dts             | 1 +
 arch/x86/dts/chromebox_panther.dts            | 1 +
 arch/x86/dts/conga-qeval20-qa3-e3845.dts      | 1 +
 arch/x86/dts/cougarcanyon2.dts                | 1 +
 arch/x86/dts/dfi-bt700.dtsi                   | 1 +
 arch/x86/dts/minnowmax.dts                    | 1 +
 11 files changed, 11 insertions(+)
author
#2 lore raw
Quoted 22 lines · Simon Glass
Quoted 7 lines · Bin Meng

Except ICH7 SPI, all SPI flashes connected to ICH9 / Fast SPI should have "m25p,fast-read" property present in their DT nodes.

---

Quoted 12 lines
 arch/x86/dts/bayleybay.dts                    | 1 +
 arch/x86/dts/baytrail_som-db5800-som-6867.dts | 1 +
 arch/x86/dts/cherryhill.dts                   | 1 +
 arch/x86/dts/chromebook_coral.dts             | 1 +
 arch/x86/dts/chromebook_link.dts              | 1 +
 arch/x86/dts/chromebook_samus.dts             | 1 +
 arch/x86/dts/chromebox_panther.dts            | 1 +
 arch/x86/dts/conga-qeval20-qa3-e3845.dts      | 1 +
 arch/x86/dts/cougarcanyon2.dts                | 1 +
 arch/x86/dts/dfi-bt700.dtsi                   | 1 +
 arch/x86/dts/minnowmax.dts                    | 1 +
 11 files changed, 11 insertions(+)
Quoted 1 line

applied to u-boot-x86, thanks!