summaryrefslogtreecommitdiff
path: root/src/soc/intel/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common')
-rw-r--r--src/soc/intel/common/block/acpi/pep.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/soc/intel/common/block/acpi/pep.c b/src/soc/intel/common/block/acpi/pep.c
index b3150198ba..5e0334530c 100644
--- a/src/soc/intel/common/block/acpi/pep.c
+++ b/src/soc/intel/common/block/acpi/pep.c
@@ -249,9 +249,11 @@ static void lpi_s0ix_entry(void *unused)
acpigen_write_if_end();
/* Handle Thunderbolt displays */
- acpigen_write_if_cond_ref_of(THUNDERBOLT_DEVICE);
- acpigen_write_store_int_to_namestr(1, THUNDERBOLT_IOM_DPOF);
- acpigen_write_if_end();
+ if (CONFIG(FIRMWARE_CONNECTION_MANAGER)) {
+ acpigen_write_if_cond_ref_of(THUNDERBOLT_DEVICE);
+ acpigen_write_store_int_to_namestr(1, THUNDERBOLT_IOM_DPOF);
+ acpigen_write_if_end();
+ }
}
static void lpi_s0ix_exit(void *unused)
@@ -274,9 +276,11 @@ static void lpi_s0ix_exit(void *unused)
acpigen_write_if_end();
/* Handle Thunderbolt displays */
- acpigen_write_if_cond_ref_of(THUNDERBOLT_DEVICE);
- acpigen_write_store_int_to_namestr(0, THUNDERBOLT_IOM_DPOF);
- acpigen_write_if_end();
+ if (CONFIG(FIRMWARE_CONNECTION_MANAGER)) {
+ acpigen_write_if_cond_ref_of(THUNDERBOLT_DEVICE);
+ acpigen_write_store_int_to_namestr(0, THUNDERBOLT_IOM_DPOF);
+ acpigen_write_if_end();
+ }
}
static void lpi_display_on(void *unused)