summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRitul Guru <ritul.bits@gmail.com>2023-01-06 00:20:10 +0530
committerFelix Held <felix-coreboot@felixheld.de>2023-01-09 17:32:27 +0000
commit6de377ef7887c875e0dd084e4ad45e717c9eec05 (patch)
treee000b7359efca1ed7430942ce48ce0ff0febe10d /src
parentbf299f0d674bcf000d3259e78d281648b3d09c45 (diff)
soc/amd/morgana: Double max number of cpus for morgana
Change-Id: I5169a900345e2aabefcf1e2c249ee4bce6dc8fc5 Signed-off-by: Ritul Guru <ritul.bits@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71688 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src')
-rw-r--r--src/soc/amd/morgana/Kconfig1
-rw-r--r--src/soc/amd/morgana/cpu.c2
2 files changed, 1 insertions, 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 <soc/cpu.h>
#include <soc/iomap.h>
-_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 */