driver/spi: Add support of MX25L3235D
Tested on Thatcher.
Change-Id: I648171ba0d03be1e984c182f6d0f082241e3f51c
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Signed-off-by: zbao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/1971
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
diff --git a/src/drivers/spi/macronix.c b/src/drivers/spi/macronix.c
index f9138e1..332de23f 100644
--- a/src/drivers/spi/macronix.c
+++ b/src/drivers/spi/macronix.c
@@ -87,6 +87,14 @@
.name = "MX25L3205D",
},
{
+ .idcode = 0x5e16,
+ .page_size = 256,
+ .pages_per_sector = 16,
+ .sectors_per_block = 16,
+ .nr_blocks = 64,
+ .name = "MX25L3235D", /* MX25L3225D/MX25L3235D/MX25L3237D */
+ },
+ {
.idcode = 0x2017,
.page_size = 256,
.pages_per_sector = 16,