#define SPSN_ID_S25FL064A 0x0216
#define SPSN_ID_S25FL128P 0x2018
#define SPSN_ID_S25FL129P 0x2018
+#define SPSN_ID_S25FL256S 0x0219
#define SPSN_EXT_ID_S25FL128P_256KB 0x0300
#define SPSN_EXT_ID_S25FL128P_64KB 0x0301
#define SPSN_EXT_ID_S25FL129P_256KB 0x4d00
+#define SPSN_EXT_ID_S25FL256S_256KB 0x4d00
#define SPSN_EXT_ID_S25FL129P_64KB 0x4d01
#define SPSN_EXT_ID_S25FL032P 0x4d00
+#define SPSN_EXT_ID_S25FL256S_4KB_64KB 0x4d01 /* Actually JEDEC CFI for this part,
+ 4-kB parameter sectors with uniform
+ 64-kB sectors. */
#define SPANSION_SR_WIP (1 << 0) /* Write-in-Progress */
.nr_sectors = 64,
.name = "S25FL032P",
},
+ {
+ .idcode1 = SPSN_ID_S25FL256S,
+ .idcode2 = SPSN_EXT_ID_S25FL256S_256KB,
+ .page_size = 512,
+ .pages_per_sector = 512,
+ .nr_sectors = 128,
+ .name = "S25FL256S_256KB",
+ },
+ {
+ .idcode1 = SPSN_ID_S25FL256S,
+ .idcode2 = SPSN_EXT_ID_S25FL256S_4KB_64KB,
+ .page_size = 256,
+ .pages_per_sector = 16,
+ .nr_sectors = 32,
+ .name = "S25FL256S_4KB_64KB",
+ },
};
static inline void span_addr2cmd(struct spansion_spi_flash *spsn,