coreboot-kgpe-d16/src/soc/intel/broadwell
Furquan Shaikh 94f8699d44 spi: Define and use spi_ctrlr structure
1. Define a new structure spi_ctrlr that allows platforms to define
callbacks for spi operations (claim bus, release bus, transfer).
2. Add a new member (pointer to spi_ctrlr structure) in spi_slave
structure which will be initialized by call to spi_setup_slave.
3. Define spi_claim_bus, spi_release_bus and spi_xfer in spi-generic.c
which will make appropriate calls to ctrlr functions.

BUG=chrome-os-partner:59832
BRANCH=None
TEST=Compiles successfully

Change-Id: Icb2326e3aab1e8f4bef53f553f82b3836358c55e
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/17684
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-12-05 03:29:04 +01:00
..
acpi broadwell: gpio.asl: Make GWAK method serialized 2016-01-21 02:25:30 +01:00
bootblock soc/intel: Update license headers 2016-04-14 16:54:33 +02:00
include/soc chromeos mainboards: remove chromeos.asl 2016-07-30 01:36:32 +02:00
romstage romstage_handoff: remove code duplication 2016-12-01 08:16:15 +01:00
acpi.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
adsp.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
chip.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
chip.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cpu.c src/soc: Capitalize CPU, ACPI, RAM and ROM 2016-07-31 19:27:53 +02:00
cpu_info.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ehci.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
elog.c soc/intel/broadwell: use common Intel ACPI hardware definitions 2016-07-15 08:32:49 +02:00
finalize.c broadwell: Fix CONFIG_SPI_CONSOLE usage 2015-12-27 17:42:46 +01:00
gpio.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
hda.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
igd.c bootmode: Get rid of CONFIG_BOOTMODE_STRAPS 2016-07-28 00:36:22 +02:00
iobp.c soc/intel/broadwell: Init var before use, only use when needed 2015-12-20 02:41:57 +01:00
Kconfig Remove explicit select MMCONF_SUPPORT 2016-11-22 04:15:11 +01:00
lpc.c src/soc: Add required space before opening parenthesis '(' 2016-08-31 20:09:42 +02:00
Makefile.inc soc/intel/broadwell: Add back support for EHCI debug setup 2015-12-27 17:45:06 +01:00
me.c intel/broadwell: "free" memory after use 2016-10-19 21:26:49 +02:00
me_status.c broadwell/me: Fix out-of-bounds array access error 2016-05-04 16:33:24 +02:00
memmap.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
minihd.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
monotonic_timer.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pch.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pcie.c intel/broadwell: fix typo 2016-07-31 19:01:56 +02:00
pei_data.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pmutil.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ramstage.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
refcode.c soc/intel/broadwell: use common Intel ACPI hardware definitions 2016-07-15 08:32:49 +02:00
reset.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
sata.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
serialio.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
smbus.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
smbus_common.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
smi.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
smihandler.c src/soc: Add required space before opening parenthesis '(' 2016-08-31 20:09:42 +02:00
smmrelocate.c src/soc: Capitalize CPU, ACPI, RAM and ROM 2016-07-31 19:27:53 +02:00
spi.c spi: Define and use spi_ctrlr structure 2016-12-05 03:29:04 +01:00
stage_cache.c src/soc: Capitalize CPU, ACPI, RAM and ROM 2016-07-31 19:27:53 +02:00
systemagent.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
tsc_freq.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
usb_debug.c soc/intel/broadwell: Add back support for EHCI debug setup 2015-12-27 17:45:06 +01:00
xhci.c soc/intel/broadwell: use common Intel ACPI hardware definitions 2016-07-15 08:32:49 +02:00