coreboot/src/drivers
Aaron Durbin df76f8983f drivers/spi: be sure to call spi_init() before spi_flash_probe()
It's necessary to call spi_init() prior to calling spi_flash_probe()
such that the SPI drivers can do any work required prior to performing
SPI transactions.  It could be argued that the drivers should handle
such situations, however the SPI API implementations seem to assume the
callers ensured spi_init() was called before any SPI transactions.

This fixes systems that failed to boot introduced by [1]. Issue tracked
in https://ticket.coreboot.org/issues/67.

[1] I2aa75f88409309e3f9b9bd79b52d27c0061139c8
    https://review.coreboot.org/16200

BUG=chrome-os-partner:56151

Change-Id: I2d8d5ac685833521f1efe212b07a4b61ba0d9bc3
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/16297
Tested-by: build bot (Jenkins)
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@googlemail.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
2016-08-23 15:17:00 +02:00
..
ams drivers/ams: Set default values in Kconfig 2015-11-22 01:39:44 +01:00
aspeed Remove extra newlines from the end of all coreboot files. 2016-07-31 18:19:33 +02:00
ati/ragexl drivers/ati: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:37:20 +02:00
dec/21143 kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:18 +02:00
elog drivers/elog: use region_device for NV storage 2016-08-19 18:18:08 +02:00
emulation/qemu drivers/emulation: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:37:08 +02:00
generic acpi: Change device properties to work as a tree 2016-07-08 17:21:26 +02:00
gic arm64: Remove cpu intialization through device-tree 2015-11-07 03:29:35 +01:00
i2c i2c/w83795: Fix chip type message 2016-08-02 14:02:59 +02:00
ics/954309 drivers/ics: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:43 +02:00
intel drivers/intel/fsp2_0: Add SMBIOS memory HOB support 2016-08-20 08:56:25 +02:00
ipmi tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
lenovo Remove extra newlines from the end of all coreboot files. 2016-07-31 18:19:33 +02:00
maxim drivers/aspeed: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:17 +02:00
net drivers/net/r8168: Add driver for realtek nic 2016-05-31 20:03:39 +02:00
parade parade/ps8640: Initialize edid_size 2016-05-08 08:11:26 +02:00
pc80 src/drivers: Capitalize CPU, RAM and ACPI 2016-07-31 19:29:22 +02:00
ricoh/rce822 drivers/ricoh: Fully switch to src/drivers/[X]/[Y]/ scheme 2016-04-22 20:11:52 +02:00
siemens/nc_fpga siemens/nc_fpga: Add driver for Siemens NC FPGA 2016-07-06 22:38:58 +02:00
sil/3114 drivers/sil: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:05 +02:00
spi drivers/spi: be sure to call spi_init() before spi_flash_probe() 2016-08-23 15:17:00 +02:00
ti drivers/ti: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:36 +02:00
uart drivers/uart: Enable debug serial output during postcar 2016-07-25 23:28:32 +02:00
usb tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
xgi Add newlines at the end of all coreboot files 2016-08-01 21:43:56 +02:00
xpowers/axp209 Remove non-ascii & unprintable characters 2016-08-01 21:44:45 +02:00