diff options
author | Richard Spiegel <richard.spiegel@amd.corp-partner.google.com> | 2019-09-03 11:54:55 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2019-09-04 22:40:46 +0000 |
commit | 563b8694d247b718f6288b54f0d4055cefec40a8 (patch) | |
tree | 05d8a47de8ea82207a020b3619048fb5b27730ca /util/riscv/make-spike-elf.sh | |
parent | 28086f0d2c6b8a321087d6bd201e8caa72996522 (diff) |
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>
Diffstat (limited to 'util/riscv/make-spike-elf.sh')
0 files changed, 0 insertions, 0 deletions