aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor
diff options
context:
space:
mode:
authorMarc Schink <dev@zapb.de>2021-04-11 21:36:00 +0200
committerTomas Vanek <vanekt@fbl.cz>2021-04-22 13:06:15 +0100
commitdc277057f57780354278cdc4876d393735f49369 (patch)
tree2b718db9348d1f9b374e3084fd2e61fbe2916329 /src/flash/nor
parentff755a575ebf0218c2eb8745eff8050f8f02a53d (diff)
downloadriscv-openocd-dc277057f57780354278cdc4876d393735f49369.zip
riscv-openocd-dc277057f57780354278cdc4876d393735f49369.tar.gz
riscv-openocd-dc277057f57780354278cdc4876d393735f49369.tar.bz2
flash/nor/numicro: Use 'bool' data type
Change-Id: Ib4ee64dec9c1253ae45bc58e9f175ab36964180a Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: http://openocd.zylin.com/6162 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'src/flash/nor')
-rw-r--r--src/flash/nor/numicro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/numicro.c b/src/flash/nor/numicro.c
index 1971daa..d9ea16d 100644
--- a/src/flash/nor/numicro.c
+++ b/src/flash/nor/numicro.c
@@ -1132,7 +1132,7 @@ static const struct numicro_cpu_type NuMicroParts[] = {
/* Private bank information for NuMicro. */
struct numicro_flash_bank {
struct working_area *write_algorithm;
- int probed;
+ bool probed;
const struct numicro_cpu_type *cpu;
};