diff options
author | Hsiangkai Wang <hsiangkai@gmail.com> | 2013-02-05 09:34:18 +0800 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2013-06-05 19:27:23 +0000 |
commit | ceb402dc9e903d2f3f6bc8125dfed9d82b83d2d1 (patch) | |
tree | 30771448f2a2e901163c33947414039ceece2e79 /src/jtag/interfaces.c | |
parent | 8890ce34696d2e6a18eeda4a410724d24ad57360 (diff) |
aice: add Andes AICE support
Andes AICE uses USB to transfer packets between OpenOCD and AICE.
It uses high-level USB commands to control targets instead of using
JTAG signals. I define an interface as aice_port_api_s. It contains
all basic operations needed by target-dependent code.
Change-Id: I117bc4f938fab2732e44c509ea68b30172d6fdb9
Signed-off-by: Hsiangkai Wang <hsiangkai@gmail.com>
Reviewed-on: http://openocd.zylin.com/1256
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/jtag/interfaces.c')
-rw-r--r-- | src/jtag/interfaces.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/jtag/interfaces.c b/src/jtag/interfaces.c index 2a8acdbd..8cf09a3c 100644 --- a/src/jtag/interfaces.c +++ b/src/jtag/interfaces.c @@ -116,6 +116,9 @@ extern struct jtag_interface opendous_interface; #if BUILD_SYSFSGPIO == 1 extern struct jtag_interface sysfsgpio_interface; #endif +#if BUILD_AICE == 1 +extern struct jtag_interface aice_interface; +#endif #endif /* standard drivers */ /** @@ -200,6 +203,9 @@ struct jtag_interface *jtag_interfaces[] = { #if BUILD_SYSFSGPIO == 1 &sysfsgpio_interface, #endif +#if BUILD_AICE == 1 + &aice_interface, +#endif #endif /* standard drivers */ NULL, }; |