summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-30 06:26:22 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-30 06:26:22 +0000
commit01f25b5aeb88513f9478fc83b14ecaa868d0eed5 (patch)
tree68f3351c0a57b394f1efcdbb8b8f53063bb45b9c /src/target
parent850121f25586f00a1d22fdf2f8f4ad55e6607fac (diff)
downloadopenocd_libswd-01f25b5aeb88513f9478fc83b14ecaa868d0eed5.tar.gz
openocd_libswd-01f25b5aeb88513f9478fc83b14ecaa868d0eed5.tar.bz2
openocd_libswd-01f25b5aeb88513f9478fc83b14ecaa868d0eed5.tar.xz
openocd_libswd-01f25b5aeb88513f9478fc83b14ecaa868d0eed5.zip
use jtag_rclk 500 to avoid proliferation of target scripts
git-svn-id: svn://svn.berlios.de/openocd/trunk@1574 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target')
-rw-r--r--src/target/target/lpc2148.cfg5
-rw-r--r--src/target/target/lpc2148_2mhz.cfg4
-rw-r--r--src/target/target/lpc2148_rclk.cfg4
3 files changed, 5 insertions, 8 deletions
diff --git a/src/target/target/lpc2148.cfg b/src/target/target/lpc2148.cfg
index a728195c..32ae0af4 100644
--- a/src/target/target/lpc2148.cfg
+++ b/src/target/target/lpc2148.cfg
@@ -1,3 +1,8 @@
+# Use RCLK. If RCLK is not available fall back to 500kHz.
+#
+# Depending on cabling you might be able to eek this up to 2000kHz.
+jtag_rclk 500
+
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
diff --git a/src/target/target/lpc2148_2mhz.cfg b/src/target/target/lpc2148_2mhz.cfg
deleted file mode 100644
index 0ed87ca4..00000000
--- a/src/target/target/lpc2148_2mhz.cfg
+++ /dev/null
@@ -1,4 +0,0 @@
-# 2MHz
-jtag_khz 2000
-script target/lpc2148.cfg
-
diff --git a/src/target/target/lpc2148_rclk.cfg b/src/target/target/lpc2148_rclk.cfg
deleted file mode 100644
index dd7330f7..00000000
--- a/src/target/target/lpc2148_rclk.cfg
+++ /dev/null
@@ -1,4 +0,0 @@
-# RCLK
-jtag_khz 0
-script target/lpc2148.cfg
-