d3aaa986d51192ac48f34e76c7e901b1b936fae3
[fw/openocd] / tcl / target / exynos5250.cfg
1 #
2 # Samsung Exynos 5250 - dual-core ARM Cortex-A15
3 #
4
5 if { [info exists CHIPNAME] } {
6         set _CHIPNAME $CHIPNAME
7 } else {
8         set _CHIPNAME exynos5250
9 }
10
11 if { [info exists CPUTAPID] } {
12         set _CPUTAPID $CPUTAPID
13 } else {
14         set _CPUTAPID 0x4ba00477
15 }
16
17 jtag newtap $_CHIPNAME cpu -irlen 4 -expected-id $_CPUTAPID
18
19 set _TARGETNAME $_CHIPNAME.cpu
20 dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
21 target create ${_TARGETNAME}0 cortex_a -dap $_CHIPNAME.dap
22 target create ${_TARGETNAME}1 cortex_a -dap $_CHIPNAME.dap
23
24 target smp ${_TARGETNAME}0 ${_TARGETNAME}1