jtag: Rename 'hasidcode' to 'has_idcode'
While at it, fix some coding style issues. Change-Id: I8196045f46ce043ed0d28cb95470132b3a7de1bb Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: https://review.openocd.org/c/openocd/+/8039 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
d3d287bf67
commit
f018cd7d90
@@ -597,7 +597,7 @@ static int xcf_probe(struct flash_bank *bank)
|
||||
}
|
||||
|
||||
/* check idcode and alloc memory for sector table */
|
||||
if (!bank->target->tap->hasidcode)
|
||||
if (!bank->target->tap->has_idcode)
|
||||
return ERROR_FLASH_OPERATION_FAILED;
|
||||
|
||||
/* guess number of blocks using chip ID */
|
||||
|
||||
Reference in New Issue
Block a user