Skip to contentSkip to conversation

x86: minnowmax: use the correct NOR in the configuration

PATCH In review Gabriel Huau 4 participants 11 messages Apr 23, 2015 – Apr 28, 2015 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: minnowmax: use the correct NOR in the configuration

The SPI NOR on the minnowboard max is a MICRON N25Q064A

---
 include/configs/minnowmax.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/minnowmax.h +1 -1
index 3c7b266..72393fa 100644
@@ -43,7 +43,7 @@
 
 #define CONFIG_SCSI_DEV_LIST            \
 	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}
-#define CONFIG_SPI_FLASH_SST
+#define CONFIG_SPI_FLASH_STMICRO
 
 #define CONFIG_MMC
 #define CONFIG_SDHCI
Signature · 1 line
2.1.4
#1 lore raw

[U-Boot] unassigned-patches/141: [PATCH] x86: minnowmax: use the correct NOR in the configuration

The SPI NOR on the minnowboard max is a MICRON N25Q064A

---
Added to GNATS database as unassigned-patches/141

Quoted 5 lines
Responsible:    patch-coord
Message-Id:     <[email protected]>

In-Reply-To:
References:
Patch-Date: Thu Apr 23 18:16:54 +0200 2015

---
 include/configs/minnowmax.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/minnowmax.h +1 -1
index 3c7b266..72393fa 100644
@@ -43,7 +43,7 @@
 
 #define CONFIG_SCSI_DEV_LIST            \
 	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}
-#define CONFIG_SPI_FLASH_SST
+#define CONFIG_SPI_FLASH_STMICRO
 
 #define CONFIG_MMC
 #define CONFIG_SDHCI
Signature · 1 line
2.1.4
#2 lore raw

PATCH 1/1 x86: minnowmax: use the correct NOR in the configuration

In reply to Gabriel Huau

Hi Gabriel,

Quoted 12 lines · Gabriel Huau

The SPI NOR on the minnowboard max is a MICRON N25Q064A

---
 include/configs/minnowmax.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/minnowmax.h +0 -0
index 3c7b266..72393fa 100644

include/configs/minnowmax.h

Quoted 9 lines
include/configs/minnowmax.h +1 -2
@@ -43,7 +43,7 @@
 
 #define CONFIG_SCSI_DEV_LIST            \
        {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}
-#define CONFIG_SPI_FLASH_SST
+#define CONFIG_SPI_FLASH_STMICRO
 
 #define CONFIG_MMC
 #define CONFIG_SDHCI
--

I think you need also update minnowmax.dts file to change the compatible string.

Regards,
Bin

#3 lore raw

PATCH 1/1 x86: minnowmax: use the correct NOR in the configuration

Hi Bin,

Quoted 21 lines · Bin Meng

Hi Gabriel,

Quoted 18 lines · Gabriel Huau

The SPI NOR on the minnowboard max is a MICRON N25Q064A

---
  include/configs/minnowmax.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/minnowmax.h +1 -1
index 3c7b266..72393fa 100644
@@ -43,7 +43,7 @@
 
  #define CONFIG_SCSI_DEV_LIST            \
         {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}
-#define CONFIG_SPI_FLASH_SST
+#define CONFIG_SPI_FLASH_STMICRO
 
Quoted 7 lines

include/configs/minnowmax.h

Quoted 3 lines
include/configs/minnowmax.h +0 -1
  #define CONFIG_MMC
  #define CONFIG_SDHCI
--

I think you need also update minnowmax.dts file to change the compatible string.

Regards,
Bin

Well ... I didn't see that as the NOR was still working on the board, I didn't find any reference except in the device tree for this compatible string, do you know if this is really used or not?
I'll do the modification anyway, it's always better to put the correct information.

Regards,
Gabriel

#4 lore raw

PATCH 1/1 x86: minnowmax: use the correct NOR in the configuration

Hi Gabriel,

Quoted 35 lines · Gabriel Huau

Hi Bin,

Quoted 31 lines · Bin Meng

Hi Gabriel,

Quoted 13 lines · Gabriel Huau

The SPI NOR on the minnowboard max is a MICRON N25Q064A

---
  include/configs/minnowmax.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/minnowmax.h +0 -0
index 3c7b266..72393fa 100644

include/configs/minnowmax.h

