summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorDave Frodin <dave.frodin@se-eng.com>2014-11-24 10:37:29 -0700
committerDave Frodin <dave.frodin@se-eng.com>2014-12-09 18:28:48 +0100
commit018560667a06f17b324e078b7f978d80d8ef65a4 (patch)
treeb04cacaaf1140c162e34c01cf4ec269fe850f2d7 /src/drivers
parentc7eaf7730db0ce5bf2f9701dc79d7fed50bea963 (diff)
downloadcoreboot-018560667a06f17b324e078b7f978d80d8ef65a4.tar.xz
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>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/spi/macronix.c10
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,