summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/common/block/pmc/pmclib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/pmc/pmclib.c b/src/soc/intel/common/block/pmc/pmclib.c
index 5a8cd3b7b7..84fc5cafe5 100644
--- a/src/soc/intel/common/block/pmc/pmclib.c
+++ b/src/soc/intel/common/block/pmc/pmclib.c
@@ -64,7 +64,7 @@ struct chipset_power_state *pmc_get_power_state(void)
{
struct chipset_power_state *ptr = NULL;
- if (cbmem_possibly_online())
+ if (ENV_HAS_CBMEM)
ptr = acpi_get_pm_state();
/* cbmem is online but ptr is not populated yet */