summaryrefslogtreecommitdiff
path: root/src/drivers/spi/eon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/spi/eon.c')
-rw-r--r--src/drivers/spi/eon.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/drivers/spi/eon.c b/src/drivers/spi/eon.c
index 2e5fa8c610..684fb2ec83 100644
--- a/src/drivers/spi/eon.c
+++ b/src/drivers/spi/eon.c
@@ -26,6 +26,7 @@
#define EON_ID_EN25Q128 0x3018
#define EON_ID_EN25Q64 0x3017
+#define EON_ID_EN25S64 0x3817
struct eon_spi_flash_params {
u16 id;
@@ -64,6 +65,14 @@ static const struct eon_spi_flash_params eon_spi_flash_table[] = {
.nr_sectors = 2048,
.name = "EN25Q64",
},
+ {
+ .id = EON_ID_EN25S64,
+ .page_size = 256,
+ .pages_per_sector = 16,
+ .sectors_per_block = 16,
+ .nr_sectors = 2048,
+ .name = "EN25S64",
+ },
};
static int eon_write(struct spi_flash *flash,