summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/acpimmio/Kconfig
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-07-14 18:44:13 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-07-17 14:12:57 +0000
commit9ab8a78d7e37c92fb0e59b511dd3ae20f6478002 (patch)
tree80f17fa046d8080da6f63ca9543955833d431bb9 /src/soc/amd/common/block/acpimmio/Kconfig
parent36149888f6b26b3b268343b55251bf3aafc05296 (diff)
soc/amd/common/acpimmio: factor out IO port access to PM registers
Factor out all functions that use the indirect IO port based access to the PM registers into a new compilation unit and only select it on platforms that support this interface. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: If9c059e450e2137f7e05441ab89c1f0e7077be9a Reviewed-on: https://review.coreboot.org/c/coreboot/+/76458 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Diffstat (limited to 'src/soc/amd/common/block/acpimmio/Kconfig')
-rw-r--r--src/soc/amd/common/block/acpimmio/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/acpimmio/Kconfig b/src/soc/amd/common/block/acpimmio/Kconfig
index 794ae3ed5e..9881385e4b 100644
--- a/src/soc/amd/common/block/acpimmio/Kconfig
+++ b/src/soc/amd/common/block/acpimmio/Kconfig
@@ -12,4 +12,10 @@ config SOC_AMD_COMMON_BLOCK_ACPIMMIO_BIOSRAM
Add functions to access settings stored in the biosram region.
This is only used by the SoCs using binaryPI and the old AGESA.
+config SOC_AMD_COMMON_BLOCK_ACPIMMIO_PM_IO_ACCESS
+ bool
+ help
+ Add functions to access the PM register block via the indirect
+ IO register access interface.
+
endif # SOC_AMD_COMMON_BLOCK_ACPIMMIO