summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-11-11 15:01:31 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-12-03 05:20:34 +0100
commit3f382c7c088d8abaecffd7a6def80b2150150938 (patch)
tree61b7ddca4392f3cc96ad52a8d8fd17b5b5ea6b31 /src
parent893a55ec8976529f3f41a22ce7a9a0a2ed9501b4 (diff)
downloadcoreboot-3f382c7c088d8abaecffd7a6def80b2150150938.tar.xz
SPI: Add Macronix part MX25U12835F
Change-Id: I82482419afdf536a19b99c79131fa5844aaaec07 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/7432 Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src')
-rw-r--r--src/drivers/spi/macronix.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/drivers/spi/macronix.c b/src/drivers/spi/macronix.c
index c9338ed527..5b58e869f3 100644
--- a/src/drivers/spi/macronix.c
+++ b/src/drivers/spi/macronix.c
@@ -128,6 +128,14 @@ static const struct macronix_spi_flash_params macronix_spi_flash_table[] = {
.name = "MX25U6435F",
},
{
+ .idcode = 0x2538,
+ .page_size = 256,
+ .pages_per_sector = 16,
+ .sectors_per_block = 16,
+ .nr_blocks = 256,
+ .name = "MX25U12835F",
+ },
+ {
.idcode = 0x9517,
.page_size = 256,
.pages_per_sector = 16,