coreboot/src/drivers/spi
Richard Spiegel 563b8694d2 drivers/spi/spi_flash.c: Add SPI vendor IDs
Currently SPI vendor IDs are magic numbers in spi_flash.c. These definitions
are needed for AMD's fch_spi. So add the definitions to spi_generic.h and use
it at spi_flash.c

BUG=b:136595978
TEST=Build test of several platforms that don't use stoneyridge. Build and boot
grunt (using stoneyridge new fch_spi).

Change-Id: Ie39485d8c092151db8c9d88afaf02e19c507c93f
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35240
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Martin Roth <martinroth@google.com>
2019-09-04 22:40:46 +00:00
..
acpi src/drivers: Remove needless '&' on function pointers 2019-01-23 14:43:49 +00:00
tpm src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
adesto.c include/spi-generic: Append unit to macro names 2019-07-23 15:51:04 +00:00
amic.c include/spi-generic: Append unit to macro names 2019-07-23 15:51:04 +00:00
atmel.c include/spi-generic: Append unit to macro names 2019-07-23 15:51:04 +00:00
bitbang.c spi: Add helper functions for bit-banging 2018-04-03 00:34:52 +00:00
boot_device_rw_nommap.c boot_device: Constify argument 2019-05-12 07:47:45 +00:00
cbfs_spi.c cbfs_spi: Enable speed logging by default for BIOS_DEBUG 2019-06-10 18:01:03 +00:00
eon.c include/spi-generic: Append unit to macro names 2019-07-23 15:51:04 +00:00
flashconsole.c src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
gigadevice.c include/spi-generic: Append unit to macro names 2019-07-23 15:51:04 +00:00
Kconfig drivers/spi: Remove Kconfig prompt from SPI_FLASH_SMM 2018-06-11 08:43:30 +00:00
macronix.c include/spi-generic: Append unit to macro names 2019-07-23 15:51:04 +00:00
Makefile.inc drivers/spi: Treat all stages commonly when adding drivers 2018-06-11 08:43:09 +00:00
spansion.c include/spi-generic: Append unit to macro names 2019-07-23 15:51:04 +00:00
spi-generic.c Move compiler.h to commonlib 2018-10-08 16:57:27 +00:00
spi_flash.c drivers/spi/spi_flash.c: Add SPI vendor IDs 2019-09-04 22:40:46 +00:00
spi_flash_internal.h include/spi-generic: move common flash timeouts 2019-07-23 15:43:38 +00:00
spi_winbond.h drivers/spi: Move M25Pxx commands to spi_winbond.h 2019-04-11 12:00:56 +00:00
spiconsole.c
sst.c include/spi-generic: Append unit to macro names 2019-07-23 15:51:04 +00:00
stmicro.c include/spi-generic: Append unit to macro names 2019-07-23 15:51:04 +00:00
winbond.c include/spi-generic: Append unit to macro names 2019-07-23 15:51:04 +00:00