Stefan Reinauer | 1c56d9b | 2012-05-10 11:27:32 -0700 | [diff] [blame] | 1 | # SPI flash driver interface |
Vadim Bendebury | adcb095 | 2014-05-01 12:23:09 -0700 | [diff] [blame] | 2 | |
Martin Roth | 3a54318 | 2015-09-28 15:27:24 -0600 | [diff] [blame] | 3 | ifeq ($(CONFIG_SPI_CONSOLE),y) |
| 4 | ramstage-y += spiconsole.c |
| 5 | smm-$(CONFIG_DEBUG_SMI) += spiconsole.c |
| 6 | endif |
| 7 | |
Vadim Bendebury | adcb095 | 2014-05-01 12:23:09 -0700 | [diff] [blame] | 8 | ifeq ($(CONFIG_COMMON_CBFS_SPI_WRAPPER),y) |
| 9 | bootblock-y += spi_flash.c |
| 10 | bootblock-$(CONFIG_SPI_FLASH_EON) += eon.c |
| 11 | bootblock-$(CONFIG_SPI_FLASH_GIGADEVICE) += gigadevice.c |
| 12 | bootblock-$(CONFIG_SPI_FLASH_MACRONIX) += macronix.c |
| 13 | bootblock-$(CONFIG_SPI_FLASH_SPANSION) += spansion.c |
| 14 | bootblock-$(CONFIG_SPI_FLASH_SST) += sst.c |
| 15 | bootblock-$(CONFIG_SPI_FLASH_STMICRO) += stmicro.c |
| 16 | bootblock-$(CONFIG_SPI_FLASH_WINBOND) += winbond.c |
| 17 | bootblock-$(CONFIG_SPI_FRAM_RAMTRON) += ramtron.c |
| 18 | |
| 19 | romstage-$(CONFIG_SPI_FLASH) += spi_flash.c |
| 20 | romstage-$(CONFIG_SPI_FLASH_EON) += eon.c |
| 21 | romstage-$(CONFIG_SPI_FLASH_GIGADEVICE) += gigadevice.c |
| 22 | romstage-$(CONFIG_SPI_FLASH_MACRONIX) += macronix.c |
| 23 | romstage-$(CONFIG_SPI_FLASH_SPANSION) += spansion.c |
| 24 | romstage-$(CONFIG_SPI_FLASH_SST) += sst.c |
| 25 | romstage-$(CONFIG_SPI_FLASH_STMICRO) += stmicro.c |
| 26 | romstage-$(CONFIG_SPI_FLASH_WINBOND) += winbond.c |
| 27 | romstage-$(CONFIG_SPI_FRAM_RAMTRON) += ramtron.c |
Vadim Bendebury | 3486d1f | 2014-10-16 11:24:12 -0700 | [diff] [blame] | 28 | |
| 29 | verstage-$(CONFIG_SPI_FLASH) += spi_flash.c |
| 30 | verstage-$(CONFIG_SPI_FLASH_EON) += eon.c |
| 31 | verstage-$(CONFIG_SPI_FLASH_GIGADEVICE) += gigadevice.c |
| 32 | verstage-$(CONFIG_SPI_FLASH_MACRONIX) += macronix.c |
| 33 | verstage-$(CONFIG_SPI_FLASH_SPANSION) += spansion.c |
| 34 | verstage-$(CONFIG_SPI_FLASH_SST) += sst.c |
| 35 | verstage-$(CONFIG_SPI_FLASH_STMICRO) += stmicro.c |
| 36 | verstage-$(CONFIG_SPI_FLASH_WINBOND) += winbond.c |
| 37 | verstage-$(CONFIG_SPI_FRAM_RAMTRON) += ramtron.c |
| 38 | |
Vadim Bendebury | adcb095 | 2014-05-01 12:23:09 -0700 | [diff] [blame] | 39 | endif |
| 40 | |
Stefan Reinauer | 1c56d9b | 2012-05-10 11:27:32 -0700 | [diff] [blame] | 41 | ramstage-$(CONFIG_SPI_FLASH) += spi_flash.c |
| 42 | |
| 43 | # drivers |
Chris Douglass | b34739b | 2014-02-14 13:51:26 -0500 | [diff] [blame] | 44 | ramstage-$(CONFIG_SPI_FLASH_ADESTO) += adesto.c |
Idwer Vollering | 73a1018 | 2014-02-16 00:32:13 +0000 | [diff] [blame] | 45 | ramstage-$(CONFIG_SPI_FLASH_AMIC) += amic.c |
Kyösti Mälkki | 96d9276 | 2014-11-11 15:04:38 +0200 | [diff] [blame] | 46 | ramstage-$(CONFIG_SPI_FLASH_ATMEL) += atmel.c |
Stefan Reinauer | 1c56d9b | 2012-05-10 11:27:32 -0700 | [diff] [blame] | 47 | ramstage-$(CONFIG_SPI_FLASH_EON) += eon.c |
Chris Douglass | f0e025a | 2014-02-18 11:21:02 -0500 | [diff] [blame] | 48 | ramstage-$(CONFIG_SPI_FLASH_GIGADEVICE) += gigadevice.c |
Stefan Reinauer | 1c56d9b | 2012-05-10 11:27:32 -0700 | [diff] [blame] | 49 | ramstage-$(CONFIG_SPI_FLASH_MACRONIX) += macronix.c |
| 50 | ramstage-$(CONFIG_SPI_FLASH_SPANSION) += spansion.c |
| 51 | ramstage-$(CONFIG_SPI_FLASH_SST) += sst.c |
| 52 | ramstage-$(CONFIG_SPI_FLASH_STMICRO) += stmicro.c |
| 53 | ramstage-$(CONFIG_SPI_FLASH_WINBOND) += winbond.c |
| 54 | ramstage-$(CONFIG_SPI_FRAM_RAMTRON) += ramtron.c |
| 55 | |
Duncan Laurie | 181bbdd | 2012-06-23 16:53:57 -0700 | [diff] [blame] | 56 | ifeq ($(CONFIG_SPI_FLASH_SMM),y) |
| 57 | # SPI flash driver interface |
| 58 | smm-$(CONFIG_SPI_FLASH) += spi_flash.c |
| 59 | |
| 60 | # drivers |
Chris Douglass | b34739b | 2014-02-14 13:51:26 -0500 | [diff] [blame] | 61 | smm-$(CONFIG_SPI_FLASH_ADESTO) += adesto.c |
Idwer Vollering | 73a1018 | 2014-02-16 00:32:13 +0000 | [diff] [blame] | 62 | smm-$(CONFIG_SPI_FLASH_AMIC) += amic.c |
Kyösti Mälkki | 96d9276 | 2014-11-11 15:04:38 +0200 | [diff] [blame] | 63 | smm-$(CONFIG_SPI_FLASH_ATMEL) += atmel.c |
Duncan Laurie | 181bbdd | 2012-06-23 16:53:57 -0700 | [diff] [blame] | 64 | smm-$(CONFIG_SPI_FLASH_EON) += eon.c |
| 65 | smm-$(CONFIG_SPI_FLASH_MACRONIX) += macronix.c |
Chris Douglass | f0e025a | 2014-02-18 11:21:02 -0500 | [diff] [blame] | 66 | smm-$(CONFIG_SPI_FLASH_GIGADEVICE) += gigadevice.c |
Duncan Laurie | 181bbdd | 2012-06-23 16:53:57 -0700 | [diff] [blame] | 67 | smm-$(CONFIG_SPI_FLASH_SPANSION) += spansion.c |
| 68 | smm-$(CONFIG_SPI_FLASH_SST) += sst.c |
| 69 | smm-$(CONFIG_SPI_FLASH_STMICRO) += stmicro.c |
| 70 | smm-$(CONFIG_SPI_FLASH_WINBOND) += winbond.c |
| 71 | smm-$(CONFIG_SPI_FRAM_RAMTRON) += ramtron.c |
Idwer Vollering | 73a1018 | 2014-02-16 00:32:13 +0000 | [diff] [blame] | 72 | endif |