coreboot-kgpe-d16/src/drivers/spi
Aaron Durbin c0a823c737 drivers/spi: ensure SPI flash is boot device for coreboot tables
The spi_flash_probe() routine was setting a global varible
unconditonally regardless if the probe was for the boot device
or even if the boot devcie was flash. Moreover, there's no need
to report the SPI information if the boot device isn't even SPI.

Lastly, it's possible that the boot device is a SPI flash, but
the platform may never probe (selecting SPI_FLASH) for the
actual device connected. In that situation don't fill anything
in as no correct information is known.

BUG=chrome-os-partner:56151

Change-Id: Ib0eba601df4d77bede313c358c92b0536355bbd0
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/16197
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
2016-08-19 18:14:20 +02:00
..
tpm tpm2: Fixed typo 2016-08-19 00:24:08 +02:00
adesto.c
amic.c
atmel.c
cbfs_spi.c lib/cbfs_spi: provide boot_device_rw() support 2016-08-19 03:08:17 +02:00
eon.c
gigadevice.c
Kconfig Kconfig: introduce writable boot device notion 2016-08-19 03:05:18 +02:00
macronix.c
Makefile.inc drivers/spi: move cbfs_spi.c location 2016-08-19 03:05:07 +02:00
spansion.c
spi_flash.c drivers/spi: ensure SPI flash is boot device for coreboot tables 2016-08-19 18:14:20 +02:00
spi_flash_internal.h
spiconsole.c Remove extra newlines from the end of all coreboot files. 2016-07-31 18:19:33 +02:00
sst.c
stmicro.c drivers/spi: Add support for Micron N25Q128A 2016-08-05 07:41:59 +02:00
winbond.c