* [U-Boot] [PATCH] spi_flash/stmicro: add geometrical info for N25Q256 from Micron
@ 2012-04-08 20:55 Jérôme Carretero
2012-04-08 21:02 ` Mike Frysinger
0 siblings, 1 reply; 2+ messages in thread
From: Jérôme Carretero @ 2012-04-08 20:55 UTC (permalink / raw)
To: u-boot
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 <cJ@zougloub.eu>
CC: Mike Frysinger <vapier@gentoo.org>
---
drivers/mtd/spi/stmicro.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/mtd/spi/stmicro.c b/drivers/mtd/spi/stmicro.c
index a9b33cf..1a8c334 100644
--- a/drivers/mtd/spi/stmicro.c
+++ b/drivers/mtd/spi/stmicro.c
@@ -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)
--
1.7.9.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] spi_flash/stmicro: add geometrical info for N25Q256 from Micron
2012-04-08 20:55 [U-Boot] [PATCH] spi_flash/stmicro: add geometrical info for N25Q256 from Micron Jérôme Carretero
@ 2012-04-08 21:02 ` Mike Frysinger
0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2012-04-08 21:02 UTC (permalink / raw)
To: u-boot
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-08 21:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-08 20:55 [U-Boot] [PATCH] spi_flash/stmicro: add geometrical info for N25Q256 from Micron Jérôme Carretero
2012-04-08 21:02 ` Mike Frysinger
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.