summaryrefslogtreecommitdiff
path: root/src/soc/intel/common
diff options
context:
space:
mode:
authorLean Sheng Tan <lean.sheng.tan@intel.com>2021-06-30 01:47:48 -0700
committerWerner Zeh <werner.zeh@siemens.com>2021-07-19 06:33:18 +0000
commit750200020ab82f3be2bfda959bd3280a46b7a1cc (patch)
tree44f34f71a77debd7ebe969aebdb4abba7d43f86b /src/soc/intel/common
parent67798cfd80baa0eba03d8598cab9d5f34ab4e756 (diff)
soc/intel/common: Rename kconfig PMC_EPOC
Rename PMC_EPOC to SOC_INTEL_COMMON_BLOCK_PMC_EPOC to maintain common naming convention. Signed-off-by: Lean Sheng Tan <lean.sheng.tan@intel.com> Change-Id: If8a264007bbb85a44bbdfa72115eb687c32ec36e Reviewed-on: https://review.coreboot.org/c/coreboot/+/55982 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/common')
-rw-r--r--src/soc/intel/common/block/pmc/Kconfig2
-rw-r--r--src/soc/intel/common/block/pmc/pmclib.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/common/block/pmc/Kconfig b/src/soc/intel/common/block/pmc/Kconfig
index 503e465530..aaf4479745 100644
--- a/src/soc/intel/common/block/pmc/Kconfig
+++ b/src/soc/intel/common/block/pmc/Kconfig
@@ -19,7 +19,7 @@ config SOC_INTEL_COMMON_BLOCK_PMC_DISCOVERABLE
Select this on platforms where the PMC device is discoverable
when scanning busses.
-config PMC_EPOC
+config SOC_INTEL_COMMON_BLOCK_PMC_EPOC
bool
help
Enable this for PMC devices to perform EPOC (CPU Early Power-on
diff --git a/src/soc/intel/common/block/pmc/pmclib.c b/src/soc/intel/common/block/pmc/pmclib.c
index 81d25e02a0..6c756b1590 100644
--- a/src/soc/intel/common/block/pmc/pmclib.c
+++ b/src/soc/intel/common/block/pmc/pmclib.c
@@ -729,7 +729,7 @@ void pmc_set_acpi_mode(void)
enum pch_pmc_xtal pmc_get_xtal_freq(void)
{
- if (!CONFIG(PMC_EPOC))
+ if (!CONFIG(SOC_INTEL_COMMON_BLOCK_PMC_EPOC))
dead_code();
uint32_t xtal_freq = 0;