summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/common/block/cse/cse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/cse/cse.c b/src/soc/intel/common/block/cse/cse.c
index 7d6fabaa9b..32f6d4f0c2 100644
--- a/src/soc/intel/common/block/cse/cse.c
+++ b/src/soc/intel/common/block/cse/cse.c
@@ -94,6 +94,10 @@ void heci_init(uintptr_t tempbar)
u16 pcireg;
+ /* Check if device enabled */
+ if (!is_cse_enabled())
+ return;
+
/* Assume it is already initialized, nothing else to do */
if (get_cse_bar(dev))
return;