diff options
Diffstat (limited to 'src/mainboard/inventec')
-rw-r--r-- | src/mainboard/inventec/transformers/Makefile.mk | 2 | ||||
-rw-r--r-- | src/mainboard/inventec/transformers/util.c | 19 |
2 files changed, 0 insertions, 21 deletions
diff --git a/src/mainboard/inventec/transformers/Makefile.mk b/src/mainboard/inventec/transformers/Makefile.mk index eb859d3d69..ecb6ef2217 100644 --- a/src/mainboard/inventec/transformers/Makefile.mk +++ b/src/mainboard/inventec/transformers/Makefile.mk @@ -2,7 +2,5 @@ bootblock-y += bootblock.c romstage-y += romstage.c -romstage-y += util.c romstage-$(CONFIG_IPMI_KCS_ROMSTAGE) += ipmi.c -ramstage-y += util.c CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include diff --git a/src/mainboard/inventec/transformers/util.c b/src/mainboard/inventec/transformers/util.c deleted file mode 100644 index 7b9237c639..0000000000 --- a/src/mainboard/inventec/transformers/util.c +++ /dev/null @@ -1,19 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include <drivers/ocp/include/vpd.h> -#include <soc/config.h> - -#if CONFIG(SOC_INTEL_HAS_CXL) -enum xeonsp_cxl_mode get_cxl_mode(void) -{ - int ocp_cxl_mode = get_cxl_mode_from_vpd(); - switch (ocp_cxl_mode) { - case CXL_SYSTEM_MEMORY: - return XEONSP_CXL_SYS_MEM; - case CXL_SPM: - return XEONSP_CXL_SP_MEM; - default: - return XEONSP_CXL_DISABLED; - } -} -#endif |