summaryrefslogtreecommitdiff
path: root/src/drivers/spi/Makefile.inc
diff options
context:
space:
mode:
authorChris Douglass <cdouglass.orion@gmail.com>2014-02-14 13:51:26 -0500
committerStefan Reinauer <stefan.reinauer@coreboot.org>2014-03-12 01:03:31 +0100
commitb34739b4b05cc87258097e0fbf3db1f7c93ec16c (patch)
treeef531ba400d8b73aac7d2431bcf376ee00f1d5c1 /src/drivers/spi/Makefile.inc
parent06ece7de93a6e0820fa21a86d2312c6fd9209aea (diff)
drivers/spi: Add support for adesto SPI flash parts
Adds support for the following Adesto Technologies SPI Flash parts. AT25DF081 AT25DF321 AT25DF641 It has been tested on an Orion VPX7654 board populated with an AT25DF321A part. The "08" and "64" densities have not been tested. These parts are the successors of the Atmel AT26DF line that was spun out or purchased by Adesto. In this patch, adesto.c is identical to winbond.c with part entries for the Adesto parts. The datasheet for the AT25DF parts includes a "100MHz" programming command in addition to the "85MHz" command that is currently used but this patch does not add support for that enhanced programming mode. Change-Id: If82d075fd9000030480c412c645dcae2c8bb7439 Signed-off-by: Christopher Douglass <cdouglass.orion@gmail.com> Reviewed-on: http://review.coreboot.org/5225 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/drivers/spi/Makefile.inc')
-rw-r--r--src/drivers/spi/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/spi/Makefile.inc b/src/drivers/spi/Makefile.inc
index ca98149d85..d05449bc1c 100644
--- a/src/drivers/spi/Makefile.inc
+++ b/src/drivers/spi/Makefile.inc
@@ -2,6 +2,7 @@
ramstage-$(CONFIG_SPI_FLASH) += spi_flash.c
# drivers
+ramstage-$(CONFIG_SPI_FLASH_ADESTO) += adesto.c
ramstage-$(CONFIG_SPI_FLASH_AMIC) += amic.c
ramstage-$(CONFIG_SPI_FLASH_EON) += eon.c
ramstage-$(CONFIG_SPI_FLASH_GIGADEVICE) += gigadevice.c
@@ -17,6 +18,7 @@ ifeq ($(CONFIG_SPI_FLASH_SMM),y)
smm-$(CONFIG_SPI_FLASH) += spi_flash.c
# drivers
+smm-$(CONFIG_SPI_FLASH_ADESTO) += adesto.c
smm-$(CONFIG_SPI_FLASH_AMIC) += amic.c
smm-$(CONFIG_SPI_FLASH_EON) += eon.c
smm-$(CONFIG_SPI_FLASH_MACRONIX) += macronix.c