David Brownell <david-b@pacbell.net>:
Remove pernicious whitespace from src/jtag/*c files; mostly the end-of-line flavor for now, although there's more. git-svn-id: svn://svn.berlios.de/openocd/trunk@2036 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
99fbbdc9c4
commit
4123f08263
|
@ -229,7 +229,7 @@ static int armjtagew_speed(int speed)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LOG_INFO("Requested speed %dkHz, emulator reported %dkHz.", speed, speed_real);
|
LOG_INFO("Requested speed %dkHz, emulator reported %dkHz.", speed, speed_real);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ERROR_OK;
|
return ERROR_OK;
|
||||||
|
|
|
@ -59,24 +59,24 @@ static u8 usb_out_buffer[JLINK_OUT_BUFFER_SIZE];
|
||||||
static u8 usb_emu_result_buffer[JLINK_EMU_RESULT_BUFFER_SIZE];
|
static u8 usb_emu_result_buffer[JLINK_EMU_RESULT_BUFFER_SIZE];
|
||||||
|
|
||||||
/* Constants for JLink command */
|
/* Constants for JLink command */
|
||||||
#define EMU_CMD_VERSION 0x01
|
#define EMU_CMD_VERSION 0x01
|
||||||
#define EMU_CMD_SET_SPEED 0x05
|
#define EMU_CMD_SET_SPEED 0x05
|
||||||
#define EMU_CMD_GET_STATE 0x07
|
#define EMU_CMD_GET_STATE 0x07
|
||||||
#define EMU_CMD_HW_CLOCK 0xc8
|
#define EMU_CMD_HW_CLOCK 0xc8
|
||||||
#define EMU_CMD_HW_TMS0 0xc9
|
#define EMU_CMD_HW_TMS0 0xc9
|
||||||
#define EMU_CMD_HW_TMS1 0xca
|
#define EMU_CMD_HW_TMS1 0xca
|
||||||
#define EMU_CMD_HW_JTAG2 0xce
|
#define EMU_CMD_HW_JTAG2 0xce
|
||||||
#define EMU_CMD_HW_JTAG3 0xcf
|
#define EMU_CMD_HW_JTAG3 0xcf
|
||||||
#define EMU_CMD_GET_MAX_MEM_BLOCK 0xd4
|
#define EMU_CMD_GET_MAX_MEM_BLOCK 0xd4
|
||||||
#define EMU_CMD_HW_RESET0 0xdc
|
#define EMU_CMD_HW_RESET0 0xdc
|
||||||
#define EMU_CMD_HW_RESET1 0xdd
|
#define EMU_CMD_HW_RESET1 0xdd
|
||||||
#define EMU_CMD_HW_TRST0 0xde
|
#define EMU_CMD_HW_TRST0 0xde
|
||||||
#define EMU_CMD_HW_TRST1 0xdf
|
#define EMU_CMD_HW_TRST1 0xdf
|
||||||
#define EMU_CMD_GET_CAPS 0xe8
|
#define EMU_CMD_GET_CAPS 0xe8
|
||||||
#define EMU_CMD_GET_HW_VERSION 0xf0
|
#define EMU_CMD_GET_HW_VERSION 0xf0
|
||||||
|
|
||||||
/* bits return from EMU_CMD_GET_CAPS */
|
/* bits return from EMU_CMD_GET_CAPS */
|
||||||
#define EMU_CAP_GET_HW_VERSION 1
|
#define EMU_CAP_GET_HW_VERSION 1
|
||||||
#define EMU_CAP_GET_MAX_BLOCK_SIZE 11
|
#define EMU_CAP_GET_MAX_BLOCK_SIZE 11
|
||||||
|
|
||||||
/* max speed 12MHz v5.0 jlink */
|
/* max speed 12MHz v5.0 jlink */
|
||||||
|
|
|
@ -2658,7 +2658,7 @@ int jtag_add_statemove(tap_state_t goal_state)
|
||||||
jtag_add_pathmove(tms_count, moves);
|
jtag_add_pathmove(tms_count, moves);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* else state must be immediately reachable in one clock cycle, and does not
|
/* else state must be immediately reachable in one clock cycle, and does not
|
||||||
need to be a stable state.
|
need to be a stable state.
|
||||||
*/
|
*/
|
||||||
else if( tap_state_transition(cur_state, true) == goal_state
|
else if( tap_state_transition(cur_state, true) == goal_state
|
||||||
|
|
Loading…
Reference in New Issue