summaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authormlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-09-18 15:11:46 +0000
committermlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-09-18 15:11:46 +0000
commit7b3be0e21ec2065f77c1541b09e049b733361486 (patch)
treeb5435dc2ff3657ad65ef8da1ab36e77f2d7d65c9 /tcl
parent631b2ab2440cc0cfed3e3f6a72c58c5e426f32f0 (diff)
downloadopenocd+libswd-7b3be0e21ec2065f77c1541b09e049b733361486.tar.gz
openocd+libswd-7b3be0e21ec2065f77c1541b09e049b733361486.tar.bz2
openocd+libswd-7b3be0e21ec2065f77c1541b09e049b733361486.tar.xz
openocd+libswd-7b3be0e21ec2065f77c1541b09e049b733361486.zip
Move Cortex A8 debug access initialisation from omap3530.cfg to cortex_a8.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@2728 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'tcl')
-rw-r--r--tcl/target/omap3530.cfg21
1 files changed, 3 insertions, 18 deletions
diff --git a/tcl/target/omap3530.cfg b/tcl/target/omap3530.cfg
index c9d48983..3c7dd9cf 100644
--- a/tcl/target/omap3530.cfg
+++ b/tcl/target/omap3530.cfg
@@ -47,24 +47,9 @@ proc omap3_dbginit { } {
jtag tapenable omap3530.dap
targets
- # sleep 1000
- # dap apsel 1
- # sleep 1000
- # dap apsel 1
- # dap info 1
-
- # 0xd401.0000 - ETM
- # 0xd401.1000 - Cortex-A8
- # 0xd401.9000 - TPIU (traceport)
- # 0xd401.b000 - ETB
- # 0xd401.d000 - DAPCTL
-
- omap3.cpu mww 0x54011FB0 0xC5ACCE55
-
- omap3.cpu mdw 0x54011314
- omap3.cpu mdw 0x54011314
- # omap3.cpu mdw 0x54011080
-
+ # General Cortex A8 debug initialisation
+ cortex_a8 dbginit
+ # Enable DBGU singal for OMAP353x
omap3.cpu mww 0x5401d030 0x00002000
poll on
}