flash/stm32l4x: introduce table with register offsets
[fw/openocd] / src / flash / nor / non_cfi.c
index 851c0ae8193e1ddc6b6fea040c52e7458fbe7347..a817966c61ff80464e3ecfb4bd38d3e7b9282b43 100644 (file)
@@ -483,11 +483,11 @@ void cfi_fixup_non_cfi(struct flash_bank *bank)
                        break;
        }
 
-       /* only fixup jedec flashs found in table */
+       /* only fixup jedec flashes found in table */
        if (!non_cfi->mfr)
                return;
 
-       cfi_info->not_cfi = 1;
+       cfi_info->not_cfi = true;
 
        /* fill in defaults for non-critical data */
        cfi_info->vcc_min = 0x0;