projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c75942c
)
sf: spansion: Add support for S25FL256S
author
Michal Simek
<monstr@monstr.eu>
Tue, 14 Aug 2012 11:11:22 +0000
(13:11 +0200)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 14 Aug 2012 15:45:50 +0000
(11:45 -0400)
Add support for Spansion S25FL256S SPI flash.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/mtd/spi/spansion.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/spi/spansion.c
b/drivers/mtd/spi/spansion.c
index 9a114ac6a1f48da45d7855ccfe47d6fcc066ebd5..32b76e0e9072196802b75963293f7ca2fddca106 100644
(file)
--- a/
drivers/mtd/spi/spansion.c
+++ b/
drivers/mtd/spi/spansion.c
@@
-96,6
+96,13
@@
static const struct spansion_spi_flash_params spansion_spi_flash_table[] = {
.nr_sectors = 256,
.name = "S25FL129P_64K",
},
+ {
+ .idcode1 = 0x2019,
+ .idcode2 = 0x4d01,
+ .pages_per_sector = 256,
+ .nr_sectors = 512,
+ .name = "S25FL256S",
+ },
};
struct spi_flash *spi_flash_probe_spansion(struct spi_slave *spi, u8 *idcode)