Skip to contentSkip to conversation

imx: mx6ulevk: add CONFIG_SPI_FLASH_STMICRO

PATCH New Peng Fan 2 participants 3 messages Jan 19, 2016 – Jan 24, 2016

lore
Share & tools
lore

Peng Fan

author
#0 lore raw

PATCH 1/1 imx: mx6ulevk: add CONFIG_SPI_FLASH_STMICRO

From: Peng Fan <[email protected]>

Add CONFIG_SPI_FLASH_STMICRO to let qspi driver can detect the qspi chips.
"
=> sf probe
SF: Detected N25Q256 with page size 256 Bytes, erase size 64 KiB, total 32 MiB "

Cc Jagan Teki <[email protected]>
Cc Stefano Babic <[email protected]>
---
 include/configs/mx6ul_14x14_evk.h | 1 +
 1 file changed, 1 insertion(+)
include/configs/mx6ul_14x14_evk.h +1 -0
index c946176..319cb6c 100644
@@ -203,6 +203,7 @@
 #define CONFIG_SF_DEFAULT_CS		0
 #define CONFIG_SF_DEFAULT_SPEED	40000000
 #define CONFIG_SF_DEFAULT_MODE		SPI_MODE_0
+#define CONFIG_SPI_FLASH_STMICRO
 #define FSL_QSPI_FLASH_NUM		1
 #define FSL_QSPI_FLASH_SIZE		SZ_32M
 #endif
Signature · 1 line
2.6.2
#1 lore raw

PATCH 1/1 imx: mx6ulevk: add CONFIG_SPI_FLASH_STMICRO

Quoted 22 lines · Peng Fan

From: Peng Fan <[email protected]>

Add CONFIG_SPI_FLASH_STMICRO to let qspi driver can detect the qspi chips.
"
=> sf probe
SF: Detected N25Q256 with page size 256 Bytes, erase size 64 KiB, total 32 MiB "

Cc Jagan Teki <[email protected]>
Cc Stefano Babic <[email protected]>
---
 include/configs/mx6ul_14x14_evk.h | 1 +
 1 file changed, 1 insertion(+)
include/configs/mx6ul_14x14_evk.h +0 -0
index c946176..319cb6c 100644

include/configs/mx6ul_14x14_evk.h line 209

Quoted 7 lines
include/configs/mx6ul_14x14_evk.h +1 -0
@@ -203,6 +203,7 @@
 #define CONFIG_SF_DEFAULT_CS		0
 #define CONFIG_SF_DEFAULT_SPEED	40000000
 #define CONFIG_SF_DEFAULT_MODE		SPI_MODE_0
+#define CONFIG_SPI_FLASH_STMICRO
 #define FSL_QSPI_FLASH_NUM		1
 #define FSL_QSPI_FLASH_SIZE		SZ_32M
 #endif

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
#2 lore raw

PATCH 1/1 imx: mx6ulevk: add CONFIG_SPI_FLASH_STMICRO

In reply to Peng Fan
Quoted 22 lines · Peng Fan

From: Peng Fan <[email protected]>

Add CONFIG_SPI_FLASH_STMICRO to let qspi driver can detect the qspi chips.
"
=> sf probe
SF: Detected N25Q256 with page size 256 Bytes, erase size 64 KiB, total 32 MiB "

Cc Jagan Teki <[email protected]>
Cc Stefano Babic <[email protected]>
---
 include/configs/mx6ul_14x14_evk.h | 1 +
 1 file changed, 1 insertion(+)
include/configs/mx6ul_14x14_evk.h +0 -0
index c946176..319cb6c 100644

include/configs/mx6ul_14x14_evk.h line 209

Quoted 7 lines
include/configs/mx6ul_14x14_evk.h +1 -0
@@ -203,6 +203,7 @@
 #define CONFIG_SF_DEFAULT_CS		0
 #define CONFIG_SF_DEFAULT_SPEED	40000000
 #define CONFIG_SF_DEFAULT_MODE		SPI_MODE_0
+#define CONFIG_SPI_FLASH_STMICRO
 #define FSL_QSPI_FLASH_NUM		1
 #define FSL_QSPI_FLASH_SIZE		SZ_32M
 #endif

Applied to u-boot-imx, thanks!

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================