diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-04 00:56:41 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-04 00:56:41 +0000 |
commit | 4123f082630caddead1590eac6193f736440c4cb (patch) | |
tree | f7c19c446f7e36df1d0423c311c3871236491792 /src/jtag/ep93xx.c | |
parent | 99fbbdc9c48da616d06986670f9518c0f42cb00e (diff) |
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
Diffstat (limited to 'src/jtag/ep93xx.c')
-rw-r--r-- | src/jtag/ep93xx.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/jtag/ep93xx.c b/src/jtag/ep93xx.c index e4daa7e6..38b9acb0 100644 --- a/src/jtag/ep93xx.c +++ b/src/jtag/ep93xx.c @@ -53,13 +53,13 @@ static int ep93xx_quit(void); struct timespec ep93xx_zzzz; -jtag_interface_t ep93xx_interface = +jtag_interface_t ep93xx_interface = { .name = "ep93xx", .execute_queue = bitbang_execute_queue, - .speed = ep93xx_speed, + .speed = ep93xx_speed, .register_commands = ep93xx_register_commands, .init = ep93xx_init, .quit = ep93xx_quit, @@ -84,12 +84,12 @@ static void ep93xx_write(int tck, int tms, int tdi) output_value |= TCK_BIT; else output_value &= ~TCK_BIT; - + if (tms) output_value |= TMS_BIT; else output_value &= ~TMS_BIT; - + if (tdi) output_value |= TDI_BIT; else @@ -111,7 +111,7 @@ static void ep93xx_reset(int trst, int srst) output_value |= SRST_BIT; else if (srst == 1) output_value &= ~SRST_BIT; - + *gpio_data_register = output_value; nanosleep(&ep93xx_zzzz, NULL); } @@ -153,7 +153,7 @@ static int ep93xx_init(void) { int ret; - bitbang_interface = &ep93xx_bitbang; + bitbang_interface = &ep93xx_bitbang; ep93xx_zzzz.tv_sec = 0; ep93xx_zzzz.tv_nsec = 10000000; @@ -203,7 +203,7 @@ static int ep93xx_init(void) gpio_data_direction_register = gpio_controller + 0x18; LOG_INFO("gpio_data_register = %p\n", gpio_data_register); - LOG_INFO("gpio_data_direction_reg = %p\n", gpio_data_direction_register); + LOG_INFO("gpio_data_direction_reg = %p\n", gpio_data_direction_register); /* * Configure bit 0 (TDO) as an input, and bits 1-5 (TDI, TCK * TMS, TRST, SRST) as outputs. Drive TDI and TCK low, and |