From 6de377ef7887c875e0dd084e4ad45e717c9eec05 Mon Sep 17 00:00:00 2001 From: Ritul Guru Date: Fri, 6 Jan 2023 00:20:10 +0530 Subject: [PATCH] soc/amd/morgana: Double max number of cpus for morgana Change-Id: I5169a900345e2aabefcf1e2c249ee4bce6dc8fc5 Signed-off-by: Ritul Guru Reviewed-on: https://review.coreboot.org/c/coreboot/+/71688 Tested-by: build bot (Jenkins) Reviewed-by: Fred Reitberger Reviewed-by: Felix Held --- src/soc/amd/morgana/Kconfig | 1 - src/soc/amd/morgana/cpu.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/soc/amd/morgana/Kconfig b/src/soc/amd/morgana/Kconfig index 7765f925c1..ce575401fe 100644 --- a/src/soc/amd/morgana/Kconfig +++ b/src/soc/amd/morgana/Kconfig @@ -238,7 +238,6 @@ config ECAM_MMCONF_BUS_NUMBER config MAX_CPUS int - default 8 if SOC_AMD_MORGANA default 16 help Maximum number of threads the platform can have. diff --git a/src/soc/amd/morgana/cpu.c b/src/soc/amd/morgana/cpu.c index fe5a1b8ae7..68c3a34343 100644 --- a/src/soc/amd/morgana/cpu.c +++ b/src/soc/amd/morgana/cpu.c @@ -16,7 +16,7 @@ #include #include -_Static_assert(CONFIG_MAX_CPUS == 8, "Do not override MAX_CPUS. To reduce the number of " +_Static_assert(CONFIG_MAX_CPUS == 16, "Do not override MAX_CPUS. To reduce the number of " "available cores, use the downcore_mode and disable_smt devicetree settings instead."); /* MP and SMM loading initialization */