blob: 76f4ec7ac3abd1fa9071f4a0faf04b1211d5e68d [file] [log] [blame]
Marshall Dawson6ab5ed32019-05-29 09:24:18 -06001config SOC_AMD_COMMON_BLOCK_LPC
2 bool
Marshall Dawson6ab5ed32019-05-29 09:24:18 -06003 help
4 Select this option to use the traditional LPC-ISA bridge at D14F3.
Raul E Rangel314c7162020-05-01 14:04:08 -06005
6config PROVIDES_ROM_SHARING
7 bool
Raul E Rangel314c7162020-05-01 14:04:08 -06008 help
9 Select this option if the LPC bridge supports ROM sharing.
Furquan Shaikhefe27cf2020-05-04 20:59:23 -070010
Raul E Rangel3ba21802021-06-24 17:03:35 -060011config SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA
12 bool
13 select X86_CUSTOM_BOOTMEDIA
Karthikeyan Ramasubramanian953f2ad2021-07-28 23:41:42 -060014 select SOC_AMD_COMMON_BLOCK_SPI_4DW_BURST
Raul E Rangeld373d5d2021-06-25 11:07:23 -060015 depends on !SOC_AMD_PICASSO && !SOC_AMD_STONEYRIDGE
Raul E Rangel3ba21802021-06-24 17:03:35 -060016 help
17 Select this option to enable SPI DMA support.
18
Raul E Rangelcf17cd82021-07-23 16:43:18 -060019# The LPC SPI DMA controller requires the destination buffers to be 64 byte
20# aligned.
21config CBFS_CACHE_ALIGN
22 int
23 default 64 if SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA
24
Furquan Shaikhefe27cf2020-05-04 20:59:23 -070025config SOC_AMD_COMMON_BLOCK_HAS_ESPI
26 bool
Furquan Shaikhefe27cf2020-05-04 20:59:23 -070027 help
28 Select this option if platform supports eSPI using D14F3 configuration
29 registers.
30
31config SOC_AMD_COMMON_BLOCK_USE_ESPI
32 bool
33 depends on SOC_AMD_COMMON_BLOCK_HAS_ESPI
Furquan Shaikhefe27cf2020-05-04 20:59:23 -070034 help
35 Select this option if mainboard uses eSPI instead of LPC (if supported
36 by platform).