From: Siva Durga Prasad Paladugu Date: Sat, 11 Aug 2018 08:52:36 +0000 (+0530) Subject: spi: spi_flash: Add support for Micron OSPI device MT35XL512 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3629c717e2402758c87072a701c512431e2a87ec;p=thirdparty%2Fu-boot.git 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 --- diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c index c8a4f755099..75c2dc82946 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) },