summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/common/block/cse/cse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common/block/cse/cse.c')
-rw-r--r--src/soc/intel/common/block/cse/cse.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/cse/cse.c b/src/soc/intel/common/block/cse/cse.c
index 55dd3d2da764..29a0c2192bb1 100644
--- a/src/soc/intel/common/block/cse/cse.c
+++ b/src/soc/intel/common/block/cse/cse.c
@@ -11,6 +11,7 @@
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <intelblocks/cse.h>
+#include <intelblocks/fast_spi.h>
#include <intelblocks/me.h>
#include <intelblocks/pmclib.h>
#include <intelblocks/post_codes.h>
@@ -1348,6 +1349,13 @@ static void cse_set_state(struct device *dev)
int send;
int result;
+
+ if (fast_spi_flash_descriptor_override()) {
+ printk(BIOS_WARNING, "HECI: not setting ME state because "
+ "flash descriptor override is enabled\n");
+ return;
+ }
+
/*
* Check if the CMOS value "me_state" exists, if it doesn't, then
* don't do anything.