flash: fix typos and duplicated words
[fw/openocd] / src / flash / nor / stm32l4x.c
index edd013048b25fad4ad52f96e6aeeaa0e42ea40e4..c56bd6d600a3dd8b862f819d7826895cd55c7752 100644 (file)
@@ -534,7 +534,7 @@ static int stm32l4_protect_check(struct flash_bank *bank)
                stm32l4_read_flash_reg(bank, STM32_FLASH_WRP2AR, &wrp2ar);
                stm32l4_read_flash_reg(bank, STM32_FLASH_WRP2BR, &wrp2br);
        } else {
-               /* prevent unintialized errors */
+               /* prevent uninitialized errors */
                wrp2ar = 0;
                wrp2br = 0;
        }