summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2016-10-26 17:00:23 +0800
committerYe Li <ye.li@nxp.com>2016-11-22 17:49:33 +0800
commit049a20d1c74b1517abe8c7ea818748ca651a0f39 (patch)
treef89f8a8b088b5450b151ec79c56b386ea3653aff
parentb8f4a3546fcad61f03aa685366772f2408dbb5f4 (diff)
downloadu-boot-imx-049a20d1c74b1517abe8c7ea818748ca651a0f39.zip
u-boot-imx-049a20d1c74b1517abe8c7ea818748ca651a0f39.tar.gz
u-boot-imx-049a20d1c74b1517abe8c7ea818748ca651a0f39.tar.bz2
MLK-13450-17 sf: Add Macronix MX25R6435F SPI NOR flash to flash parameters array
On mx7ulp EVK board, we use MX25R6435F NOR flash, add its parameters and IDs to flash parameter array. Otherwise, the flash probe will fails. Signed-off-by: Ye Li <ye.li@nxp.com>
-rw-r--r--drivers/mtd/spi/sf_params.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c
index 4f37e33..845eeb7 100644
--- a/drivers/mtd/spi/sf_params.c
+++ b/drivers/mtd/spi/sf_params.c
@@ -51,6 +51,7 @@ const struct spi_flash_params spi_flash_params_table[] = {
{"MX25L25635F", 0xc22019, 0x0, 64 * 1024, 512, RD_FULL, WR_QPP},
{"MX25L51235F", 0xc2201a, 0x0, 64 * 1024, 1024, RD_FULL, WR_QPP},
{"MX25L12855E", 0xc22618, 0x0, 64 * 1024, 256, RD_FULL, WR_QPP},
+ {"MX25R6435F", 0xc22817, 0x0, 64 * 1024, 128, RD_FULL, SECT_4K},
#endif
#ifdef CONFIG_SPI_FLASH_SPANSION /* SPANSION */
{"S25FL008A", 0x010213, 0x0, 64 * 1024, 16, RD_NORM, 0},