This is an automated email from Gerrit.

Tomasz CEDRO ([email protected]) just uploaded a new patch set to Gerrit, which 
you can find at http://openocd.zylin.com/1062

-- gerrit

commit 3c7d914c8cd629fe51f3eecbec826d9451d0a9d2
Author: Tomek CEDRO <[email protected]>
Date:   Tue Oct 30 17:04:18 2012 +0100

    Added ft2232_interface_swd driver declaration with default transport set to 
swd_only. It is based on existing ft2232 and jtag_interface. It contains 
ft2232_transfer and ft2232_bitbang functions by default, thus it will work only 
with ft2232 devices for now. This will be the first interface type to work with 
LibSWD.
    
    Change-Id: Ie06ac0430ed588423f32a904b102983ce224a062
    Signed-off-by: Tomek CEDRO <[email protected]>

diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c
index 864cc9e..754d657 100644
--- a/src/jtag/drivers/ft2232.c
+++ b/src/jtag/drivers/ft2232.c
@@ -4489,3 +4489,19 @@ struct jtag_interface ft2232_interface = {
        .execute_queue = ft2232_execute_queue,
        .bitbang = ft2232_bitbang,
 };
+
+struct jtag_interface ft2232_interface_swd = {
+       .name = "ft2232_swd",
+       .supported = DEBUG_CAP_TMS_SEQ,
+       .commands = ft2232_command_handlers,
+       .transports = swd_only,
+
+       .init = ft2232_init,
+       .quit = ft2232_quit,
+       .speed = ft2232_speed,
+       .speed_div = ft2232_speed_div,
+       .khz = ft2232_khz,
+       .transfer = ft2232_transfer,
+       .bitbang = ft2232_bitbang,
+};
+

-- 

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to