spi_flash/stmicro: add geometrical info for N25Q256 from Micron
Subsystems (2)
PATCH 1/1 spi_flash/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]>
CC Mike Frysinger <[email protected]>
--- drivers/mtd/spi/stmicro.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/mtd/spi/stmicro.c +7 -0
@@ -111,6 +111,13 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = { .nr_sectors = 64, .name = "M25P128", }, + { + .idcode1 = 0x19, + .page_size = 256, + .pages_per_sector = 256, + .nr_sectors = 512, + .name = "N25Q256", + }, };static int stmicro_erase (struct spi_flash *flash,u32 offset,size_t len)
Signature · 1 line
1.7.9.4
PATCH 1/1 spi_flash/stmicro: add geometrical info for N25Q256 from Micron
Quoted 2 lines · On Sunday 08 April 2012 16:55:55 J?r?me Carretero wrote:
Note: because 4-byte addressing is not supported yet, at the moment only the first 16MiB of the device are available.
thanks, pulled into my sf branch
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120408/6986a779/attachment.pgp>