Quoted 9 lines
include/configs/minnowmax.h +1 -2
@@ -43,7 +43,7 @@
 
  #define CONFIG_SCSI_DEV_LIST            \
         {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}
-#define CONFIG_SPI_FLASH_SST
+#define CONFIG_SPI_FLASH_STMICRO
 
  #define CONFIG_MMC
  #define CONFIG_SDHCI
--

I think you need also update minnowmax.dts file to change the compatible string.

Quoted 7 lines
Quoted 2 lines

Regards,
Bin

Well ... I didn't see that as the NOR was still working on the board, I didn't find any reference except in the device tree for this compatible string, do you know if this is really used or not?

The spi flash compatible string is not used by the spi flash driver.

Quoted 3 lines

I'll do the modification anyway, it's always better to put the correct information.

Yep, it is a hint for someone else to figure out what spi flash is mounted on the board.

Regards,
Bin

#5 lore raw

PATCH v2 1/1 x86: minnowmax: use the correct NOR in the configuration

In reply to Gabriel Huau

The SPI NOR on the minnowboard max is a MICRON N25Q064A

---
Changes for v2:
- Update the dts to put the correct flash name

 arch/x86/dts/minnowmax.dts  | 2 +-
 include/configs/minnowmax.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/dts/minnowmax.dts +1 -1
index 3936e21..dd20b2c 100644
@@ -94,7 +94,7 @@
 		compatible = "intel,ich";
 		spi-flash at 0 {
 			reg = <0>;
-			compatible = "sst,25vf016b", "spi-flash";
+			compatible = "stmicro,n25q064a", "spi-flash";
 			memory-map = <0xff800000 0x00800000>;
 		};
 	};
include/configs/minnowmax.h +1 -1
index 3c7b266..72393fa 100644
@@ -43,7 +43,7 @@
 
 #define CONFIG_SCSI_DEV_LIST            \
 	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}
-#define CONFIG_SPI_FLASH_SST
+#define CONFIG_SPI_FLASH_STMICRO
 
 #define CONFIG_MMC
 #define CONFIG_SDHCI
Signature · 1 line
2.1.4
#6 lore raw

PATCH v2 1/1 x86: minnowmax: use the correct NOR in the configuration

Quoted 29 lines · Gabriel Huau

The SPI NOR on the minnowboard max is a MICRON N25Q064A

---
Changes for v2:
- Update the dts to put the correct flash name

 arch/x86/dts/minnowmax.dts  | 2 +-
 include/configs/minnowmax.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/dts/minnowmax.dts +1 -1
index 3936e21..dd20b2c 100644
@@ -94,7 +94,7 @@
                compatible = "intel,ich";
                spi-flash at 0 {
                        reg = <0>;
-                       compatible = "sst,25vf016b", "spi-flash";
+                       compatible = "stmicro,n25q064a", "spi-flash";
                        memory-map = <0xff800000 0x00800000>;
                };
        };
include/configs/minnowmax.h +0 -0
index 3c7b266..72393fa 100644

include/configs/minnowmax.h

Quoted 9 lines
include/configs/minnowmax.h +1 -2
@@ -43,7 +43,7 @@
 
 #define CONFIG_SCSI_DEV_LIST            \
        {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}
-#define CONFIG_SPI_FLASH_SST
+#define CONFIG_SPI_FLASH_STMICRO
 
 #define CONFIG_MMC
 #define CONFIG_SDHCI
--
#7 lore raw

PATCH v2 1/1 x86: minnowmax: use the correct NOR in the configuration

Quoted 36 lines · Bin Meng
Quoted 35 lines · Gabriel Huau

The SPI NOR on the minnowboard max is a MICRON N25Q064A

---
Changes for v2:
- Update the dts to put the correct flash name

 arch/x86/dts/minnowmax.dts  | 2 +-
 include/configs/minnowmax.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/dts/minnowmax.dts +1 -1
index 3936e21..dd20b2c 100644
@@ -94,7 +94,7 @@
                compatible = "intel,ich";
                spi-flash at 0 {
                        reg = <0>;
-                       compatible = "sst,25vf016b", "spi-flash";
+                       compatible = "stmicro,n25q064a", "spi-flash";
                        memory-map = <0xff800000 0x00800000>;
                };
        };
include/configs/minnowmax.h +1 -1
index 3c7b266..72393fa 100644
@@ -43,7 +43,7 @@
 
 #define CONFIG_SCSI_DEV_LIST            \
        {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}
