From: Andreas Färber Date: Thu, 29 Oct 2015 17:41:44 +0000 (+0100) Subject: tcl/target: Add Exynos5250 config X-Git-Tag: v0.10.0-rc1~427 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=385dde88608d4e133fd306bd4a4926815cf94423;p=openocd tcl/target: Add Exynos5250 config Change-Id: Ia673d3f16b2238d5af8fbeff2d57c6cf27dcffb1 Signed-off-by: Andreas Färber Reviewed-on: http://openocd.zylin.com/3080 Tested-by: jenkins Reviewed-by: Freddie Chopin --- diff --git a/tcl/target/exynos5250.cfg b/tcl/target/exynos5250.cfg new file mode 100644 index 00000000..36783410 --- /dev/null +++ b/tcl/target/exynos5250.cfg @@ -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