diff options
author | Zheng Bao <fishbaozi@gmail.com> | 2012-12-06 11:30:33 +0800 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2012-12-06 06:17:52 +0100 |
commit | c269a9b51cac8e6e24cd98b46543b89e1b836bf8 (patch) | |
tree | 9f1c79a2d730309264ff93dc8ad817f2c521ac04 /src | |
parent | cb0895470ed92fd31f5d17a0bae92a34ae8122af (diff) | |
download | coreboot-c269a9b51cac8e6e24cd98b46543b89e1b836bf8.tar.xz |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/spi/macronix.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ -87,6 +87,14 @@ static const struct macronix_spi_flash_params macronix_spi_flash_table[] = { .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, |