-#define CONFIG_SPI_FLASH_SST
+#define CONFIG_SPI_FLASH_STMICRO
 
Quoted 5 lines

include/configs/minnowmax.h

Quoted 3 lines
include/configs/minnowmax.h +0 -1
 #define CONFIG_MMC
 #define CONFIG_SDHCI
--
#8 lore raw

PATCH v2 1/1 x86: minnowmax: use the correct NOR in the configuration

Quoted 37 lines · Simon Glass
Quoted 36 lines · Bin Meng
Quoted 35 lines · Gabriel Huau

The SPI NOR on the minnowboard max is a MICRON N25Q064A

---
Changes for v2:
- Update the dts to put the correct flash name

 arch/x86/dts/minnowmax.dts  | 2 +-
 include/configs/minnowmax.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/dts/minnowmax.dts +1 -1
index 3936e21..dd20b2c 100644
@@ -94,7 +94,7 @@
                compatible = "intel,ich";
                spi-flash at 0 {
                        reg = <0>;
-                       compatible = "sst,25vf016b", "spi-flash";
+                       compatible = "stmicro,n25q064a", "spi-flash";
                        memory-map = <0xff800000 0x00800000>;
                };
        };
include/configs/minnowmax.h +1 -1
index 3c7b266..72393fa 100644
@@ -43,7 +43,7 @@
 
 #define CONFIG_SCSI_DEV_LIST            \
        {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}
-#define CONFIG_SPI_FLASH_SST
+#define CONFIG_SPI_FLASH_STMICRO
 
Quoted 7 lines
Quoted 5 lines

include/configs/minnowmax.h

Quoted 3 lines
include/configs/minnowmax.h +0 -1
 #define CONFIG_MMC
 #define CONFIG_SDHCI
--

Applied to u-boot-x86, thanks!

#9 lore raw

PATCH v2 1/1 x86: minnowmax: use the correct NOR in the configuration

In reply to Gabriel Huau

The SPI NOR on the minnowboard max is a MICRON N25Q064A

---
Changes for v2:
- Update the dts to put the correct flash name

 arch/x86/dts/minnowmax.dts  | 2 +-
 include/configs/minnowmax.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/dts/minnowmax.dts +1 -1
index 3936e21..dd20b2c 100644
@@ -94,7 +94,7 @@
 		compatible = "intel,ich";
 		spi-flash at 0 {
 			reg = <0>;
-			compatible = "sst,25vf016b", "spi-flash";
+			compatible = "stmicro,n25q064a", "spi-flash";
 			memory-map = <0xff800000 0x00800000>;
 		};
 	};
include/configs/minnowmax.h +1 -1
index 3c7b266..72393fa 100644
@@ -43,7 +43,7 @@
 
 #define CONFIG_SCSI_DEV_LIST            \
 	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}
-#define CONFIG_SPI_FLASH_SST
+#define CONFIG_SPI_FLASH_STMICRO
 
 #define CONFIG_MMC
 #define CONFIG_SDHCI
Signature · 1 line
2.1.4
#10 lore raw

PATCH v2 1/1 x86: minnowmax: use the correct NOR in the configuration

Hi,

Wrong command ... I sent a duplicate patch v2, you can ignore this one, sorry.

Regards,
Gabriel

Quoted 37 lines · Gabriel Huau

The SPI NOR on the minnowboard max is a MICRON N25Q064A

---
Changes for v2:
- Update the dts to put the correct flash name

  arch/x86/dts/minnowmax.dts  | 2 +-
  include/configs/minnowmax.h | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/dts/minnowmax.dts +1 -1
index 3936e21..dd20b2c 100644
@@ -94,7 +94,7 @@
  		compatible = "intel,ich";
  		spi-flash at 0 {
  			reg = <0>;
-			compatible = "sst,25vf016b", "spi-flash";
+			compatible = "stmicro,n25q064a", "spi-flash";
  			memory-map = <0xff800000 0x00800000>;
  		};
  	};
include/configs/minnowmax.h +1 -1
index 3c7b266..72393fa 100644
@@ -43,7 +43,7 @@
 
  #define CONFIG_SCSI_DEV_LIST            \
  	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}
-#define CONFIG_SPI_FLASH_SST
+#define CONFIG_SPI_FLASH_STMICRO
 
  #define CONFIG_MMC
  #define CONFIG_SDHCI