summaryrefslogtreecommitdiff
path: root/chip/lm4/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/lm4/flash.c')
-rw-r--r--chip/lm4/flash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/chip/lm4/flash.c b/chip/lm4/flash.c
index dd9474f51d..6c6a01072b 100644
--- a/chip/lm4/flash.c
+++ b/chip/lm4/flash.c
@@ -198,7 +198,9 @@ int flash_physical_protect_now(int all)
} else {
/* Protect the read-only section and persistent state */
protect_banks(RO_BANK_OFFSET, RO_BANK_COUNT);
+#ifdef PSTATE_BANK
protect_banks(PSTATE_BANK, 1);
+#endif
}
return EC_SUCCESS;