diff options
author | Ritul Guru <ritul.bits@gmail.com> | 2022-11-08 16:59:03 +0530 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2022-11-10 15:14:26 +0000 |
commit | f3e4cec9195837ae6a6e6c62c2aded5b19f07d08 (patch) | |
tree | 66d2c6b9fd618b0800d867883365ec722a52a605 /src/drivers | |
parent | 21552aee3f9dbbb5c7bc1417f245a82b0fa8943d (diff) |
drivers/spi: Add support for Macronix SPI ROM MX77U25650F
Change-Id: I8fedea1d566f0c35a9e028d4b2bb939592bd5f74
Signed-off-by: Ritul Guru <ritul.bits@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69381
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/spi/macronix.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/spi/macronix.c b/src/drivers/spi/macronix.c index b6981e045d..cc834d9ee9 100644 --- a/src/drivers/spi/macronix.c +++ b/src/drivers/spi/macronix.c @@ -138,6 +138,11 @@ static const struct spi_flash_part_id flash_table[] = { .id[0] = 0x9517, .nr_sectors_shift = 11, }, + { + /* MX77U25650F */ + .id[0] = 0x7539, + .nr_sectors_shift = 13, + }, }; const struct spi_flash_vendor_info spi_flash_macronix_vi = { |