Marshall Dawson | 6ab5ed3 | 2019-05-29 09:24:18 -0600 | [diff] [blame] | 1 | config SOC_AMD_COMMON_BLOCK_LPC |
| 2 | bool |
Marshall Dawson | 6ab5ed3 | 2019-05-29 09:24:18 -0600 | [diff] [blame] | 3 | help |
| 4 | Select this option to use the traditional LPC-ISA bridge at D14F3. |
Raul E Rangel | 314c716 | 2020-05-01 14:04:08 -0600 | [diff] [blame] | 5 | |
| 6 | config PROVIDES_ROM_SHARING |
| 7 | bool |
Raul E Rangel | 314c716 | 2020-05-01 14:04:08 -0600 | [diff] [blame] | 8 | help |
| 9 | Select this option if the LPC bridge supports ROM sharing. |
Furquan Shaikh | efe27cf | 2020-05-04 20:59:23 -0700 | [diff] [blame] | 10 | |
Raul E Rangel | 3ba2180 | 2021-06-24 17:03:35 -0600 | [diff] [blame] | 11 | config SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA |
| 12 | bool |
| 13 | select X86_CUSTOM_BOOTMEDIA |
Karthikeyan Ramasubramanian | 953f2ad | 2021-07-28 23:41:42 -0600 | [diff] [blame] | 14 | select SOC_AMD_COMMON_BLOCK_SPI_4DW_BURST |
Raul E Rangel | d373d5d | 2021-06-25 11:07:23 -0600 | [diff] [blame] | 15 | depends on !SOC_AMD_PICASSO && !SOC_AMD_STONEYRIDGE |
Raul E Rangel | 3ba2180 | 2021-06-24 17:03:35 -0600 | [diff] [blame] | 16 | help |
| 17 | Select this option to enable SPI DMA support. |
| 18 | |
Raul E Rangel | c0025c2 | 2021-11-10 13:09:20 -0700 | [diff] [blame] | 19 | # The LPC SPI DMA controller requires the source and destination to be 64 byte |
Raul E Rangel | cf17cd8 | 2021-07-23 16:43:18 -0600 | [diff] [blame] | 20 | # aligned. |
| 21 | config CBFS_CACHE_ALIGN |
| 22 | int |
| 23 | default 64 if SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA |
| 24 | |
Raul E Rangel | c0025c2 | 2021-11-10 13:09:20 -0700 | [diff] [blame] | 25 | config FSP_ALIGNMENT_FSP_S |
| 26 | int |
| 27 | default 64 if SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA |
| 28 | |
| 29 | config FSP_ALIGNMENT_FSP_M |
| 30 | int |
| 31 | default 64 if SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA |
| 32 | |
Furquan Shaikh | efe27cf | 2020-05-04 20:59:23 -0700 | [diff] [blame] | 33 | config SOC_AMD_COMMON_BLOCK_HAS_ESPI |
| 34 | bool |
Furquan Shaikh | efe27cf | 2020-05-04 20:59:23 -0700 | [diff] [blame] | 35 | help |
| 36 | Select this option if platform supports eSPI using D14F3 configuration |
| 37 | registers. |
| 38 | |
| 39 | config SOC_AMD_COMMON_BLOCK_USE_ESPI |
| 40 | bool |
| 41 | depends on SOC_AMD_COMMON_BLOCK_HAS_ESPI |
Furquan Shaikh | efe27cf | 2020-05-04 20:59:23 -0700 | [diff] [blame] | 42 | help |
| 43 | Select this option if mainboard uses eSPI instead of LPC (if supported |
| 44 | by platform). |