diff --git a/src/soc/intel/broadwell/pch/me.c b/src/soc/intel/broadwell/pch/me.c index 147eb29a2f..5756bdb00d 100644 --- a/src/soc/intel/broadwell/pch/me.c +++ b/src/soc/intel/broadwell/pch/me.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include @@ -600,7 +601,7 @@ static void intel_me_finalize(struct device *dev) if (!mei_base_address || mei_base_address == (u8 *)0xfffffff0) return; - if (!CONFIG(DISABLE_ME_PCI)) + if (!get_uint_option("me_disable", CONFIG(DISABLE_ME_PCI))) return; /* Make sure IO is disabled */ @@ -1025,7 +1026,7 @@ static void intel_me_init(struct device *dev) static void intel_me_enable(struct device *dev) { /* Avoid talking to the device in S3 path */ - if (acpi_is_wakeup_s3() && CONFIG(DISABLE_ME_PCI)) { + if (acpi_is_wakeup_s3() && get_uint_option("me_disable", CONFIG(DISABLE_ME_PCI))) { dev->enabled = 0; pch_disable_devfn(dev); }