diff options
Diffstat (limited to 'drivers/mtd/spi/stmicro.c')
| -rw-r--r-- | drivers/mtd/spi/stmicro.c | 30 | 
1 files changed, 30 insertions, 0 deletions
diff --git a/drivers/mtd/spi/stmicro.c b/drivers/mtd/spi/stmicro.c index 30b626a39..8a193449d 100644 --- a/drivers/mtd/spi/stmicro.c +++ b/drivers/mtd/spi/stmicro.c @@ -93,6 +93,30 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {  		.name = "M25P128",  	},  	{ +		.id = 0xba16, +		.pages_per_sector = 256, +		.nr_sectors = 64, +		.name = "N25Q32", +	}, +	{ +		.id = 0xbb16, +		.pages_per_sector = 256, +		.nr_sectors = 64, +		.name = "N25Q32A", +	}, +	{ +		.id = 0xba17, +		.pages_per_sector = 256, +		.nr_sectors = 128, +		.name = "N25Q064", +	}, +	{ +		.id = 0xbb17, +		.pages_per_sector = 256, +		.nr_sectors = 128, +		.name = "N25Q64A", +	}, +	{  		.id = 0xba18,  		.pages_per_sector = 256,  		.nr_sectors = 256, @@ -110,6 +134,12 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {  		.nr_sectors = 512,  		.name = "N25Q256",  	}, +	{ +		.id = 0xbb19, +		.pages_per_sector = 256, +		.nr_sectors = 512, +		.name = "N25Q256A", +	},  };  struct spi_flash *spi_flash_probe_stmicro(struct spi_slave *spi, u8 * idcode)  |