summaryrefslogtreecommitdiff
path: root/common/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/system.c')
-rw-r--r--common/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/system.c b/common/system.c
index 0e4f9848d9..2085cad731 100644
--- a/common/system.c
+++ b/common/system.c
@@ -176,7 +176,7 @@ int system_is_locked(void)
is_locked = 0;
return 0;
-#elif defined(CONFIG_FLASH_CROS)
+#elif defined(CONFIG_FLASH)
/*
* Unlocked if write protect pin deasserted or read-only firmware
* is not protected.