commit | f3e4cec9195837ae6a6e6c62c2aded5b19f07d08 | [log] [tgz] |
---|---|---|
author | Ritul Guru <ritul.bits@gmail.com> | Tue Nov 08 16:59:03 2022 +0530 |
committer | Martin L Roth <gaumless@gmail.com> | Thu Nov 10 15:14:26 2022 +0000 |
tree | 66d2c6b9fd618b0800d867883365ec722a52a605 | |
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>
diff --git a/src/drivers/spi/macronix.c b/src/drivers/spi/macronix.c index b6981e0..cc834d9 100644 --- a/src/drivers/spi/macronix.c +++ b/src/drivers/spi/macronix.c
@@ -138,6 +138,11 @@ .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 = {