tcl/target: Add Exynos5250 config 80/3080/2
authorAndreas Färber <afaerber@suse.de>
Thu, 29 Oct 2015 17:41:44 +0000 (18:41 +0100)
committerFreddie Chopin <freddie.chopin@gmail.com>
Fri, 30 Oct 2015 12:42:06 +0000 (12:42 +0000)
Change-Id: Ia673d3f16b2238d5af8fbeff2d57c6cf27dcffb1
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/3080
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
tcl/target/exynos5250.cfg [new file with mode: 0644]

diff --git a/tcl/target/exynos5250.cfg b/tcl/target/exynos5250.cfg
new file mode 100644 (file)
index 0000000..3678341
--- /dev/null
@@ -0,0 +1,23 @@
+#
+# Samsung Exynos 5250 - dual-core ARM Cortex-A15
+#
+
+if { [info exists CHIPNAME] } {
+       set _CHIPNAME $CHIPNAME
+} else {
+       set _CHIPNAME exynos5250
+}
+
+if { [info exists CPUTAPID] } {
+       set _CPUTAPID $CPUTAPID
+} else {
+       set _CPUTAPID 0x4ba00477
+}
+
+jtag newtap $_CHIPNAME cpu -irlen 4 -expected-id $_CPUTAPID
+
+set _TARGETNAME $_CHIPNAME.cpu
+target create ${_TARGETNAME}0 cortex_a -chain-position $_TARGETNAME
+target create ${_TARGETNAME}1 cortex_a -chain-position $_TARGETNAME
+
+target smp ${_TARGETNAME}0 ${_TARGETNAME}1