This commit is adapted from [1].
[1] https://review.openocd.org/c/openocd/+/4999
Signed-off-by: Michael Walle <michael.walle@kontron.com>
Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com>
[ adapted to use common configuration ]
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Change-Id: I9a428371694e7864e03055b8de18a55a7843b8c2
Reviewed-on: https://review.openocd.org/c/openocd/+/6977
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
--- /dev/null
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Kontron SMARC-sAL28
+
+transport select jtag
+reset_config srst_only srst_nogate
+
+jtag newtap unknown0 tap -irlen 12
+
+set _CPUS 2
+source [find target/ls1028a.cfg]
+
+source [find tcl/cpld/altera-epm240.cfg]
+
+adapter speed 2000