diff options
Diffstat (limited to 'chip/lm4/flash.c')
-rw-r--r-- | chip/lm4/flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/lm4/flash.c b/chip/lm4/flash.c index 121936c26b..23e31a69f0 100644 --- a/chip/lm4/flash.c +++ b/chip/lm4/flash.c @@ -299,7 +299,7 @@ uint32_t flash_get_protect(void) if (pstate.flags & PERSIST_FLAG_PROTECT_RO) flags |= EC_FLASH_PROTECT_RO_AT_BOOT; -#ifdef CONFIG_TASK_SWITCH +#ifdef HAS_TASK_SWITCH /* Check if write protect pin is asserted now */ if (switch_get_write_protect()) flags |= EC_FLASH_PROTECT_GPIO_ASSERTED; |