coreboot/src
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
..
acpi src/acpi: Capitalize ACPI and SATA 2016-07-31 19:25:40 +02:00
arch arch/riscv: Improve and refactor trap handling diagnostics 2016-08-15 18:28:03 +02:00
commonlib commonlib/region: allow empty mmap()/munmap() in region_device_ops 2016-08-15 21:03:06 +02:00
console console: Add write line routine 2016-08-10 22:30:19 +02:00
cpu Kconfig: rename BOOT_MEDIA_SPI_BUS to BOOT_DEVICE_SPI_FLASH_BUS 2016-08-18 22:04:34 +02:00
device src/device: Capitalize CPU, RAM and ROM 2016-07-31 18:33:30 +02:00
drivers drivers/spi: be sure to call spi_init() before spi_flash_probe() 2016-08-23 15:17:00 +02:00
ec google/chromeec: Ensure data is ready before reading it 2016-08-20 10:48:37 +02:00
include lib/fmap: provide RW region device support 2016-08-19 18:17:04 +02:00
lib lib/fmap: provide RW region device support 2016-08-19 18:17:04 +02:00
mainboard mb/asus/kgpe-d16: Add TPM support 2016-08-22 19:03:23 +02:00
northbridge x4x: make preallocated IGD memory a cmos option 2016-08-09 10:43:03 +02:00
soc intel/skylake: Do not halt in poweroff if in SMM 2016-08-20 10:48:47 +02:00
southbridge bd82x6x/pch: move global variables to static variables in functions 2016-08-19 03:02:53 +02:00
superio superio/*: Relocate Kconfig to chip folder. 2016-08-09 10:38:30 +02:00
vboot vboot/vbnv_flash: make I/O connection agnostic 2016-08-19 18:18:57 +02:00
vendorcode drivers/elog: use region_device for NV storage 2016-08-19 18:18:08 +02:00
Kconfig Kconfig: introduce writable boot device notion 2016-08-19 03:05:18 +02:00