coreboot-kgpe-d16/src/drivers/spi
Aaron Durbin 851dde8255 drivers/spi: reduce confusion in the API
Julius brought up confusion about the current spi api in [1]. In order
alleviate the confusion stemming from supporting x86 spi flash
controllers:

- Remove spi_xfer_two_vectors() which was fusing transactions to
  accomodate the limitations of the spi controllers themselves.
- Add spi_flash_vector_helper() for the x86 spi flash controllers to
  utilize in validating driver/controller current assumptions.
- Remove the xfer() callback in the x86 spi flash drivers which
  will trigger an error as these controllers can't support the api.

[1] https://mail.coreboot.org/pipermail/coreboot/2018-April/086561.html

Change-Id: Id88adc6ad5234c29a739d43521c5f344bb7d3217
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/25745
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2018-04-23 20:58:58 +00:00
..
acpi device: acpi_name() should take a const struct device 2017-09-14 14:34:27 +00:00
tpm security/tpm: Change TPM naming for different layers. 2018-01-18 01:45:35 +00:00
adesto.c drivers/spi: add IS_ENABLED() around Kconfig symbol references 2017-07-02 18:56:25 +00:00
amic.c drivers/spi: add IS_ENABLED() around Kconfig symbol references 2017-07-02 18:56:25 +00:00
atmel.c drivers/spi: add IS_ENABLED() around Kconfig symbol references 2017-07-02 18:56:25 +00:00
bitbang.c spi: Add helper functions for bit-banging 2018-04-03 00:34:52 +00:00
boot_device_rw_nommap.c drivers/spi/spi_flash: Pass in flash structure to fill in probe 2017-05-19 21:21:47 +02:00
cbfs_spi.c drivers/spi/spi_flash: Pass in flash structure to fill in probe 2017-05-19 21:21:47 +02:00
eon.c drivers/spi: add IS_ENABLED() around Kconfig symbol references 2017-07-02 18:56:25 +00:00
flashconsole.c drivers/spi/flashconsole.c: Fix broken header 2018-04-01 18:10:45 +00:00
gigadevice.c drivers/spi: add IS_ENABLED() around Kconfig symbol references 2017-07-02 18:56:25 +00:00
Kconfig spi: Get rid of SPI_ATOMIC_SEQUENCING 2016-12-23 04:54:55 +01:00
macronix.c drivers/spi: add IS_ENABLED() around Kconfig symbol references 2017-07-02 18:56:25 +00:00
Makefile.inc spi: Add helper functions for bit-banging 2018-04-03 00:34:52 +00:00
spansion.c drivers/spi: add IS_ENABLED() around Kconfig symbol references 2017-07-02 18:56:25 +00:00
spi-generic.c drivers/spi: reduce confusion in the API 2018-04-23 20:58:58 +00:00
spi_flash.c drivers/spi: reduce confusion in the API 2018-04-23 20:58:58 +00:00
spi_flash_internal.h drivers/spi/spi_flash: Pass in spi_slave structure as const to probe functions 2017-05-19 21:22:41 +02:00
spiconsole.c drivers/spi: Re-factor spi_crop_chunk 2017-05-05 23:42:19 +02:00
sst.c drivers/spi: add IS_ENABLED() around Kconfig symbol references 2017-07-02 18:56:25 +00:00
stmicro.c drivers/spi: add IS_ENABLED() around Kconfig symbol references 2017-07-02 18:56:25 +00:00
winbond.c drivers/spi: add IS_ENABLED() around Kconfig symbol references 2017-07-02 18:56:25 +00:00