soc/amd/glinda: Increase maximum CPU threads to 24

glinda SOC has 24 maximum CPU threads as per PPR documentation(#57254).

TEST=Boot logs print the CPU initialization happens for 24 
threads.

Change-Id: Id48a5c62d6156c046daffd2648aeebeee380bd88
Signed-off-by: Anand Vaikar <a.vaikar2021@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79509
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Anand Vaikar 2023-12-13 16:21:02 +05:30 committed by Felix Held
parent 315251d5cc
commit 7224999497
2 changed files with 2 additions and 3 deletions

View File

@ -240,8 +240,7 @@ config ECAM_MMCONF_BUS_NUMBER
config MAX_CPUS
int
default 8 if SOC_AMD_GLINDA
default 16
default 24
help
Maximum number of threads the platform can have.

View File

@ -9,7 +9,7 @@
#include <device/device.h>
#include <soc/cpu.h>
_Static_assert(CONFIG_MAX_CPUS == 8, "Do not override MAX_CPUS. To reduce the number of "
_Static_assert(CONFIG_MAX_CPUS == 24, "Do not override MAX_CPUS. To reduce the number of "
"available cores, use the downcore_mode and disable_smt devicetree settings instead.");
static void zen_2_3_init(struct device *dev)