summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/archercity_crb/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/intel/archercity_crb/util.c')
-rw-r--r--src/mainboard/intel/archercity_crb/util.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mainboard/intel/archercity_crb/util.c b/src/mainboard/intel/archercity_crb/util.c
deleted file mode 100644
index 33afeca8d3..0000000000
--- a/src/mainboard/intel/archercity_crb/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) && CONFIG(OCP_VPD)
-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