From f3e4cec9195837ae6a6e6c62c2aded5b19f07d08 Mon Sep 17 00:00:00 2001 From: Ritul Guru Date: Tue, 8 Nov 2022 16:59:03 +0530 Subject: drivers/spi: Add support for Macronix SPI ROM MX77U25650F Change-Id: I8fedea1d566f0c35a9e028d4b2bb939592bd5f74 Signed-off-by: Ritul Guru Reviewed-on: https://review.coreboot.org/c/coreboot/+/69381 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/drivers/spi/macronix.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/drivers') 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 = { -- cgit v1.2.3