From bf4a65f2fa22776a479e467d6ed751ed85302446 Mon Sep 17 00:00:00 2001 From: Guennadi Liakhovetski Date: Thu, 29 Apr 2021 17:49:13 +0200 Subject: [PATCH] zephyr: allow multicore builds Lift the temporary restriction on Zephyr builds: re-enable multi-core support. Signed-off-by: Guennadi Liakhovetski --- src/platform/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/Kconfig b/src/platform/Kconfig index b34901511..5175e96f3 100644 --- a/src/platform/Kconfig +++ b/src/platform/Kconfig @@ -218,7 +218,6 @@ endchoice config MAX_CORE_COUNT int - default 1 if KERNEL_BIN_NAME = "zephyr" default 2 if APOLLOLAKE default 4 if ICELAKE || CANNONLAKE || SUECREEK || TIGERLAKE default 1 @@ -227,6 +226,7 @@ config MAX_CORE_COUNT config CORE_COUNT int "Number of cores" + default MP_NUM_CPUS if KERNEL_BIN_NAME = "zephyr" default MAX_CORE_COUNT range 1 MAX_CORE_COUNT help