diff options
author | Subrata Banik <subrata.banik@intel.com> | 2017-03-08 17:59:40 +0530 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-04-10 20:04:01 +0200 |
commit | e7ceae79502705a8dc86943e6296fd2cf7735677 (patch) | |
tree | 932994dc8b8a10f2a2fae49946418bd11c44dfb0 /src/soc/intel/skylake/pmc.c | |
parent | d579199f968c88bdbb7e907f6e683d829215eeac (diff) | |
download | coreboot-e7ceae79502705a8dc86943e6296fd2cf7735677.tar.gz coreboot-e7ceae79502705a8dc86943e6296fd2cf7735677.tar.bz2 coreboot-e7ceae79502705a8dc86943e6296fd2cf7735677.zip |
soc/intel/skylake: Use common PCR module
This patch use common PCR library to perform CRRd and CRWr operation
using Port Ids, define inside soc/pcr_ids.h
Change-Id: Id9336883514298e7f93fbc95aef8228202aa6fb9
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/18674
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc/intel/skylake/pmc.c')
-rw-r--r-- | src/soc/intel/skylake/pmc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/intel/skylake/pmc.c b/src/soc/intel/skylake/pmc.c index 003c462b05f0..64df18650bff 100644 --- a/src/soc/intel/skylake/pmc.c +++ b/src/soc/intel/skylake/pmc.c @@ -24,6 +24,7 @@ #include <arch/ioapic.h> #include <arch/acpi.h> #include <cpu/cpu.h> +#include <intelblocks/pcr.h> #include <pc80/mc146818rtc.h> #include <reg_script.h> #include <string.h> @@ -33,7 +34,7 @@ #include <soc/pmc.h> #include <soc/pm.h> #include <cpu/x86/smm.h> -#include <soc/pcr.h> +#include <soc/pcr_ids.h> #include <soc/ramstage.h> #include <vboot/vbnv.h> #include <vboot/vbnv_layout.h> |