From 199c45c979b525c323fffe38fb3e17cfff32ed09 Mon Sep 17 00:00:00 2001 From: Raul E Rangel Date: Tue, 2 Nov 2021 11:29:33 -0600 Subject: [PATCH] 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 Change-Id: I7f1364fc269ea5ec17982bf750a164a3290adb0e Reviewed-on: https://review.coreboot.org/c/coreboot/+/58860 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/Kconfig | 8 ++++---- src/soc/amd/cezanne/Kconfig | 1 - 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