aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/or1k.cfg
diff options
context:
space:
mode:
authorFranck Jullien <franck.jullien@gmail.com>2014-05-30 16:49:42 +0200
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2014-06-22 08:39:08 +0000
commit712165f4831afed3a1410579d2e708581e4356fb (patch)
tree7c7309d12057aaa79d8701a862a134c37780c2b0 /tcl/target/or1k.cfg
parentfd9f27bfac1dd9a661913c31774edf4f8cd0798c (diff)
downloadriscv-openocd-712165f4831afed3a1410579d2e708581e4356fb.zip
riscv-openocd-712165f4831afed3a1410579d2e708581e4356fb.tar.gz
riscv-openocd-712165f4831afed3a1410579d2e708581e4356fb.tar.bz2
openrisc: add support for JTAG Serial Port
Change-Id: I623a8c74bcca2edb5f996b69c02d73a6f67b7d34 Signed-off-by: Franck Jullien <franck.jullien@gmail.com> Reviewed-on: http://openocd.zylin.com/2162 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'tcl/target/or1k.cfg')
-rw-r--r--tcl/target/or1k.cfg6
1 files changed, 4 insertions, 2 deletions
diff --git a/tcl/target/or1k.cfg b/tcl/target/or1k.cfg
index acec700..360a0dd 100644
--- a/tcl/target/or1k.cfg
+++ b/tcl/target/or1k.cfg
@@ -61,10 +61,12 @@ if { [string compare $_TAP_TYPE "VJTAG"] == 0 } {
# Select the debug unit core we are using. This debug unit as an option.
-proc ADBG_USE_HISPEED {} { return 1 }
+set ADBG_USE_HISPEED 1
+set ENABLE_JSP_SERVER 2
+set ENABLE_JSP_MULTI 4
# If ADBG_USE_HISPEED is set (options bit 1), status bits will be skipped
# on burst reads and writes to improve download speeds.
# This option must match the RTL configured option.
-du_select adv [ADBG_USE_HISPEED]
+du_select adv [expr $ADBG_USE_HISPEED | $ENABLE_JSP_SERVER | $ENABLE_JSP_MULTI]