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>__archive__
parent
71b23bb8ee
commit
385dde8860
|
@ -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
|
Loading…
Reference in New Issue