diff options
author | Shaohui Xie <b21989@freescale.com> | 2011-04-20 20:07:11 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-08-02 22:01:27 +0200 |
commit | 9445ce0873d5b825224683541693412f22de13c5 (patch) | |
tree | 37fbe323d42679b7f1adc2bd4cb9a2b20d68c9fb /drivers/mtd/spi | |
parent | 2d722e0549375306c237131d894a2ef732ae0b07 (diff) |
sf: spansion: add support for S25FL129P_64K
Signed-off-by: Shaohui Xie <b21989@freescale.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/mtd/spi')
-rw-r--r-- | drivers/mtd/spi/spansion.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/mtd/spi/spansion.c b/drivers/mtd/spi/spansion.c index 28bb51a461..6301d87123 100644 --- a/drivers/mtd/spi/spansion.c +++ b/drivers/mtd/spi/spansion.c @@ -53,6 +53,7 @@ #define SPSN_EXT_ID_S25FL128P_256KB 0x0300 #define SPSN_EXT_ID_S25FL128P_64KB 0x0301 #define SPSN_EXT_ID_S25FL032P 0x4d00 +#define SPSN_EXT_ID_S25FL129P 0x4d01 struct spansion_spi_flash_params { u16 idcode1; @@ -120,6 +121,14 @@ static const struct spansion_spi_flash_params spansion_spi_flash_table[] = { .nr_sectors = 64, .name = "S25FL032P", }, + { + .idcode1 = SPSN_ID_S25FL128P, + .idcode2 = SPSN_EXT_ID_S25FL129P, + .page_size = 256, + .pages_per_sector = 256, + .nr_sectors = 256, + .name = "S25FL129P_64K", + }, }; static int spansion_erase(struct spi_flash *flash, u32 offset, size_t len) |