From 06413ff513600ecb7ef7bf486d8871cce01b7d70 Mon Sep 17 00:00:00 2001 From: Idwer Vollering Date: Sun, 26 Oct 2014 01:20:20 +0200 Subject: [PATCH] drivers/spi: add Macronix MX25U6435F and MX25L6495F support Contributed by MXIC: http://www.coreboot.org/pipermail/coreboot/2014-October/078835.html Change-Id: I07f872a5cbb2b0ea63794edb8fbca40d7856ce10 Author: Alex Lu Signed-off-by: Idwer Vollering Reviewed-on: http://review.coreboot.org/7194 Reviewed-by: Edward O'Callaghan Tested-by: build bot (Jenkins) --- src/drivers/spi/macronix.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/drivers/spi/macronix.c b/src/drivers/spi/macronix.c index 8a6601b6ec..c9338ed527 100644 --- a/src/drivers/spi/macronix.c +++ b/src/drivers/spi/macronix.c @@ -119,6 +119,22 @@ static const struct macronix_spi_flash_params macronix_spi_flash_table[] = { .nr_blocks = 256, .name = "MX25L12855E", }, + { + .idcode = 0x2537, + .page_size = 256, + .pages_per_sector = 16, + .sectors_per_block = 16, + .nr_blocks = 128, + .name = "MX25U6435F", + }, + { + .idcode = 0x9517, + .page_size = 256, + .pages_per_sector = 16, + .sectors_per_block = 16, + .nr_blocks = 128, + .name = "MX25L6495F", + }, }; static int macronix_write(struct spi_flash *flash,