]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: mx6ulevk: add CONFIG_SPI_FLASH_STMICRO
authorPeng Fan <peng.fan@nxp.com>
Tue, 19 Jan 2016 07:13:52 +0000 (15:13 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 24 Jan 2016 10:57:39 +0000 (11:57 +0100)
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@nxp.com>
Cc: Jagan Teki <jteki@openedev.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Stefano Babic <sbabic@denx.de>
include/configs/mx6ul_14x14_evk.h

index 1a537f167229d23d024d8fdeddeb1e35624aeede..4374c3a41fe0ebebe19742a1f6547092bd5f88fb 100644 (file)
 #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