]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spi: Add support for N25Q016A
authorMoritz Fischer <moritz.fischer@ettus.com>
Thu, 14 Jul 2016 23:22:39 +0000 (16:22 -0700)
committerJagan Teki <jteki@openedev.com>
Fri, 29 Jul 2016 18:45:00 +0000 (00:15 +0530)
This commit adds support in the spi-nor driver for the
N25Q016A, a 16Mbit SPI NOR flash from Micron.

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
drivers/mtd/spi/sf_params.c

index c577d9ed6c91d81b28648b2b5adec82b8ab73e47..76affdd67d17d01537a4fc5af7b7c900691ebc99 100644 (file)
@@ -84,6 +84,7 @@ const struct spi_flash_params spi_flash_params_table[] = {
        {"M25P64",         0x202017, 0x0,       64 * 1024,   128, RD_NORM,                        0},
        {"M25P128",        0x202018, 0x0,      256 * 1024,    64, RD_NORM,                        0},
        {"M25PX64",        0x207117, 0x0,       64 * 1024,   128, RD_NORM,                  SECT_4K},
+       {"N25Q016A",       0x20bb15, 0x0,       64 * 1024,    32, RD_NORM,                  SECT_4K},
        {"N25Q32",         0x20ba16, 0x0,       64 * 1024,    64, RD_FULL,         WR_QPP | SECT_4K},
        {"N25Q32A",        0x20bb16, 0x0,       64 * 1024,    64, RD_FULL,         WR_QPP | SECT_4K},
        {"N25Q64",         0x20ba17, 0x0,       64 * 1024,   128, RD_FULL,         WR_QPP | SECT_4K},