diff options
author | Marc Schink <dev@zapb.de> | 2023-12-06 18:08:50 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2023-12-16 07:51:56 +0000 |
commit | f018cd7d90243ab29c3cad25caf6932d1f1b83ea (patch) | |
tree | 9bda1bfb1d971c51b83c1e3e9130abc0316939a2 /src/pld/intel.c | |
parent | d3d287bf676573fcbb6d6df3becfb4b3392df3db (diff) | |
download | riscv-openocd-f018cd7d90243ab29c3cad25caf6932d1f1b83ea.zip riscv-openocd-f018cd7d90243ab29c3cad25caf6932d1f1b83ea.tar.gz riscv-openocd-f018cd7d90243ab29c3cad25caf6932d1f1b83ea.tar.bz2 |
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>
Diffstat (limited to 'src/pld/intel.c')
-rw-r--r-- | src/pld/intel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pld/intel.c b/src/pld/intel.c index 8422c94..a39e16c 100644 --- a/src/pld/intel.c +++ b/src/pld/intel.c @@ -157,7 +157,7 @@ static int intel_check_for_unique_id(struct intel_pld_device *intel_info) static int intel_check_config(struct intel_pld_device *intel_info) { - if (!intel_info->tap->hasidcode) { + if (!intel_info->tap->has_idcode) { LOG_ERROR("no IDCODE"); return ERROR_FAIL; } |