Vladimir Serbinenko (phcoder@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4616
-gerrit
commit 065a825d189a61643e08bcf91bca042eb2156e00 Author: Vladimir Serbinenko phcoder@gmail.com Date: Sun Jan 5 06:46:19 2014 +0100
Eon: Add EN25Q64
chip found in X230 if not using hardware sequencing.
Change-Id: I6ded10d35bfdbbe3d54c4170dd7846c7833f5ff7 Signed-off-by: Vladimir Serbinenko phcoder@gmail.com --- 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 21103ae..5a74b84 100644 --- a/src/drivers/spi/eon.c +++ b/src/drivers/spi/eon.c @@ -21,6 +21,7 @@ #define CMD_EN25Q128_DP 0xb9 /* Deep Power-down */ #define CMD_EN25Q128_RES 0xab /* Release from DP, and Read Signature */
+#define EON_ID_EN25Q64 0x17 #define EON_ID_EN25Q128 0x18
struct eon_spi_flash_params { @@ -52,6 +53,14 @@ static const struct eon_spi_flash_params eon_spi_flash_table[] = { .nr_sectors = 4096, .name = "EN25Q128", }, + { + .idcode1 = EON_ID_EN25Q64, + .page_size = 256, + .pages_per_sector = 16, + .sectors_per_block = 16, + .nr_sectors = 2048, + .name = "EN25Q64", + }, };
static int eon_write(struct spi_flash *flash,