coreboot-kgpe-d16/src/soc/intel
Furquan Shaikh 810e2cde30 spi_flash: Make a deep copy of spi_slave structure
Commit 36b81af (spi: Pass pointer to spi_slave structure in
spi_setup_slave) changes the way spi_setup_slave handles the spi_slave
structure. Instead of expecting spi controller drivers to maintain
spi_slave structure in CAR_GLOBAL/data section, caller is expected to
manage the spi_slave structure. This requires that spi_flash drivers
maintain spi_slave structure and flash probe function needs to make a
copy of the passed in spi_slave structure.

This change fixes the regression on Lenovo X230 and other mainboards.

Change-Id: I0ad971eecaf3bfe301e9f95badc043193cc27cab
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/17728
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Iru Cai <mytbk920423@gmail.com>
2016-12-06 07:17:28 +01:00
..
apollolake spi_flash: Make a deep copy of spi_slave structure 2016-12-06 07:17:28 +01:00
baytrail spi: Define and use spi_ctrlr structure 2016-12-05 03:29:04 +01:00
braswell spi: Define and use spi_ctrlr structure 2016-12-05 03:29:04 +01:00
broadwell spi: Define and use spi_ctrlr structure 2016-12-05 03:29:04 +01:00
common soc/intel/common: Add suppport for Extended VBT 2016-12-02 21:51:01 +01:00
fsp_baytrail spi: Define and use spi_ctrlr structure 2016-12-05 03:29:04 +01:00
fsp_broadwell_de spi: Define and use spi_ctrlr structure 2016-12-05 03:29:04 +01:00
quark romstage_handoff: add helper to determine resume status 2016-12-01 08:16:27 +01:00
sch intel/sch: Switch to MMCONF_SUPPORT_DEFAULT 2016-11-29 17:07:24 +01:00
skylake spi_flash: Make a deep copy of spi_slave structure 2016-12-06 07:17:28 +01:00