aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/spi/spi_flash_internal.h
diff options
context:
space:
mode:
authorMartin Roth <martin@se-eng.com>2012-09-07 15:02:35 -0600
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-11-09 19:03:35 +0100
commitbceaf7fea0e8201653e62e0f6f18fb845baea219 (patch)
treebfee68631411aece53d663442ceb8a3b4b11693a /src/drivers/spi/spi_flash_internal.h
parent39f6bb64d1cfaf8abd8d9efd2df8536e003ad9fc (diff)
Add Gigadevice SPI rom support
Add support for GigaDevice SPI ROMS. The GD25Q64B device has been tested, the other rom devices added to the file have not. Change-Id: If35676ca6b90329f15667ebb32efa0d1a159ae91 Signed-off-by: Martin Roth <martin@se-eng.com> Reviewed-on: http://review.coreboot.org/1747 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/drivers/spi/spi_flash_internal.h')
-rw-r--r--src/drivers/spi/spi_flash_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/spi/spi_flash_internal.h b/src/drivers/spi/spi_flash_internal.h
index b895e2b4f3..37ffee64f8 100644
--- a/src/drivers/spi/spi_flash_internal.h
+++ b/src/drivers/spi/spi_flash_internal.h
@@ -78,4 +78,6 @@ struct spi_flash *spi_flash_probe_macronix(struct spi_slave *spi, u8 *idcode);
struct spi_flash *spi_flash_probe_sst(struct spi_slave *spi, u8 *idcode);
struct spi_flash *spi_flash_probe_stmicro(struct spi_slave *spi, u8 *idcode);
struct spi_flash *spi_flash_probe_winbond(struct spi_slave *spi, u8 *idcode);
+struct spi_flash *spi_flash_probe_gigadevice(struct spi_slave *spi,
+ u8 *idcode);
struct spi_flash *spi_fram_probe_ramtron(struct spi_slave *spi, u8 *idcode);