]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mtd: spi-nor: Add support for mt35xu02g
authorAshish Kumar <Ashish.Kumar@nxp.com>
Thu, 29 Aug 2019 12:07:24 +0000 (17:37 +0530)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Fri, 30 Aug 2019 07:07:34 +0000 (10:07 +0300)
mt35xu02g is an Octal flash supporting Single and OCTAL I/O.
Tested on LS1028ARDB.

Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
Signed-off-by: Ashish Kumar <ashish.kumar@nxp.com>
Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
[tudor.ambarus@microchip.com: reword commit message]
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
drivers/mtd/spi-nor/spi-nor.c

index c6ebfbe25a73c3c4c13b321fd026e83eff5030d9..2129cddc1a87bba4ff4095b883a9d58c8eacfe17 100644 (file)
@@ -2324,6 +2324,9 @@ static const struct flash_info spi_nor_ids[] = {
                        SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ |
                        SPI_NOR_4B_OPCODES)
        },
+       { "mt35xu02g",  INFO(0x2c5b1c, 0, 128 * 1024, 2048,
+                            SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ |
+                            SPI_NOR_4B_OPCODES) },
 
        /* PMC */
        { "pm25lv512",   INFO(0,        0, 32 * 1024,    2, SECT_4K_PMC) },