hla: if the idcode callback returns 0, treat as a wildcard 73/1673/2
authorPaul Fertser <fercerpav@gmail.com>
Sun, 29 Sep 2013 15:12:17 +0000 (19:12 +0400)
committerSpencer Oliver <spen@spen-soft.co.uk>
Thu, 3 Oct 2013 11:24:24 +0000 (11:24 +0000)
commitff94e02b7cfe5df892824e60140dcdd07ed2b01c
treeea07ba10f5ee6a63d7dbbc356e0673ef0afec472
parent24099b4c144f1c6d1244b8b4d98c0fd69c9ff2fc
hla: if the idcode callback returns 0, treat as a wildcard

Also document the callback accordingly.

Change-Id: I7e8ef481e8b5391b763b7f7187fac023e9fe04df
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/1673
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/ti_icdi_usb.c
src/jtag/hla/hla_interface.c
src/jtag/hla/hla_layout.h