diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2012-02-02 15:08:51 +0000 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-02-06 10:59:07 +0000 |
commit | de0130a0aad83c1ef692ee4d68ab996a8668424d (patch) | |
tree | 8d151b820c89c2b9e76dcae953d1f6caf4b18f14 /src/jtag/drivers/ep93xx.c | |
parent | 2af5b97ba31fed7bab2d43b987f815629e1cd8f7 (diff) | |
download | riscv-openocd-de0130a0aad83c1ef692ee4d68ab996a8668424d.zip riscv-openocd-de0130a0aad83c1ef692ee4d68ab996a8668424d.tar.gz riscv-openocd-de0130a0aad83c1ef692ee4d68ab996a8668424d.tar.bz2 |
build: cleanup src/jtag/drivers directory
Change-Id: I99c08ec0132d5a15250050e718310f1ddd9fe546
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/425
Tested-by: jenkins
Diffstat (limited to 'src/jtag/drivers/ep93xx.c')
-rw-r--r-- | src/jtag/drivers/ep93xx.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/jtag/drivers/ep93xx.c b/src/jtag/drivers/ep93xx.c index 7e3b456..9781130 100644 --- a/src/jtag/drivers/ep93xx.c +++ b/src/jtag/drivers/ep93xx.c @@ -17,6 +17,7 @@ * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -34,7 +35,7 @@ #include <sys/mman.h> -static uint8_t output_value = 0x0; +static uint8_t output_value; static int dev_mem_fd; static void *gpio_controller; static volatile uint8_t *gpio_data_register; @@ -52,8 +53,7 @@ static int ep93xx_quit(void); struct timespec ep93xx_zzzz; -struct jtag_interface ep93xx_interface = -{ +struct jtag_interface ep93xx_interface = { .name = "ep93xx", .supported = DEBUG_CAP_TMS_SEQ, @@ -64,8 +64,7 @@ struct jtag_interface ep93xx_interface = .quit = ep93xx_quit, }; -static struct bitbang_interface ep93xx_bitbang = -{ +static struct bitbang_interface ep93xx_bitbang = { .read = ep93xx_read, .write = ep93xx_write, .reset = ep93xx_reset, |