coreboot/src/soc/broadcom/cygnus
Furquan Shaikh 9a2bc7d727 UPSTREAM: 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.

CQ-DEPEND=CL:417080,CL:417087,CL:417958
BUG=chrome-os-partner:59832
BRANCH=None
TEST=Compiles successfully

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>

Change-Id: Icb2326e3aab1e8f4bef53f553f82b3836358c55e
Reviewed-on: https://chromium-review.googlesource.com/417081
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-12-08 12:30:16 -08:00
..
include/soc src/: Chmod 644 all .c, .h, .asl, .inc, .cb, .hex, & Kconfig files 2016-01-29 16:57:11 +01:00
bootblock.c UPSTREAM: src/soc: Capitalize CPU, ACPI, RAM and ROM 2016-08-04 23:37:59 -07:00
cbmem.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ddr_init.c UPSTREAM: soc/broadcom/cygnus: Update DDR Kconfig 2016-11-19 03:17:42 -08:00
ddr_init_table.c UPSTREAM: soc/broadcom/cygnus: Update DDR Kconfig 2016-11-19 03:17:42 -08:00
gpio.c broadcom/cygnus: Enable gpio on romstage 2015-04-22 08:57:18 +02:00
hw_init.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
i2c.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
iomux.c broadcom/cygnus: Enable gpio on romstage 2015-04-22 08:57:18 +02:00
Kconfig UPSTREAM: soc/broadcom/cygnus: Update DDR Kconfig 2016-11-19 03:17:42 -08:00
Makefile.inc tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ns16550.c soc/*: fix uart's regwidth specification in cbtables 2016-02-21 12:26:05 +01:00
phy_reg_access.c src/: Chmod 644 all .c, .h, .asl, .inc, .cb, .hex, & Kconfig files 2016-01-29 16:57:11 +01:00
romstage.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
sdram.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
shmoo_and28.c UPSTREAM: src/soc: Add required space before opening parenthesis '(' 2016-09-04 19:36:49 -07:00
soc.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
spi.c UPSTREAM: spi: Define and use spi_ctrlr structure 2016-12-08 12:30:16 -08:00
timer.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
tz.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
usb.c broadcom/cygnus: add usb phy driver 2015-04-22 09:01:11 +02:00
ydc_ddr_bist.c UPSTREAM: src/soc: Add required space before opening parenthesis '(' 2016-09-04 19:36:49 -07:00