drivers/spi: reduce confusion in the API
Julius brought up confusion about the current spi api in . In order
alleviate the confusion stemming from supporting x86 spi flash
- 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.
Signed-off-by: Aaron Durbin <firstname.lastname@example.org>
Tested-by: build bot (Jenkins) <email@example.com>
Reviewed-by: Julius Werner <firstname.lastname@example.org>
15 files changed