This is an automated email from Gerrit. Marc Schink ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/5748
-- gerrit commit 71d3838be185ca867648688c825a4eeb5da104ce Author: Marc Schink <[email protected]> Date: Wed Jul 1 10:26:32 2020 +0200 flash/nor/sh_qspi: Use 'bool' data type Change-Id: Id5567102013648b1565078310abc27bee4446992 Signed-off-by: Marc Schink <[email protected]> diff --git a/src/flash/nor/sh_qspi.c b/src/flash/nor/sh_qspi.c index 862e43a..d17cbb3 100644 --- a/src/flash/nor/sh_qspi.c +++ b/src/flash/nor/sh_qspi.c @@ -77,7 +77,7 @@ struct sh_qspi_flash_bank { const struct flash_device *dev; uint32_t io_base; - int probed; + bool probed; struct working_area *io_algorithm; struct working_area *source; unsigned int buffer_size; @@ -758,7 +758,7 @@ static int sh_qspi_probe(struct flash_bank *bank) if (info->probed) free(bank->sectors); - info->probed = 0; + info->probed = false; for (target_device = target_devices; target_device->name; ++target_device) @@ -828,7 +828,7 @@ static int sh_qspi_probe(struct flash_bank *bank) } bank->sectors = sectors; - info->probed = 1; + info->probed = true; return ERROR_OK; } -- _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
