coreboot-kgpe-d16/src/drivers/spi
Furquan Shaikh 260b297a89 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: I11bf3e8b6e1f50b7868c9fe4394a858488367287
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/19213
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
2017-04-13 05:04:13 +02:00
..
acpi drivers/spi: Get rid of spi_get_config 2017-04-09 21:35:53 +02:00
tpm drivers/spi/tpm: Clean up SPI TPM driver 2017-04-13 05:04:13 +02:00
adesto.c drivers/spi: fix flash writes at page boundaries 2016-12-19 22:34:52 +01:00
amic.c spi_flash: Make a deep copy of spi_slave structure 2016-12-06 07:17:28 +01:00
atmel.c drivers/spi: fix flash writes at page boundaries 2016-12-19 22:34:52 +01:00
boot_device_rw_nommap.c drivers/spi: provide a mechanism to obtain the SPI flash boot device 2016-12-08 16:11:01 +01:00
cbfs_spi.c spi: Clean up SPI flash driver interface 2016-11-22 17:32:09 +01:00
eon.c drivers/spi: fix flash writes at page boundaries 2016-12-19 22:34:52 +01:00
gigadevice.c drivers/spi: fix flash writes at page boundaries 2016-12-19 22:34:52 +01:00
Kconfig spi: Get rid of SPI_ATOMIC_SEQUENCING 2016-12-23 04:54:55 +01:00
macronix.c drivers/spi: fix flash writes at page boundaries 2016-12-19 22:34:52 +01:00
Makefile.inc spi: Define and use spi_ctrlr structure 2016-12-05 03:29:04 +01:00
spansion.c drivers/spi: fix flash writes at page boundaries 2016-12-19 22:34:52 +01:00
spi-generic.c drivers/spi: Get rid of spi_get_config 2017-04-09 21:35:53 +02:00
spi_flash.c SPI: Fix command-response behavior 2017-01-10 21:18:23 +01:00
spi_flash_internal.h spi_flash: Make a deep copy of spi_slave structure 2016-12-06 07:17:28 +01:00
spiconsole.c spi: Clean up SPI flash driver interface 2016-11-22 17:32:09 +01:00
sst.c drivers/spi: fix flash writes at page boundaries 2016-12-19 22:34:52 +01:00
stmicro.c drivers/spi: fix flash writes at page boundaries 2016-12-19 22:34:52 +01:00
winbond.c drivers/spi: fix flash writes at page boundaries 2016-12-19 22:34:52 +01:00