diff options
author | Duncan Laurie <dlaurie@google.com> | 2020-04-29 12:19:50 -0700 |
---|---|---|
committer | Duncan Laurie <dlaurie@chromium.org> | 2020-05-22 01:47:49 +0000 |
commit | 526880754faa1246e97e0bd1d836ecc1738e8c90 (patch) | |
tree | aef1f536413ca77a7caacf781919596f7e04a55b /src/soc/intel/common/nhlt.c | |
parent | 47b5a9820f2f95fda349f298054ca40cc2149548 (diff) |
soc/intel/tigerlake: Add definition for PMC EPOC
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.
Add definitions that allow this register to be read and extract the
crystal frequency, and a helper function to extract and return this
as the defined enum.
BUG=b:146482091
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Change-Id: I959fe507f3dbf93b6176b333a9e725ed09f56328
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40887
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/common/nhlt.c')
0 files changed, 0 insertions, 0 deletions