coreboot/src
Aaron Durbin e668fdeaba UPSTREAM: 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
BRANCH=None
TEST=None

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>

Change-Id: Ib3bddf5e26bf5322f3dd20345eeef6bee40f0f66
Reviewed-on: https://chromium-review.googlesource.com/374983
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-08-25 01:44:30 -07:00
..
acpi UPSTREAM: src/acpi: Capitalize ACPI and SATA 2016-08-04 23:37:57 -07:00
arch UPSTREAM: arch/riscv: Add functions to read/write memory on behalf of supervisor/user mode 2016-08-24 17:40:20 -07:00
commonlib UPSTREAM: commonlib/region: allow empty mmap()/munmap() in region_device_ops 2016-08-16 03:08:37 -07:00
console UPSTREAM: console: Add write line routine 2016-08-14 19:50:25 -07:00
cpu UPSTREAM: src/cpu: Capitalize CPU, APIC and IOAPIC typo fix 2016-08-23 15:36:15 -07:00
device UPSTREAM: src/device: Capitalize CPU, RAM and ROM 2016-08-04 23:37:13 -07:00
drivers UPSTREAM: drivers/spi: remove unconditional RW boot device initialization 2016-08-25 01:44:30 -07:00
ec UPSTREAM: google/chromeec: Ensure data is ready before reading it 2016-08-22 23:26:37 -07:00
include UPSTREAM: memlayout: Ensure TIMESTAMP() region is big enough to avoid BUG() 2016-08-24 17:40:09 -07:00
lib Provide CAR decoration for tpm2 statics 2016-08-24 17:40:55 -07:00
mainboard UPSTREAM: arch/riscv: Implement the SBI again 2016-08-24 17:40:16 -07:00
northbridge UPSTREAM: src/northbridge: Remove unnecessary whitespace before "\n" and "\t" 2016-08-23 15:36:13 -07:00
soc UPSTREAM: soc/intel/apollolake: Add ASL methods for eMMC 2016-08-25 01:44:28 -07:00
southbridge UPSTREAM: src/southbridge: Remove unnecessary whitespace before "\n" and "\t" 2016-08-23 15:36:18 -07:00
superio UPSTREAM: superio/*: Relocate Kconfig to chip folder. 2016-08-14 13:26:19 -07:00
vboot UPSTREAM: vboot/vbnv_flash: fix return value check for rdev_writeat() 2016-08-24 17:40:25 -07:00
vendorcode UPSTREAM: drivers/elog: use region_device for NV storage 2016-08-22 00:11:48 -07:00
Kconfig UPSTREAM: arch/riscv: Print the page table structure after construction 2016-08-23 15:36:25 -07:00