coreboot-kgpe-d16/src/soc/broadcom/cygnus
Furquan Shaikh 36b81af9e8 spi: Pass pointer to spi_slave structure in spi_setup_slave
For spi_setup_slave, instead of making the platform driver return a
pointer to spi_slave structure, pass in a structure pointer that can be
filled in by the driver as required. This removes the need for platform
drivers to maintain a slave structure in data/CAR section.

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

Change-Id: Ia15a4f88ef4dcfdf616bb1c22261e7cb642a7573
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/17683
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-12-05 03:28:06 +01: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 src/soc: Capitalize CPU, ACPI, RAM and ROM 2016-07-31 19:27:53 +02:00
cbmem.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ddr_init.c soc/broadcom/cygnus: Update DDR Kconfig 2016-11-17 17:57:09 +01:00
ddr_init_table.c soc/broadcom/cygnus: Update DDR Kconfig 2016-11-17 17:57:09 +01: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 soc/broadcom/cygnus: Update DDR Kconfig 2016-11-17 17:57:09 +01: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 src/soc: Add required space before opening parenthesis '(' 2016-08-31 20:09:42 +02:00
soc.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
spi.c spi: Pass pointer to spi_slave structure in spi_setup_slave 2016-12-05 03:28:06 +01: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 src/soc: Add required space before opening parenthesis '(' 2016-08-31 20:09:42 +02:00