1 ## SPDX-License-Identifier: GPL-2.0-only
3 config SOC_AMD_COMMON_BLOCK_LPC
6 Select this option to use the traditional LPC-ISA bridge at D14F3.
8 config PROVIDES_ROM_SHARING
11 Select this option if the LPC bridge supports ROM sharing.
13 config SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA
15 select X86_CUSTOM_BOOTMEDIA
16 select SOC_AMD_COMMON_BLOCK_SPI_4DW_BURST
17 depends on !SOC_AMD_PICASSO && !SOC_AMD_STONEYRIDGE
19 Select this option to enable SPI DMA support.
21 # The LPC SPI DMA controller requires the source and destination to be 64 byte
23 config CBFS_CACHE_ALIGN
25 default 64 if SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA
27 config FSP_ALIGNMENT_FSP_S
29 default 64 if SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA
31 config FSP_ALIGNMENT_FSP_M
33 default 64 if SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA
35 config SOC_AMD_COMMON_BLOCK_HAS_ESPI
38 Select this option if platform supports eSPI using D14F3 configuration
41 config SOC_AMD_COMMON_BLOCK_ESPI_EXTENDED_DECODE_RANGES
43 depends on SOC_AMD_COMMON_BLOCK_HAS_ESPI
45 Select this if the platform supports 16 instead of 4 eSPI IO decode
46 ranges and 5 instead of 4 eSPI MMIO decode ranges.
48 config SOC_AMD_COMMON_BLOCK_HAS_ESPI_ALERT_ENABLE
50 depends on SOC_AMD_COMMON_BLOCK_HAS_ESPI
52 Selected by the SoC if it supports the ALERT_ENABLE bit.
54 config SOC_AMD_COMMON_BLOCK_USE_ESPI
56 depends on SOC_AMD_COMMON_BLOCK_HAS_ESPI
58 Select this option if mainboard uses eSPI instead of LPC (if supported
61 config SOC_AMD_COMMON_BLOCK_ESPI_RETAIN_PORT80_EN
63 depends on SOC_AMD_COMMON_BLOCK_USE_ESPI
65 SMU will lock up at times if the port80h enable bit is cleared. Select
66 this option to retain the port80 enable bit while clearing other enable
67 bits in the ESPI Decode register.