diff options
Diffstat (limited to 'chip/stm32/flash-stm32l4.c')
-rw-r--r-- | chip/stm32/flash-stm32l4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/flash-stm32l4.c b/chip/stm32/flash-stm32l4.c index 97594733c0..c138780d34 100644 --- a/chip/stm32/flash-stm32l4.c +++ b/chip/stm32/flash-stm32l4.c @@ -450,7 +450,7 @@ int flash_pre_init(void) * If we have already jumped between images, an earlier image could * have applied write protection. Nothing additional needs to be done. */ - if (reset_flags & RESET_FLAG_SYSJUMP) + if (reset_flags & EC_RESET_FLAG_SYSJUMP) return EC_SUCCESS; if (prot_flags & EC_FLASH_PROTECT_GPIO_ASSERTED) { |