From 90f9cbbfc4ae1f03028176b124c2be54e579fd3f Mon Sep 17 00:00:00 2001 From: Tim Wawrzynczak Date: Mon, 19 Jul 2021 16:07:42 -0600 Subject: soc/intel/tigerlake: Move LPM functions to new file The LPM enable mask is useful to have in more than one place, therefore more the get_disable_mask() function and its helpers to lpm.c Signed-off-by: Tim Wawrzynczak Change-Id: Ibe83dc106f5f37baf9d5c64f68c47d85ea4e6dd4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56460 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/soc/intel/tigerlake/include/soc/lpm.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/soc/intel/tigerlake/include/soc/lpm.h (limited to 'src/soc/intel/tigerlake/include') diff --git a/src/soc/intel/tigerlake/include/soc/lpm.h b/src/soc/intel/tigerlake/include/soc/lpm.h new file mode 100644 index 0000000000..4f58e83684 --- /dev/null +++ b/src/soc/intel/tigerlake/include/soc/lpm.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef _SOC_LPM_H_ +#define _SOC_LPM_H_ + +#include + +int get_supported_lpm_mask(struct soc_intel_tigerlake_config *config); + +#endif /* _SOC_LPM_H_ */ -- cgit v1.2.3