]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
spi: spi_flash: Add support for Micron OSPI device MT35XL512
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Sat, 11 Aug 2018 08:52:36 +0000 (14:22 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 27 Feb 2019 07:50:33 +0000 (08:50 +0100)
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 <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/mtd/spi/spi_flash_ids.c

index c8a4f755099ea3daca88df316d495cfa5c0c8ce6..75c2dc829467968aa6386eedbc0b231ecb630cd8 100644 (file)
@@ -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) },