Marc Jones (marc.jones@se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7935
-gerrit
commit 67b4fddd515dc9fd8cd1021f5cedf6dcf1f66aef Author: Marc Jones marc.jones@se-eng.com Date: Thu May 1 14:54:11 2014 -0600
SPI: Add Eon EN25S64 support.
BUG=chrome-os-partner:25907 BRANCH=baytrail(rambi) TEST=Read and write MRC and ELOG on Glimmer with Eon device.
Original-Change-Id: If883ff6eb14dd49a06f57a01ca61661854ded78d Original-Reviewed-on: https://chromium-review.googlesource.com/198324 Original-Reviewed-by: David Hendricks dhendrix@chromium.org Original-Commit-Queue: Marc Jones marc.jones@se-eng.com Original-Tested-by: Marc Jones marc.jones@se-eng.com (cherry picked from commit 536c34c2d92178f4e62b8ca7cfffceaf80a305f6) Signed-off-by: Marc Jones marc.jones@se-eng.com
Change-Id: I199451ed2b29c55bfb5e1487afa8cf3b9978e63e --- src/drivers/spi/eon.c | 9 +++++++++ 1 file changed, 9 insertions(+)
diff --git a/src/drivers/spi/eon.c b/src/drivers/spi/eon.c index 2e5fa8c..684fb2e 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,