aboutsummaryrefslogtreecommitdiff
path: root/tcl/target
diff options
context:
space:
mode:
authorLee Bowyer <lee@sodnpoo.com>2014-04-06 20:06:14 +0400
committerPaul Fertser <fercerpav@gmail.com>2014-04-14 18:15:24 +0000
commit47830f0ebf8135758b372d2a84eb370bf03f901d (patch)
treebe0b1d4de6b2e9456eb769bb10b72c3d07f85054 /tcl/target
parente2b35204b395181d9fe51747035cddbb3c58c588 (diff)
tcl: bcm6348 target config, BT HomeHub v1 board config
Also add the board to the firmware recovery script. Change-Id: I4f9c895dae171df7249e3b1c0563b288518b9fe0 Signed-off-by: Lee Bowyer <lee@sodnpoo.com> Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2097 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'tcl/target')
-rw-r--r--tcl/target/bcm6348.cfg9
1 files changed, 9 insertions, 0 deletions
diff --git a/tcl/target/bcm6348.cfg b/tcl/target/bcm6348.cfg
new file mode 100644
index 00000000..2540b51a
--- /dev/null
+++ b/tcl/target/bcm6348.cfg
@@ -0,0 +1,9 @@
+set _CHIPNAME bcm6348
+set _CPUID 0x0634817f
+
+adapter_khz 1000
+
+jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id $_CPUID
+
+set _TARGETNAME $_CHIPNAME.cpu
+target create $_TARGETNAME mips_m4k -endian big -chain-position $_TARGETNAME