coreboot/src/drivers/spi
Matt DeVillier ce7b252c4f drivers/spi/acpi: Drop 'disable_gpio_export_in_crs' flag
Exposing the GPIOs via an ACPI PowerResource and the _CRS results in the
OS driver and ACPI thinking they own the GPIO. This can cause timing
problems because it's not clear which system should be controlling the
GPIO.

There's no reason to require explicit disablement however, so drop the
superfluous 'disable' flag, and change the _CRS generation to check if
the GPIOs will be exported via the 'has_power_resource' flag instead.

This mirrors the change made for drivers/i2c/generic.

TEST=untested, as no boards selected this option.

Change-Id: I4f95d0e453d89b7e1978d3efac304518304495d1
Signed-off-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71850
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-01-15 02:02:01 +00:00
..
acpi drivers/spi/acpi: Drop 'disable_gpio_export_in_crs' flag 2023-01-15 02:02:01 +00:00
tpm Revert "security/tpm/: turn tis_{init,open} into tis_probe" 2022-12-23 21:31:11 +00:00
adesto.c
amic.c
atmel.c
bitbang.c src/drivers: Clean up includes 2022-10-26 16:38:45 +00:00
boot_device_rw_nommap.c
cbfs_spi.c drivers: Remove unused <cbmem.h> 2022-04-22 21:40:56 +00:00
eon.c
flashconsole.c
gigadevice.c
Kconfig drivers: spi_flash: Addressing mode change for SPI NOR 2022-02-15 01:11:26 +00:00
macronix.c drivers/spi: Add support for Macronix SPI ROM MX77U25650F 2022-11-10 15:14:26 +00:00
Makefile.inc
spansion.c
spi-generic.c drivers/spi/spi-generic: document SPI_CNTRLR_DEDUCT_CMD_LEN better 2021-12-15 22:39:21 +00:00
spi_flash.c timer: Change timer util functions to 64-bit 2022-09-14 11:55:39 +00:00
spi_flash_internal.h drivers: spi_flash: Addressing mode change for SPI NOR 2022-02-15 01:11:26 +00:00
spi_sdcard.c commonlib: Substitude macro "__unused" in compiler.h 2022-07-14 23:08:09 +00:00
spi_winbond.h
spiconsole.c drivers/spi/spiconsole.c: Remove unuseful 'return' in void function 2022-02-01 18:05:27 +00:00
sst.c
stmicro.c
winbond.c drivers/spi: Add Winbond W25Q256JW details 2022-05-31 13:41:31 +00:00