projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8649399
)
sf: stmicro: add geometrical info for N25Q256 from Micron
author
Jérôme Carretero
<cJ-uboot@zougloub.eu>
Sun, 8 Apr 2012 10:55:55 +0000
(10:55 +0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sun, 8 Apr 2012 10:55:55 +0000
(10:55 +0000)
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>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/mtd/spi/stmicro.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/spi/stmicro.c
b/drivers/mtd/spi/stmicro.c
index 75d6822a7d686a328cd5c4c305d9a1837bf8a62f..dbd1fc185432807662f8896d2a83fbfaaabf79e7 100644
(file)
--- 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)