summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/tigerlake/soundwire.c
diff options
context:
space:
mode:
authorLean Sheng Tan <lean.sheng.tan@intel.com>2021-06-16 01:32:22 -0700
committerWerner Zeh <werner.zeh@siemens.com>2021-06-30 07:34:44 +0000
commit508dc163f183f99f4683365ef3a6443658979846 (patch)
tree6dfa0d6bebb5ca26d96a9af547db8d9a5243b68f /src/soc/intel/tigerlake/soundwire.c
parentf1ade489c85c95c572ef907bdb3b7f4835c1a9c7 (diff)
downloadcoreboot-508dc163f183f99f4683365ef3a6443658979846.tar.gz
coreboot-508dc163f183f99f4683365ef3a6443658979846.tar.bz2
coreboot-508dc163f183f99f4683365ef3a6443658979846.zip
soc/intel/common: Move PMC EPOC related code to Intel common code
Move PMC EPOC related code to intel/common/block because it is generic for most Intel platforms and ADL, TGL & EHL use it. Add a kconfig 'PMC_EPOC' to guard this common EPOC code. The PMC EPOC register indicates which external crystal oscillator is connected to the PCH. This frequency is important for determining the IP clock of internal PCH devices. Signed-off-by: Lean Sheng Tan <lean.sheng.tan@intel.com> Change-Id: Ib5fd3c4a648964678ee40ed0f60ca10fe7953f56 Reviewed-on: https://review.coreboot.org/c/coreboot/+/55565 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/soc/intel/tigerlake/soundwire.c')
-rw-r--r--src/soc/intel/tigerlake/soundwire.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/soc/intel/tigerlake/soundwire.c b/src/soc/intel/tigerlake/soundwire.c
index f69efce2f9db..878ce1973c7a 100644
--- a/src/soc/intel/tigerlake/soundwire.c
+++ b/src/soc/intel/tigerlake/soundwire.c
@@ -6,7 +6,6 @@
#include <device/soundwire.h>
#include <drivers/intel/soundwire/soundwire.h>
#include <intelblocks/pmclib.h>
-#include <soc/pmc.h>
#include <string.h>
static const struct soundwire_link link_xtal_38_4 = {