summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2021-11-02 11:29:33 -0600
committerRaul Rangel <rrangel@chromium.org>2021-11-04 17:18:48 +0000
commit199c45c979b525c323fffe38fb3e17cfff32ed09 (patch)
tree67ba651caafe4dd64ef997a62ed4b72e05f08fa8 /src
parent4cfb862fb2bc9c9d95fd4f5d3026ec791fe485d6 (diff)
Kconfig,soc/amd/cezanne: Make COOP_MULTITASKING select TIMER_QUEUE
This reduces the number of selects required in the SOC_SPECIFIC_OPTIONS. BUG=b:179699789 TEST=Build guybrush Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I7f1364fc269ea5ec17982bf750a164a3290adb0e Reviewed-on: https://review.coreboot.org/c/coreboot/+/58860 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src')
-rw-r--r--src/Kconfig8
-rw-r--r--src/soc/amd/cezanne/Kconfig1
2 files changed, 4 insertions, 5 deletions
diff --git a/src/Kconfig b/src/Kconfig
index e4ddf0cc70..89849eca02 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -677,12 +677,12 @@ config TIMER_QUEUE
config COOP_MULTITASKING
def_bool n
- depends on TIMER_QUEUE && ARCH_X86 && CPU_INFO_V2
+ select TIMER_QUEUE
+ depends on ARCH_X86 && CPU_INFO_V2
help
Cooperative multitasking allows callbacks to be multiplexed on the
- main thread of ramstage. With this enabled it allows for multiple
- execution paths to take place when they have udelay() calls within
- their code.
+ main thread. With this enabled it allows for multiple execution paths
+ to take place when they have udelay() calls within their code.
config NUM_THREADS
int
diff --git a/src/soc/amd/cezanne/Kconfig b/src/soc/amd/cezanne/Kconfig
index 65bf2bf001..f36f9126e7 100644
--- a/src/soc/amd/cezanne/Kconfig
+++ b/src/soc/amd/cezanne/Kconfig
@@ -73,7 +73,6 @@ config SOC_SPECIFIC_OPTIONS
select SOC_AMD_COMMON_FSP_DMI_TABLES
select SOC_AMD_COMMON_FSP_PCI
select SSE2
- select TIMER_QUEUE
select UDK_2017_BINDING
select X86_AMD_FIXED_MTRRS
select X86_AMD_INIT_SIPI