From 3629c717e2402758c87072a701c512431e2a87ec Mon Sep 17 00:00:00 2001 From: Siva Durga Prasad Paladugu Date: Sat, 11 Aug 2018 14:22:36 +0530 Subject: [PATCH] spi: spi_flash: Add support for Micron OSPI device MT35XL512 This patch adds support for Micron OSPI flash device MT35Xl512. This device supports Octal Read commands along with regular SPI and Quad commands. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/mtd/spi/spi_flash_ids.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c index c8a4f75509..75c2dc8294 100644 --- a/drivers/mtd/spi/spi_flash_ids.c +++ b/drivers/mtd/spi/spi_flash_ids.c @@ -158,6 +158,7 @@ const struct spi_flash_info spi_flash_ids[] = { {"mt25qu02g", INFO(0x20bb22, 0x0, 64 * 1024, 4096, RD_FULL | WR_QPP | E_FSR | SECT_4K) }, {"mt25ql02g", INFO(0x20ba22, 0x0, 64 * 1024, 4096, RD_FULL | WR_QPP | E_FSR | SECT_4K) }, {"mt35xu512g", INFO6(0x2c5b1a, 0x104100, 128 * 1024, 512, E_FSR | SECT_4K) }, + {"mt35xl512g", INFO6(0x2c5b1b, 0x0, 128 * 1024, 512, RD_FULL | RD_OCTAL | E_FSR | SECT_4K) }, #endif #ifdef CONFIG_SPI_FLASH_SST /* SST */ {"sst25vf040b", INFO(0xbf258d, 0x0, 64 * 1024, 8, SECT_4K | SST_WR) },