diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2020-11-12 17:33:00 +0100 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2020-11-13 19:27:33 +0000 |
commit | 6408ada4a20ca2811de8a158d0579b421f56d8fe (patch) | |
tree | 81180c1c040aae6dae89c98f76f122f6754f67b8 /src/soc/intel/xeon_sp/cpx/soc_acpi.c | |
parent | 165893b67be4a116a96b242bf4ee5370ec707b43 (diff) | |
download | coreboot-6408ada4a20ca2811de8a158d0579b421f56d8fe.tar.xz |
soc/intel/xeon_sp: move get_iiostack_info() to a common place
All this function does is looping over IIO stacks in the FSP HOB. The
only 'SOC/FSP specific' thing is the way to detect if the stack is an
IIO stack so add a callback to determine this.
Change-Id: I4fa9c54d50279213a4174186a23c3cc156e21c9a
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47522
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Diffstat (limited to 'src/soc/intel/xeon_sp/cpx/soc_acpi.c')
-rw-r--r-- | src/soc/intel/xeon_sp/cpx/soc_acpi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/intel/xeon_sp/cpx/soc_acpi.c b/src/soc/intel/xeon_sp/cpx/soc_acpi.c index c35c2482f4..599ccff03d 100644 --- a/src/soc/intel/xeon_sp/cpx/soc_acpi.c +++ b/src/soc/intel/xeon_sp/cpx/soc_acpi.c @@ -16,6 +16,7 @@ #include <soc/pci_devs.h> #include <soc/pm.h> #include <soc/soc_util.h> +#include <soc/util.h> /* TODO: Check if the common/acpi weak function can be used */ unsigned long acpi_fill_mcfg(unsigned long current) |