diff options
author | Idwer Vollering <vidwer@gmail.com> | 2014-10-26 01:20:20 +0200 |
---|---|---|
committer | Idwer Vollering <vidwer@gmail.com> | 2014-10-27 13:53:51 +0100 |
commit | 06413ff513600ecb7ef7bf486d8871cce01b7d70 (patch) | |
tree | aa67a5d5af09f892491b9bb9d3f29372f324afc8 | |
parent | f21bdc3020b24cce585c4df69b06913177c94182 (diff) |
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 <alexlu6@mxic.com.tw>
Signed-off-by: Idwer Vollering <vidwer@gmail.com>
Reviewed-on: http://review.coreboot.org/7194
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Tested-by: build bot (Jenkins)
-rw-r--r-- | src/drivers/spi/macronix.c | 16 |
1 files changed, 16 insertions, 0 deletions
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, |