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/5736
-- gerrit commit c2ba3b1d301b9f8108f2b3233a7364ce77a4881c Author: Marc Schink <[email protected]> Date: Wed Jul 1 10:22:37 2020 +0200 flash/nor/ath79: Use 'bool' data type Change-Id: Iecd29dcfcc1ae983e4e0828025d2d174944c1e9d Signed-off-by: Marc Schink <[email protected]> diff --git a/src/flash/nor/ath79.c b/src/flash/nor/ath79.c index c551f27..dac7c5f 100644 --- a/src/flash/nor/ath79.c +++ b/src/flash/nor/ath79.c @@ -89,7 +89,7 @@ struct ath79_spi_ctx { }; struct ath79_flash_bank { - int probed; + bool probed; int chipselect; uint32_t io_base; const struct flash_device *dev; @@ -780,7 +780,7 @@ static int ath79_probe(struct flash_bank *bank) free(bank->sectors); free(ath79_info->spi.page_buf); } - ath79_info->probed = 0; + ath79_info->probed = false; for (target_device = target_devices; target_device->name; ++target_device) @@ -853,7 +853,7 @@ static int ath79_probe(struct flash_bank *bank) } bank->sectors = sectors; - ath79_info->probed = 1; + ath79_info->probed = true; return ERROR_OK; } -- _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
