From: Moritz Fischer Date: Thu, 14 Jul 2016 23:22:39 +0000 (-0700) Subject: spi: Add support for N25Q016A X-Git-Tag: v2016.09-rc2~173 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6bde34f1ae2a3fd253b0bc9b51686e30649ba7d8;p=oweals%2Fu-boot.git spi: Add support for N25Q016A This commit adds support in the spi-nor driver for the N25Q016A, a 16Mbit SPI NOR flash from Micron. Signed-off-by: Moritz Fischer Reviewed-by: Jagan Teki --- diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c index c577d9ed6c..76affdd67d 100644 --- a/drivers/mtd/spi/sf_params.c +++ b/drivers/mtd/spi/sf_params.c @@ -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},