[U-Boot] [PATCH] imx: mx6ulevk: add CONFIG_SPI_FLASH_STMICRO
Peng Fan
van.freenix at gmail.com
Tue Jan 19 08:13:52 CET 2016
From: Peng Fan <peng.fan at nxp.com>
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
"
Signed-off-by: Peng Fan <peng.fan at nxp.com>
Cc: Jagan Teki <jteki at openedev.com>
Cc: Stefano Babic <sbabic at denx.de>
---
include/configs/mx6ul_14x14_evk.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul_14x14_evk.h
index c946176..319cb6c 100644
--- a/include/configs/mx6ul_14x14_evk.h
+++ b/include/configs/mx6ul_14x14_evk.h
@@ -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
--
2.6.2
More information about the U-Boot
mailing list