From 3d5fd72c0f1673e539db918497cdb5e0403bb874 Mon Sep 17 00:00:00 2001 From: Shuo Liu Date: Tue, 5 Jul 2022 22:31:29 +0800 Subject: soc/intel/xeon_sp: Put SRAT util macros into Xeon-SP ACPI header Macros MAX_ACPI_MEMORY_AFFINITY_COUNT and MAX_SRAT_MEM_ENTRIES_PER_IMC are ACPI table specific, and could be used across Xeon-SP SoCs. This patch moves their definition from FSP header to Xeon-SP layer ACPI header. TEST=intel/archercity CRB Signed-off-by: Shuo Liu Change-Id: I6c3a84b04a452bc8d4217947a7d12f050c94b56b Reviewed-on: https://review.coreboot.org/c/coreboot/+/80629 Reviewed-by: Patrick Rudolph Tested-by: build bot (Jenkins) --- src/soc/intel/xeon_sp/include/soc/acpi.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc') diff --git a/src/soc/intel/xeon_sp/include/soc/acpi.h b/src/soc/intel/xeon_sp/include/soc/acpi.h index f9c55ab880..47c409036e 100644 --- a/src/soc/intel/xeon_sp/include/soc/acpi.h +++ b/src/soc/intel/xeon_sp/include/soc/acpi.h @@ -5,6 +5,9 @@ #include +#define MAX_SRAT_MEM_ENTRIES_PER_IMC 8 +#define MAX_ACPI_MEMORY_AFFINITY_COUNT 256 + /** Select C-state map set in config cstate_states **/ -- cgit v1.2.3