soc/amd: factor out ACPI_SSDT_PSD_INDEPENDENT to common AMD ACPI Kconfig
Now that the code using the ACPI_SSDT_PSD_INDEPENDENT Kconfig symbol is
moved to soc/amd/common/block/acpi/cpu_power_state.c, also move the
Kconfig symbol to the Kconfig file in this directory.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ide18111df38d4e9c81f7d183f49107f382385d85
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73550
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
diff --git a/src/soc/amd/cezanne/Kconfig b/src/soc/amd/cezanne/Kconfig
index 747f095..170bc49 100644
--- a/src/soc/amd/cezanne/Kconfig
+++ b/src/soc/amd/cezanne/Kconfig
@@ -318,14 +318,6 @@
functionality isn't disabled, configuring it as an output and driving
it as 0 will cause a reset.
-config ACPI_SSDT_PSD_INDEPENDENT
- bool "Allow core p-state independent transitions"
- default y
- help
- AMD recommends the ACPI _PSD object to be configured to cause
- cores to transition between p-states independently. A vendor may
- choose to generate _PSD object to allow cores to transition together.
-
menu "PSP Configuration Options"
config AMD_FWM_POSITION_INDEX
diff --git a/src/soc/amd/common/block/acpi/Kconfig b/src/soc/amd/common/block/acpi/Kconfig
index 039fed8..fd62ad6 100644
--- a/src/soc/amd/common/block/acpi/Kconfig
+++ b/src/soc/amd/common/block/acpi/Kconfig
@@ -26,3 +26,11 @@
config SOC_AMD_COMMON_BLOCK_ACPI_IVRS
bool
+
+config ACPI_SSDT_PSD_INDEPENDENT
+ bool "Allow core p-state independent transitions"
+ default y
+ help
+ AMD recommends the ACPI _PSD object to be configured to cause
+ cores to transition between p-states independently. A vendor may
+ choose to generate _PSD object to allow cores to transition together.
diff --git a/src/soc/amd/glinda/Kconfig b/src/soc/amd/glinda/Kconfig
index b54b237..75ebace 100644
--- a/src/soc/amd/glinda/Kconfig
+++ b/src/soc/amd/glinda/Kconfig
@@ -299,14 +299,6 @@
help
Instruct the SoC to not to reset based on the state of GPIO_21, KBDRST_L.
-config ACPI_SSDT_PSD_INDEPENDENT
- bool "Allow core p-state independent transitions"
- default y
- help
- AMD recommends the ACPI _PSD object to be configured to cause
- cores to transition between p-states independently. A vendor may
- choose to generate _PSD object to allow cores to transition together.
-
menu "PSP Configuration Options"
config AMD_FWM_POSITION_INDEX
diff --git a/src/soc/amd/mendocino/Kconfig b/src/soc/amd/mendocino/Kconfig
index f48d8dd..356623f 100644
--- a/src/soc/amd/mendocino/Kconfig
+++ b/src/soc/amd/mendocino/Kconfig
@@ -325,14 +325,6 @@
help
Instruct the SoC to not to reset based on the state of GPIO_21, KBDRST_L.
-config ACPI_SSDT_PSD_INDEPENDENT
- bool "Allow core p-state independent transitions"
- default y
- help
- AMD recommends the ACPI _PSD object to be configured to cause
- cores to transition between p-states independently. A vendor may
- choose to generate _PSD object to allow cores to transition together.
-
config FEATURE_DYNAMIC_DPTC
bool
depends on SOC_AMD_COMMON_BLOCK_ACPI_DPTC
diff --git a/src/soc/amd/phoenix/Kconfig b/src/soc/amd/phoenix/Kconfig
index 4ef402e..cb54306 100644
--- a/src/soc/amd/phoenix/Kconfig
+++ b/src/soc/amd/phoenix/Kconfig
@@ -298,14 +298,6 @@
help
Instruct the SoC to not to reset based on the state of GPIO_21, KBDRST_L.
-config ACPI_SSDT_PSD_INDEPENDENT
- bool "Allow core p-state independent transitions"
- default y
- help
- AMD recommends the ACPI _PSD object to be configured to cause
- cores to transition between p-states independently. A vendor may
- choose to generate _PSD object to allow cores to transition together.
-
menu "PSP Configuration Options"
config AMD_FWM_POSITION_INDEX
diff --git a/src/soc/amd/picasso/Kconfig b/src/soc/amd/picasso/Kconfig
index db2109b..9e4f0f5 100644
--- a/src/soc/amd/picasso/Kconfig
+++ b/src/soc/amd/picasso/Kconfig
@@ -316,14 +316,6 @@
Specify the amount of DRAM reserved for gathering the data used to
generate the ACPI table.
-config ACPI_SSDT_PSD_INDEPENDENT
- bool "Allow core p-state independent transitions"
- default y
- help
- AMD recommends the ACPI _PSD object to be configured to cause
- cores to transition between p-states independently. A vendor may
- choose to generate _PSD object to allow cores to transition together.
-
config CHROMEOS
select ALWAYS_LOAD_OPROM
select ALWAYS_RUN_OPROM