summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2024-03-15 12:39:31 -0600
committerMartin L Roth <gaumless@gmail.com>2024-03-17 16:50:25 +0000
commit614fb7a51cd2e378f8aa84392f0700ac3ef5f1a3 (patch)
treec22aeeaf9ddc316a0463b8b8b56c89ee9e368ac0
parentb668f41cce21bafb6d5cef924661ad1b5b1ebbad (diff)
drivers/spi: Add support for GD25LR512ME flash rom
This device is used on the AMD BirmanPlus board. Change-Id: Iadb819e89a349d074e5ae9f4b62a06176f1f8f64 Signed-off-by: Martin Roth <gaumless@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81284 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
-rw-r--r--src/drivers/spi/gigadevice.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/drivers/spi/gigadevice.c b/src/drivers/spi/gigadevice.c
index 16ba27f9e6..50bc222d99 100644
--- a/src/drivers/spi/gigadevice.c
+++ b/src/drivers/spi/gigadevice.c
@@ -124,6 +124,13 @@ static const struct spi_flash_part_id flash_table[] = {
.fast_read_dual_output_support = 1,
.fast_read_dual_io_support = 1,
},
+ {
+ /* GD25LR512ME - 64MiB */
+ .id[0] = 0x671A,
+ .nr_sectors_shift = 14,
+ .fast_read_dual_output_support = 1,
+ .fast_read_dual_io_support = 1,
+ },
};
const struct spi_flash_vendor_info spi_flash_gigadevice_vi = {