tcl/target: Add Exynos5250 config

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>
This commit is contained in:
Andreas Färber 2015-10-29 18:41:44 +01:00 committed by Freddie Chopin
parent 71b23bb8ee
commit 385dde8860
1 changed files with 23 additions and 0 deletions

23
tcl/target/exynos5250.cfg Normal file
View File

@ -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