coreboot/src/drivers/spi
Furquan Shaikh a970719f12 UPSTREAM: drivers/spi/tpm: Clean up SPI TPM driver
1. Move common TIS macros to include/tpm.h.
2. Use common TIS macros while referring to status and access registers.
3. Add a new function claim_locality to properly check for required
access bits and claim locality 0.

BUG=b:36873582

Change-Id: I64501d5d78b82744e85433f34d0f94f82b45b370
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 260b297a89
Original-Change-Id: I11bf3e8b6e1f50b7868c9fe4394a858488367287
Original-Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/19213
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/480093
2017-04-18 13:18:51 -07:00
..
acpi UPSTREAM: drivers/spi: Get rid of spi_get_config 2017-04-10 14:28:40 -07:00
tpm UPSTREAM: drivers/spi/tpm: Clean up SPI TPM driver 2017-04-18 13:18:51 -07:00
adesto.c UPSTREAM: drivers/spi: fix flash writes at page boundaries 2016-12-21 03:13:11 -08:00
amic.c UPSTREAM: spi_flash: Make a deep copy of spi_slave structure 2016-12-08 12:30:32 -08:00
atmel.c UPSTREAM: drivers/spi: fix flash writes at page boundaries 2016-12-21 03:13:11 -08:00
boot_device_rw_nommap.c UPSTREAM: drivers/spi: provide a mechanism to obtain the SPI flash boot device 2016-12-09 03:29:45 -08:00
cbfs_spi.c various cleanups from upstream 2017-02-06 05:03:19 -08:00
eon.c UPSTREAM: drivers/spi: fix flash writes at page boundaries 2016-12-21 03:13:11 -08:00
gigadevice.c UPSTREAM: drivers/spi: fix flash writes at page boundaries 2016-12-21 03:13:11 -08:00
Kconfig UPSTREAM: spi: Get rid of SPI_ATOMIC_SEQUENCING 2017-01-05 11:00:04 -08:00
macronix.c UPSTREAM: drivers/spi: fix flash writes at page boundaries 2016-12-21 03:13:11 -08:00
Makefile.inc UPSTREAM: spi: Define and use spi_ctrlr structure 2016-12-08 12:30:16 -08:00
spansion.c UPSTREAM: drivers/spi: fix flash writes at page boundaries 2016-12-21 03:13:11 -08:00
spi-generic.c UPSTREAM: drivers/spi: Get rid of spi_get_config 2017-04-10 14:28:40 -07:00
spi_flash.c UPSTREAM: SPI: Fix command-response behavior 2017-01-13 18:40:53 -08:00
spi_flash_internal.h UPSTREAM: spi_flash: Make a deep copy of spi_slave structure 2016-12-08 12:30:32 -08:00
spiconsole.c UPSTREAM: spi: Clean up SPI flash driver interface 2016-11-29 17:38:45 -08:00
sst.c UPSTREAM: drivers/spi: fix flash writes at page boundaries 2016-12-21 03:13:11 -08:00
stmicro.c UPSTREAM: drivers/spi: fix flash writes at page boundaries 2016-12-21 03:13:11 -08:00
winbond.c UPSTREAM: drivers/spi: fix flash writes at page boundaries 2016-12-21 03:13:11 -08:00