static __inline__ void virtexflip32(jtag_callback_data_t arg)
{
- uint8_t *in=(uint8_t *)arg;
+ uint8_t *in = (uint8_t *)arg;
*((uint32_t *)in) = flip_u32(le_to_h_u32(in), 32);
}
jtag_execute_queue();
- LOG_DEBUG("status: 0x%8.8x", *status);
+ LOG_DEBUG("status: 0x%8.8" PRIx32 "", *status);
return ERROR_OK;
}
virtex2_read_stat(device, &status);
- command_print(cmd_ctx, "virtex2 status register: 0x%8.8x", status);
+ command_print(cmd_ctx, "virtex2 status register: 0x%8.8" PRIx32 "", status);
return ERROR_OK;
}
tap = jtag_tap_by_string(args[1]);
if (tap == NULL) {
- command_print( cmd_ctx, "Tap: %s does not exist", args[1] );
+ command_print(cmd_ctx, "Tap: %s does not exist", args[1] );
return ERROR_OK;
}