summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/target/Makefile.am3
-rw-r--r--src/target/target/imx27.cfg12
2 files changed, 14 insertions, 1 deletions
diff --git a/src/target/Makefile.am b/src/target/Makefile.am
index fc32be75..6a9465b8 100644
--- a/src/target/Makefile.am
+++ b/src/target/Makefile.am
@@ -38,7 +38,8 @@ nobase_dist_pkglib_DATA = xscale/debug_handler.bin target/at91eb40a.cfg \
interface/flyswatter.cfg target/hammer.cfg \
interface/olimex-jtag-tiny-a.cfg \
target/pic32mx.cfg target/aduc702x.cfg interface/dummy.cfg interface/olimex-arm-usb-ocd.cfg target/s3c2440.cfg \
- interface/openocd-usb.cfg target/test_syntax_error.cfg target/test_reset_syntax_error.cfg
+ interface/openocd-usb.cfg target/test_syntax_error.cfg target/test_reset_syntax_error.cfg \
+ target/imx27.cfg
diff --git a/src/target/target/imx27.cfg b/src/target/target/imx27.cfg
new file mode 100644
index 00000000..6d3cd6be
--- /dev/null
+++ b/src/target/target/imx27.cfg
@@ -0,0 +1,12 @@
+#use combined on interfaces or targets that can't set TRST/SRST separately
+reset_config trst_and_srst
+
+# There are 2 taps on the chip:
+# The ETM
+jtag_device 4 0x1 0xf 0xe
+# The ARM926EJS
+jtag_device 4 0x1 0xf 0xe
+
+# Note above there are 2 taps (#0 and #1) the ARM926 is the 2nd tap (ie #1)
+target create target0 arm926ejs -endianess little -chain-position 1 -variant arm926ejs
+