summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/lpc/Kconfig
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-05-04 19:04:33 +0200
committerTim Wawrzynczak <twawrzynczak@chromium.org>2022-08-17 19:46:30 +0000
commit62d42c3266a633cd11009148522b4adb2542976e (patch)
treed5c55ab2297651c1b7b09325e4efdc0567e5b348 /src/soc/amd/common/block/lpc/Kconfig
parent9022344cde972437f14a8516abd7354acbdad136 (diff)
soc/amd/common/include/espi: add more decode ranges
Mendocino has more eSPI decode ranges than Picasso or Cezanne. To support these additional ranges, introduce a new Kconfig option SOC_AMD_COMMON_BLOCK_ESPI_EXTENDED_DECODE_RANGES that can be selected by the SoCs that support the additional eSPI IO/MMIO decode ranges. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ib761cdf201c35805d68cf5e8e462607ffd9fa017 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64054 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc/amd/common/block/lpc/Kconfig')
-rw-r--r--src/soc/amd/common/block/lpc/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/lpc/Kconfig b/src/soc/amd/common/block/lpc/Kconfig
index b1db1bd254..2de83a554a 100644
--- a/src/soc/amd/common/block/lpc/Kconfig
+++ b/src/soc/amd/common/block/lpc/Kconfig
@@ -36,6 +36,13 @@ config SOC_AMD_COMMON_BLOCK_HAS_ESPI
Select this option if platform supports eSPI using D14F3 configuration
registers.
+config SOC_AMD_COMMON_BLOCK_ESPI_EXTENDED_DECODE_RANGES
+ bool
+ depends on SOC_AMD_COMMON_BLOCK_HAS_ESPI
+ help
+ Select this if the platform supports 16 instead of 4 eSPI IO decode
+ ranges and 5 instead of 4 eSPI MMIO decode ranges.
+
config SOC_AMD_COMMON_BLOCK_HAS_ESPI_ALERT_ENABLE
bool
depends on SOC_AMD_COMMON_BLOCK_HAS_ESPI