From c269a9b51cac8e6e24cd98b46543b89e1b836bf8 Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Thu, 6 Dec 2012 11:30:33 +0800 Subject: driver/spi: Add support of MX25L3235D Tested on Thatcher. Change-Id: I648171ba0d03be1e984c182f6d0f082241e3f51c Signed-off-by: Zheng Bao Signed-off-by: zbao Reviewed-on: http://review.coreboot.org/1971 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/drivers/spi/macronix.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/drivers/spi/macronix.c b/src/drivers/spi/macronix.c index f9138e1e55..332de23f6e 100644 --- a/src/drivers/spi/macronix.c +++ b/src/drivers/spi/macronix.c @@ -86,6 +86,14 @@ static const struct macronix_spi_flash_params macronix_spi_flash_table[] = { .nr_blocks = 64, .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, -- cgit v1.2.3