jtag: drop useless typedef tap_state_t
No need to use a typedef for an enum. Drop it. Change-Id: I9eb2dc4f926671c5bb44e61453d92880e3036848 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8709 Tested-by: jenkins Reviewed-by: zapb <dev@zapb.de>
This commit is contained in:
@@ -59,7 +59,7 @@ static const struct lattice_devices_elem lattice_devices[] = {
|
||||
{0x010f4043, 362, LATTICE_CERTUS /* LFCPNX-100 */},
|
||||
};
|
||||
|
||||
int lattice_set_instr(struct jtag_tap *tap, uint8_t new_instr, tap_state_t endstate)
|
||||
int lattice_set_instr(struct jtag_tap *tap, uint8_t new_instr, enum tap_state endstate)
|
||||
{
|
||||
struct scan_field field;
|
||||
field.num_bits = tap->ir_length;
|
||||
|
||||
@@ -20,7 +20,7 @@ struct lattice_pld_device {
|
||||
enum lattice_family_e family;
|
||||
};
|
||||
|
||||
int lattice_set_instr(struct jtag_tap *tap, uint8_t new_instr, tap_state_t endstate);
|
||||
int lattice_set_instr(struct jtag_tap *tap, uint8_t new_instr, enum tap_state endstate);
|
||||
int lattice_read_u32_register(struct jtag_tap *tap, uint8_t cmd, uint32_t *in_val,
|
||||
uint32_t out_val, bool do_idle);
|
||||
int lattice_read_u64_register(struct jtag_tap *tap, uint8_t cmd, uint64_t *in_val,
|
||||
|
||||
Reference in New Issue
Block a user