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>
diff --git a/src/drivers/spi/macronix.c b/src/drivers/spi/macronix.c
index 5b58e869..1516770 100644
--- a/src/drivers/spi/macronix.c
+++ b/src/drivers/spi/macronix.c
@@ -93,7 +93,15 @@
.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,