summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/ec_efs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/ec_efs.c b/common/ec_efs.c
index d7bc881872..a0b912b9a4 100644
--- a/common/ec_efs.c
+++ b/common/ec_efs.c
@@ -268,6 +268,9 @@ void ec_efs_refresh(void)
{
int rv;
+ if (!board_has_ec_cr50_comm_support())
+ return;
+
rv = load_ec_hash_(ec_efs_ctx.hash);
if (rv == EC_SUCCESS) {
ec_efs_ctx.hash_is_loaded = 1;