diff options
| author | Jérôme Carretero <[email protected]> | 2012-04-08 10:55:55 +0000 |
|---|---|---|
| committer | Mike Frysinger <[email protected]> | 2012-04-08 10:55:55 +0000 |
| commit | b54d1f26ff216ef08307b7652647cc92124c2be1 (patch) | |
| tree | 0ec833a9ca8b16a4943ffb8d3d6123a61342e18c /drivers | |
| parent | 864939949eda9108fb7bc350af040500cd102954 (diff) | |
sf: stmicro: add geometrical info for N25Q256 from Micron
Note: because 4-byte addressing is not supported yet,
at the moment only the first 16MiB of the device are available.
Signed-off-by: Jérôme Carretero <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/mtd/spi/stmicro.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mtd/spi/stmicro.c b/drivers/mtd/spi/stmicro.c index 75d6822a7d6..dbd1fc18543 100644 --- a/drivers/mtd/spi/stmicro.c +++ b/drivers/mtd/spi/stmicro.c @@ -92,6 +92,12 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = { .nr_sectors = 64, .name = "M25P128", }, + { + .idcode1 = 0x19, + .pages_per_sector = 256, + .nr_sectors = 512, + .name = "N25Q256", + }, }; struct spi_flash *spi_flash_probe_stmicro(struct spi_slave *spi, u8 * idcode) |
