summaryrefslogtreecommitdiff
path: root/common/system_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/system_common.c')
-rw-r--r--common/system_common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/system_common.c b/common/system_common.c
index c9c6384975..4fe4c0c48e 100644
--- a/common/system_common.c
+++ b/common/system_common.c
@@ -90,10 +90,10 @@ int system_is_locked(void)
/* System is explicitly unlocked */
return 0;
-#elif defined(BOARD_link) && defined(CONFIG_FLASH)
+#elif defined(CONFIG_FLASH)
/*
- * On link, unlocked if write protect pin deasserted or read-only
- * firmware is not protected.
+ * Unlocked if write protect pin deasserted or read-only firmware
+ * is not protected.
*/
if ((EC_FLASH_PROTECT_GPIO_ASSERTED | EC_FLASH_PROTECT_RO_NOW) &
~flash_get_protect())