aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@seco.com>2022-05-13 11:07:29 -0400
committerAntonio Borneo <borneo.antonio@gmail.com>2022-05-27 22:48:36 +0000
commit9d8b98da69f1cbbce3f8963be643cc2b4d07ff56 (patch)
tree167af9649763aa8184788bf8d70322de37c4a076 /tcl
parent32b3859258abb97248a52e4c65b1fbce7581fab5 (diff)
downloadriscv-openocd-9d8b98da69f1cbbce3f8963be643cc2b4d07ff56.zip
riscv-openocd-9d8b98da69f1cbbce3f8963be643cc2b4d07ff56.tar.gz
riscv-openocd-9d8b98da69f1cbbce3f8963be643cc2b4d07ff56.tar.bz2
target: Add LS1028A
The LS1028A is similar to the LS1088A, except that it has 2 CPUs (and different ethernet capabilities). From a JTAG perspective, all that's different is the number of CPUs and the TAPID. Signed-off-by: Sean Anderson <sean.anderson@seco.com> Change-Id: Iba3a0ecfbf82cfcfeb7eea42d52121c3b9dc93a2 Reviewed-on: https://review.openocd.org/c/openocd/+/6976 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/target/ls1028a.cfg18
1 files changed, 18 insertions, 0 deletions
diff --git a/tcl/target/ls1028a.cfg b/tcl/target/ls1028a.cfg
new file mode 100644
index 0000000..463ec7d
--- /dev/null
+++ b/tcl/target/ls1028a.cfg
@@ -0,0 +1,18 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# NXP LS1028A
+
+if { [info exists CHIPNAME] } {
+ set _CHIPNAME $CHIPNAME
+} else {
+ set _CHIPNAME ls1028a
+}
+
+if { [info exists DAP_TAPID] } {
+ set _DAP_TAPID $DAP_TAPID
+} else {
+ set _DAP_TAPID 0x6ba00477
+}
+
+set _CPUS 2
+
+source [find target/lsch3_common.cfg]