aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Jimenez <sjimenez@curtisswright.com>2018-08-03 14:56:53 -0400
committerPatrick Georgi <pgeorgi@google.com>2018-08-13 15:40:19 +0000
commita4797aa9f636c5a465e7c4ecd1b1635b57df62cf (patch)
tree2ff6c8b75be0db330ac0dd3a15eb915bf31a450f
parentfd9f4f702c0c3e0c234d3cbec0c675173a528810 (diff)
fsp_broadwell_de: Increase CONFIG_MAX_CPUS to 32
Fix to accomodate for boards with more than 16 cores. Change-Id: I35b61d94491c21ef76717f761e566ca815880f27 Signed-off-by: Samuel Jimenez <aerojsam@gmail.com> Reviewed-on: https://review.coreboot.org/27847 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r--src/mainboard/intel/camelbackmountain_fsp/acpi_tables.c2
-rw-r--r--src/soc/intel/fsp_broadwell_de/Kconfig2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/intel/camelbackmountain_fsp/acpi_tables.c b/src/mainboard/intel/camelbackmountain_fsp/acpi_tables.c
index 0197def7a7..3c8d2e8afc 100644
--- a/src/mainboard/intel/camelbackmountain_fsp/acpi_tables.c
+++ b/src/mainboard/intel/camelbackmountain_fsp/acpi_tables.c
@@ -36,7 +36,7 @@ unsigned long acpi_fill_madt(unsigned long current)
current = acpi_madt_irq_overrides(current);
- for (i = 0; i < 16; i++)
+ for (i = 0; i < CONFIG_MAX_CPUS; i++)
current += acpi_create_madt_lapic_nmi((acpi_madt_lapic_nmi_t *)current, i, 0xD, 1);
return current;
diff --git a/src/soc/intel/fsp_broadwell_de/Kconfig b/src/soc/intel/fsp_broadwell_de/Kconfig
index cb0228ea3b..cc3e6e235a 100644
--- a/src/soc/intel/fsp_broadwell_de/Kconfig
+++ b/src/soc/intel/fsp_broadwell_de/Kconfig
@@ -49,7 +49,7 @@ config MMCONF_BASE_ADDRESS
config MAX_CPUS
int
- default 16
+ default 32
config CPU_ADDR_BITS
int