coreboot-kgpe-d16/src/soc/intel/skylake
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
..
acpi soc/intel/skylake: Add _ACx methods for TSR0 sensor for fan control 2016-11-07 20:41:36 +01:00
bootblock soc/skylake: Move IO decode range out from pch_lpc_init 2016-11-30 16:57:42 +01:00
include soc/skylake: Move IO decode range out from pch_lpc_init 2016-11-30 16:57:42 +01:00
nhlt soc/intel/{common,skylake}: provide common NHLT SoC support 2016-06-29 23:15:48 +02:00
romstage soc/intel/skylake: Pass proper CPU flex ratio override to FSP 2016-11-30 17:11:41 +01:00
acpi.c soc/intel/skylake: don't hardcode GPE0 standard reg 2016-10-28 19:01:48 +02:00
chip.c soc/intel/skylake: Add USB Port Over Current (OC) Pin programming 2016-11-28 19:00:36 +01:00
chip.h soc/intel/common/lpss_i2c: simplify API and use common config structure 2016-11-11 03:11:45 +01:00
chip_fsp20.c romstage_handoff: add helper to determine resume status 2016-12-01 08:16:27 +01:00
cpu.c skylake: Update the thermal time window for throttling action 2016-11-14 17:20:38 +01:00
cpu_info.c
dsp.c skylake: Add Audio DSP device 2016-05-31 18:45:15 +02:00
early_smbus.c soc/intel/skylake: Define early smbus functions 2016-11-23 22:54:14 +01:00
elog.c soc/intel/skylake: Cleanup patch for Skylake SoC 2016-08-08 18:18:57 +02:00
finalize.c skylake: Do FspTempRamInit only for FSP1.1 & tidy up PCH early init 2016-08-18 06:26:40 +02:00
flash_controller.c spi_flash: Make a deep copy of spi_slave structure 2016-12-06 07:17:28 +01:00
gpio.c soc/intel/skylake: Remove pad configuration size hardcoding 2016-11-30 16:54:36 +01:00
i2c.c soc/intel/common/lpss_i2c: configure buses by rise/fall times 2016-11-12 00:19:22 +01:00
igd.c soc/intel/skylake: Add FSP 2.0 support in ramstage 2016-09-19 21:32:22 +02:00
irq.c soc/intel/skylake: Add FSP 2.0 support in ramstage 2016-09-19 21:32:22 +02:00
Kconfig soc/intel/skylake: Initialize UART based on CONFIG_UART_DEBUG 2016-11-28 06:58:16 +01:00
lpc.c soc/intel/skylake: Add device id for PCH-Y 2016-11-07 19:20:21 +01:00
Makefile.inc soc/intel/skylake: Define early smbus functions 2016-11-23 22:54:14 +01:00
me.c soc/intel/skylake: Implement Global Reset MEI message 2016-10-16 02:50:26 +02:00
memmap.c soc/intel/skylake: Fix top_of_ram calculation 2016-11-30 16:59:10 +01:00
monotonic_timer.c
opregion.c skylake: Add initial FSP2.0 support 2016-08-31 20:02:07 +02:00
pch.c soc/intel/skylake: Cleanup patch for Skylake SoC 2016-08-08 18:18:57 +02:00
pcie.c
pcr.c intel/skylake: Init variable so GCC knows it's set 2016-01-15 22:41:11 +01:00
pei_data.c
pmc.c skylake: Prepare GPE for use in bootblock 2016-10-27 16:30:36 +02:00
pmutil.c soc/intel/{sky,apollo}lake: Wait until GPE is clear when reading 2016-11-07 20:39:02 +01:00
reset.c soc/intel/skylake: Handle platform global reset 2016-10-16 02:51:25 +02:00
sata.c soc/intel/skylake: Fix SATA booting to OS issue 2016-11-07 20:11:43 +01:00
sd.c acpi: Change device properties to work as a tree 2016-07-08 17:21:26 +02:00
smbus.c
smbus_common.c
smi.c skylake: Add support for eSPI SMI events 2016-10-27 16:30:54 +02:00
smihandler.c skylake: Add support for eSPI SMI events 2016-10-27 16:30:54 +02:00
smmrelocate.c src/soc: Capitalize CPU, ACPI, RAM and ROM 2016-07-31 19:27:53 +02:00
systemagent.c soc/intel/skylake: Add Kabylake device Ids 2016-08-06 04:36:46 +02:00
tsc_freq.c
uart.c
uart_debug.c drivers/uart: Use uart_platform_refclk for all UART models 2016-05-09 18:45:44 +02:00
vr_config.c skylake: Add initial FSP2.0 support 2016-08-31 20:02:07 +02:00
xhci.c