From 07f5b62aa83f0b08fb77c0c255638f532af1d1ea Mon Sep 17 00:00:00 2001 From: Shaunak Saha Date: Fri, 11 Aug 2017 12:33:20 -0700 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/20964 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/soc/intel/common/block/pmc/Kconfig | 1 + 1 file changed, 1 insertion(+) 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)