summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2009-10-20 09:46:23 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2009-10-20 09:46:23 +0200
commite4dba30b639c26d7f929ff7286d823dfc490ff1c (patch)
tree8ca5889b8cf6c2f1b4b099805be65a6d88467330 /src
parent6907ef9d5038d74ff38bc30a6085762c471468ed (diff)
downloadopenocd+libswd-e4dba30b639c26d7f929ff7286d823dfc490ff1c.tar.gz
openocd+libswd-e4dba30b639c26d7f929ff7286d823dfc490ff1c.tar.bz2
openocd+libswd-e4dba30b639c26d7f929ff7286d823dfc490ff1c.tar.xz
openocd+libswd-e4dba30b639c26d7f929ff7286d823dfc490ff1c.zip
More svn to git version string fixes.
Diffstat (limited to 'src')
-rw-r--r--src/jtag/zy1000/zy1000.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/jtag/zy1000/zy1000.c b/src/jtag/zy1000/zy1000.c
index dc0efb0b..e56f6d21 100644
--- a/src/jtag/zy1000/zy1000.c
+++ b/src/jtag/zy1000/zy1000.c
@@ -32,7 +32,7 @@
#define ZYLIN_DATE __DATE__
#define ZYLIN_TIME __TIME__
#define ZYLIN_OPENOCD GIT_OPENOCD_VERSION
-#define ZYLIN_OPENOCD_VERSION "Zylin JTAG ZY1000 " ZYLIN_VERSION " " ZYLIN_DATE " " ZYLIN_TIME
+#define ZYLIN_OPENOCD_VERSION "ZY1000 " ZYLIN_VERSION " " ZYLIN_DATE
/* low level command set
*/
@@ -280,6 +280,10 @@ static int jim_zy1000_version(Jim_Interp *interp, int argc, Jim_Obj *const *argv
{
version_str = ZYLIN_DATE;
}
+ else if (strcmp("time", str) == 0)
+ {
+ version_str = ZYLIN_TIME;
+ }
else if (strcmp("pcb", str) == 0)
{
#ifdef CYGPKG_HAL_NIOS2