coreboot-kgpe-d16/src
Aaron Durbin 67e4df8b65 drivers/spi: remove unconditional RW boot device initialization
The SPI drivers for the various chipsets are not consistent in
their handling of when they are accessible. Coupled with the
unknown ordering of boot_device_init() being called this can
lead to unexpected behavior (probing failures or hangs). Instead
move the act of initializing the SPI flash boot device to when
the various infrastructure requires its usage when it calls
boot_device_rw(). Those platforms utilizing the RW boot device
would need to ensure their SPI drivers are functional and
ready when the call happens.

This further removes any other systems failing to boot as
reported in https://ticket.coreboot.org/issues/67.

BUG=chrome-os-partner:56151

Change-Id: Ib3bddf5e26bf5322f3dd20345eeef6bee40f0f66
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/16300
Tested-by: build bot (Jenkins)
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
2016-08-24 15:46:38 +02:00
..
acpi src/acpi: Capitalize ACPI and SATA 2016-07-31 19:25:40 +02:00
arch arch/riscv: Add functions to read/write memory on behalf of supervisor/user mode 2016-08-23 23:48:54 +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 src/cpu: Capitalize CPU, APIC and IOAPIC typo fix 2016-08-23 15:43:58 +02:00
device src/device: Capitalize CPU, RAM and ROM 2016-07-31 18:33:30 +02:00
drivers drivers/spi: remove unconditional RW boot device initialization 2016-08-24 15:46:38 +02:00
ec google/chromeec: Ensure data is ready before reading it 2016-08-20 10:48:37 +02:00
include memlayout: Ensure TIMESTAMP() region is big enough to avoid BUG() 2016-08-23 21:33:29 +02:00
lib memlayout: Ensure TIMESTAMP() region is big enough to avoid BUG() 2016-08-23 21:33:29 +02:00
mainboard arch/riscv: Implement the SBI again 2016-08-23 23:47:01 +02:00
northbridge src/northbridge: Remove unnecessary whitespace before "\n" and "\t" 2016-08-23 15:43:27 +02:00
soc soc/intel/apollolake: Add ASL methods for eMMC 2016-08-24 06:44:48 +02:00
southbridge src/southbridge: Remove unnecessary whitespace before "\n" and "\t" 2016-08-23 15:45:33 +02:00
superio superio/*: Relocate Kconfig to chip folder. 2016-08-09 10:38:30 +02:00
vboot vboot/vbnv_flash: fix return value check for rdev_writeat() 2016-08-24 00:09:23 +02:00
vendorcode drivers/elog: use region_device for NV storage 2016-08-19 18:18:08 +02:00
Kconfig arch/riscv: Print the page table structure after construction 2016-08-23 16:04:55 +02:00