summaryrefslogtreecommitdiff
path: root/src/openocd.c
diff options
context:
space:
mode:
authordrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2006-11-22 13:03:10 +0000
committerdrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2006-11-22 13:03:10 +0000
commite9297b40b994f071474210e7d9e224d50e25fcaf (patch)
treec04957b7721ab6825e73fad0775677643f82fc23 /src/openocd.c
parent03e8f264f4c66baec9b86778d3488b23e0a8c0b6 (diff)
downloadopenocd_libswd-e9297b40b994f071474210e7d9e224d50e25fcaf.tar.gz
openocd_libswd-e9297b40b994f071474210e7d9e224d50e25fcaf.tar.bz2
openocd_libswd-e9297b40b994f071474210e7d9e224d50e25fcaf.tar.xz
openocd_libswd-e9297b40b994f071474210e7d9e224d50e25fcaf.zip
- added a PLD (programmable logic device) subsystem for FPGA, CPLD etc. configuration
- added support for loading .bit files into Xilinx Virtex-II devices - added support for the Gateworks GW16012 JTAG dongle - merged CFI fixes from XScale branch - a few minor fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@116 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/openocd.c')
-rw-r--r--src/openocd.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/openocd.c b/src/openocd.c
index 4df416e8..3abc609e 100644
--- a/src/openocd.c
+++ b/src/openocd.c
@@ -18,7 +18,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
-#define OPENOCD_VERSION "Open On-Chip Debugger (2006-10-12 18:00 CEST)"
+#define OPENOCD_VERSION "Open On-Chip Debugger (2006-11-22 14:00 CEST)"
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -32,6 +32,7 @@
#include "xsvf.h"
#include "target.h"
#include "flash.h"
+#include "pld.h"
#include "command.h"
#include "server.h"
@@ -74,6 +75,7 @@ int main(int argc, char *argv[])
xsvf_register_commands(cmd_ctx);
target_register_commands(cmd_ctx);
flash_register_commands(cmd_ctx);
+ pld_register_commands(cmd_ctx);
if (log_init(cmd_ctx) != ERROR_OK)
return EXIT_FAILURE;
@@ -107,6 +109,10 @@ int main(int argc, char *argv[])
return EXIT_FAILURE;
DEBUG("flash init complete");
+ if (pld_init(cmd_ctx) != ERROR_OK)
+ return EXIT_FAILURE;
+ DEBUG("pld init complete");
+
/* initialize tcp server */
server_init();