From: "Jérôme Carretero" <cJ-uboot@zougloub.eu>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] spi_flash/stmicro: add geometrical info for N25Q256 from Micron
Date: Sun, 8 Apr 2012 16:55:55 -0400 [thread overview]
Message-ID: <20120408165555.2d396ca0@Bidule> (raw)
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
next reply other threads:[~2012-04-08 20:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-08 20:55 Jérôme Carretero [this message]
2012-04-08 21:02 ` [U-Boot] [PATCH] spi_flash/stmicro: add geometrical info for N25Q256 from Micron Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120408165555.2d396ca0@Bidule \
--to=cj-uboot@zougloub.eu \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.