[coreboot-gerrit] Change in ...coreboot[master]: driver/spi/eon.c: Add EN25F80
Arthur Heymans (Code Review)
gerrit at coreboot.org
Sun Dec 16 17:20:05 CET 2018
Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30249
Change subject: driver/spi/eon.c: Add EN25F80
......................................................................
driver/spi/eon.c: Add EN25F80
TESTED on ASUS P5QPL-AM (writes MRC_CACHE)
Change-Id: I5aebe4703a033a0f0226f405d8933b12f3af136f
Signed-off-by: Arthur Heymans <arthur at aheymans.xyz>
---
M src/drivers/spi/eon.c
1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/49/30249/1
diff --git a/src/drivers/spi/eon.c b/src/drivers/spi/eon.c
index 49b56b4..4cb5697 100644
--- a/src/drivers/spi/eon.c
+++ b/src/drivers/spi/eon.c
@@ -30,6 +30,7 @@
#define EON_ID_EN25Q128 0x3018
#define EON_ID_EN25Q64 0x3017
#define EON_ID_EN25S64 0x3817
+#define EON_ID_EN25F80 0x3114
struct eon_spi_flash_params {
u16 id;
@@ -65,6 +66,14 @@
.nr_sectors = 2048,
.name = "EN25S64",
},
+ {
+ .id = EON_ID_EN25F80,
+ .page_size = 256,
+ .pages_per_sector = 16,
+ .sectors_per_block = 16,
+ .nr_sectors = 256,
+ .name = "EN25F80",
+ },
};
static int eon_write(const struct spi_flash *flash,
--
To view, visit https://review.coreboot.org/c/coreboot/+/30249
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5aebe4703a033a0f0226f405d8933b12f3af136f
Gerrit-Change-Number: 30249
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur at aheymans.xyz>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181216/4f65efcc/attachment.html>
More information about the coreboot-gerrit
mailing list