summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorShaunak Saha <shaunak.saha@intel.com>2017-08-11 12:33:20 -0700
committerAaron Durbin <adurbin@chromium.org>2017-08-15 23:11:51 +0000
commit07f5b62aa83f0b08fb77c0c255638f532af1d1ea (patch)
treee39452a367c3cd13dacc1e9344ccb81e314b735f /src/soc
parent752dc8e4258b708dc4a96b3d929163b1560492ae (diff)
downloadcoreboot-07f5b62aa83f0b08fb77c0c255638f532af1d1ea.tar.xz
soc/intel/common/block: Fix PMC common block dependency
This patch fix the dependency for PMC common block code. PMC block use SLP_TYP macros and acpi_sleep_from_pm1 function which is defined in arch/acpi.h and guarded by CONFIG_ACPI_INTEL_HARDWARE_SLEEP_VALUES. So we need PMC common block to depend on that config for proper inclusion. Change-Id: I88077626aff3efba0a95b3aaee0dbd71344ccb42 Signed-off-by: Shaunak Saha <shaunak.saha@intel.com> Reviewed-on: https://review.coreboot.org/20964 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/common/block/pmc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/pmc/Kconfig b/src/soc/intel/common/block/pmc/Kconfig
index 4e10f93537..c00e14c303 100644
--- a/src/soc/intel/common/block/pmc/Kconfig
+++ b/src/soc/intel/common/block/pmc/Kconfig
@@ -1,5 +1,6 @@
config SOC_INTEL_COMMON_BLOCK_PMC
depends on SOC_INTEL_COMMON_BLOCK_GPIO
+ depends on ACPI_INTEL_HARDWARE_SLEEP_VALUES
bool
help
Intel Processor common code for Power Management controller(PMC)