aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/non_cfi.c
diff options
context:
space:
mode:
authorMarc Schink <dev@zapb.de>2020-07-01 10:23:44 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2020-07-08 22:05:52 +0100
commitf23525e5dd1ed1e0a63f2ecf57bf7927be1a9765 (patch)
treedc9d0be2dab3f6ccc2326cae8a0daabbf6fa9161 /src/flash/nor/non_cfi.c
parent46238fabb9d5c9b81de1151312babedb88423fd9 (diff)
downloadriscv-openocd-f23525e5dd1ed1e0a63f2ecf57bf7927be1a9765.zip
riscv-openocd-f23525e5dd1ed1e0a63f2ecf57bf7927be1a9765.tar.gz
riscv-openocd-f23525e5dd1ed1e0a63f2ecf57bf7927be1a9765.tar.bz2
flash/nor/cfi: Use 'bool' data type
Change-Id: I25198223175c26aded9ad667b802da09883e94ee Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: http://openocd.zylin.com/5738 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash/nor/non_cfi.c')
-rw-r--r--src/flash/nor/non_cfi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/non_cfi.c b/src/flash/nor/non_cfi.c
index 851c0ae..f44adba 100644
--- a/src/flash/nor/non_cfi.c
+++ b/src/flash/nor/non_cfi.c
@@ -487,7 +487,7 @@ void cfi_fixup_non_cfi(struct flash_bank *bank)
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;