diff options
author | Shuo Liu <shuo.liu@intel.com> | 2022-07-05 22:31:29 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-02-20 12:42:11 +0000 |
commit | 3d5fd72c0f1673e539db918497cdb5e0403bb874 (patch) | |
tree | e13a0ea4f9310d454d32423f1403ba4d065ebc49 /src/soc/intel | |
parent | 3108ba5a070559cd1a682edb448bd2ccf474833a (diff) |
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 <shuo.liu@intel.com>
Change-Id: I6c3a84b04a452bc8d4217947a7d12f050c94b56b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80629
Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel')
-rw-r--r-- | src/soc/intel/xeon_sp/include/soc/acpi.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <acpi/acpi.h> +#define MAX_SRAT_MEM_ENTRIES_PER_IMC 8 +#define MAX_ACPI_MEMORY_AFFINITY_COUNT 256 + /** Select C-state map set in config cstate_states **/ |