diff options
author | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2021-07-19 16:07:42 -0600 |
---|---|---|
committer | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2021-09-10 21:53:48 +0000 |
commit | 90f9cbbfc4ae1f03028176b124c2be54e579fd3f (patch) | |
tree | 518b111b21a9ec32dafe3b8b26ed327a29e60098 /src/soc/intel/tigerlake/include | |
parent | 5faee2ed0f9d6e2a6a3ccca880eb57d616bea799 (diff) |
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 <twawrzynczak@chromium.org>
Change-Id: Ibe83dc106f5f37baf9d5c64f68c47d85ea4e6dd4
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56460
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel/tigerlake/include')
-rw-r--r-- | src/soc/intel/tigerlake/include/soc/lpm.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 <soc/soc_chip.h> + +int get_supported_lpm_mask(struct soc_intel_tigerlake_config *config); + +#endif /* _SOC_LPM_H_ */ |