From: Jagannadha Sutradharudu Teki Date: Tue, 16 Apr 2013 14:48:29 +0000 (+0530) Subject: sf: stmicro: Add support for N25Q512 X-Git-Tag: v2013.07-rc2~59^2~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0569f3b9be46cf3fa34232b903236a0893793ee6;p=u-boot sf: stmicro: Add support for N25Q512 Add support for Numonyx N25Q512 SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- diff --git a/drivers/mtd/spi/stmicro.c b/drivers/mtd/spi/stmicro.c index 2a9972bd4e..e9adfa5d7c 100644 --- a/drivers/mtd/spi/stmicro.c +++ b/drivers/mtd/spi/stmicro.c @@ -140,6 +140,12 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = { .nr_sectors = 512, .name = "N25Q256A", }, + { + .id = 0xba20, + .pages_per_sector = 256, + .nr_sectors = 1024, + .name = "N25Q512", + }, }; struct spi_flash *spi_flash_probe_stmicro(struct spi_slave *spi, u8 * idcode)