[coreboot-gerrit] Change in coreboot[master]: fsp_broadwell_de: Increase CONFIG_MAX_CPUS to 32

Samuel Jimenez (Code Review) gerrit at coreboot.org
Fri Aug 3 21:08:53 CEST 2018


Samuel Jimenez has uploaded this change for review. ( https://review.coreboot.org/27847


Change subject: fsp_broadwell_de: Increase CONFIG_MAX_CPUS to 32
......................................................................

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 at gmail.com>
---
M src/mainboard/intel/camelbackmountain_fsp/acpi_tables.c
M src/soc/intel/fsp_broadwell_de/Kconfig
2 files changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/47/27847/1

diff --git a/src/mainboard/intel/camelbackmountain_fsp/acpi_tables.c b/src/mainboard/intel/camelbackmountain_fsp/acpi_tables.c
index 0197def..3c8d2e8 100644
--- a/src/mainboard/intel/camelbackmountain_fsp/acpi_tables.c
+++ b/src/mainboard/intel/camelbackmountain_fsp/acpi_tables.c
@@ -36,7 +36,7 @@
 
 	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 cb0228e..cc3e6e2 100644
--- a/src/soc/intel/fsp_broadwell_de/Kconfig
+++ b/src/soc/intel/fsp_broadwell_de/Kconfig
@@ -49,7 +49,7 @@
 
 config MAX_CPUS
 	int
-	default 16
+	default 32
 
 config CPU_ADDR_BITS
 	int

-- 
To view, visit https://review.coreboot.org/27847
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I35b61d94491c21ef76717f761e566ca815880f27
Gerrit-Change-Number: 27847
Gerrit-PatchSet: 1
Gerrit-Owner: Samuel Jimenez <aerojsam at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180803/b9c72497/attachment.html>


More information about the coreboot-gerrit mailing list