soc/intel/common/block: Add Intel PMC support
commit9dffbdd9c5e1a7b081b9c32a3ebd44219769cc04
authorShaunak Saha <shaunak.saha@intel.com>
Thu, 9 Mar 2017 03:27:17 +0000 (8 19:27 -0800)
committerAaron Durbin <adurbin@chromium.org>
Tue, 8 Aug 2017 16:38:50 +0000 (8 16:38 +0000)
treee07707a242d3eaa5771f007e89407481fabbb0d2
parent2991f3c48f99dc2849391725b16309eb96aa41a7
soc/intel/common/block: Add Intel PMC support

PMC util code is very similar accross different intel SOC's.
This patch is an effort to move those code in common place
so that it can be shared accross different intel platforms
instead of duplicating for each platform. This patch adds
pmclib.c file which contains the pmc utility functions
common accross SOC's. The config for common PMC is
SOC_INTEL_COMMON_BLOCK_PMC which can be defined in SOC's
Kconfig file in order to use the common PMC util code.

Change-Id: Ic3d96fc23a98c30e8ea0969a7be09d217eeaa889
Signed-off-by: Shaunak Saha <shaunak.saha@intel.com>
Reviewed-on: https://review.coreboot.org/19349
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
src/soc/intel/common/block/include/intelblocks/pmclib.h [new file with mode: 0644]
src/soc/intel/common/block/pmc/Kconfig [new file with mode: 0644]
src/soc/intel/common/block/pmc/Makefile.inc [new file with mode: 0644]
src/soc/intel/common/block/pmc/pmclib.c [new file with mode: 0644]