xref: /aosp_15_r20/external/coreboot/src/soc/intel/common/block/gspi/Kconfig (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1## SPDX-License-Identifier: GPL-2.0-only
2
3config SOC_INTEL_COMMON_BLOCK_GSPI
4	bool
5	help
6	  Intel Processor Common GSPI support
7
8config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ
9	int
10	depends on SOC_INTEL_COMMON_BLOCK_GSPI
11	help
12	  The input clock speed into the SPI controller IP block, in MHz.
13	  No default is set here as this is an SOC-specific value
14	  and must be provided by the SOC.
15
16config SOC_INTEL_COMMON_BLOCK_GSPI_MAX
17	int
18	depends on SOC_INTEL_COMMON_BLOCK_GSPI
19	help
20	  Maximum number of GSPI controllers supported by the PCH. SoC
21	  must define this config if SOC_INTEL_COMMON_BLOCK_GSPI is
22	  selected.
23
24config SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2
25	bool
26	default n
27	select SOC_INTEL_COMMON_BLOCK_GSPI
28	help
29	  Intel Processor Common GSPI support with quirks to handle
30	  SPI_CS_CONTROL changes introduced in CNL.
31