diff options
author | Dave Frodin <dave.frodin@se-eng.com> | 2014-11-24 10:37:29 -0700 |
---|---|---|
committer | Dave Frodin <dave.frodin@se-eng.com> | 2014-12-09 18:28:48 +0100 |
commit | 018560667a06f17b324e078b7f978d80d8ef65a4 (patch) | |
tree | b04cacaaf1140c162e34c01cf4ec269fe850f2d7 | |
parent | c7eaf7730db0ce5bf2f9701dc79d7fed50bea963 (diff) |
spi/macronix: Add support for MX25L3239E
Also update comment for the MX25L3236D part.
Change-Id: Ifaeeb71e7672a8db55bbb66e6ce7316e2893478d
Signed-off-by: Dave Frodin <dave.frodin@se-eng.com>
Reviewed-on: http://review.coreboot.org/7631
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
-rw-r--r-- | src/drivers/spi/macronix.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/drivers/spi/macronix.c b/src/drivers/spi/macronix.c index 5b58e869f3..1516770579 100644 --- a/src/drivers/spi/macronix.c +++ b/src/drivers/spi/macronix.c @@ -93,7 +93,15 @@ static const struct macronix_spi_flash_params macronix_spi_flash_table[] = { .pages_per_sector = 16, .sectors_per_block = 16, .nr_blocks = 64, - .name = "MX25L3235D", /* MX25L3225D/MX25L3235D/MX25L3237D */ + .name = "MX25L3235D", /* MX25L3225D/MX25L3235D/MX25L3236D/MX25L3237D */ + }, + { + .idcode = 0x2536, + .page_size = 256, + .pages_per_sector = 16, + .sectors_per_block = 16, + .nr_blocks = 64, + .name = "MX25L3239E", }, { .idcode = 0x2017, |