mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
tcl/target/ti_k3: Add support for AM261
AM261[1] is a optimized cutdown of AM263P SoC. The key difference is the reduced number of R5F cores which is now dropped down to 2, and the DIE ID is different from AM263p, but all other definitions are compatible, so reuse the definition. [1] https://www.ti.com/product/AM2612 Change-Id: Ib6ca0b59d0b8991df6e4ab349d371187438cb393 Signed-off-by: Shivasharan Nagalikar <shivasharan.nagalikar@ti.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8792 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-by: Nishanth Menon <nm@ti.com> Tested-by: jenkins
This commit is contained in:
committed by
Antonio Borneo
parent
c00228468c
commit
da7e369266
@@ -4,6 +4,8 @@
|
||||
# Texas Instruments K3 devices:
|
||||
# * AM243: https://www.ti.com/lit/pdf/spruim2
|
||||
# Has 4 R5 Cores, M4F and an M3
|
||||
# * AM261: https://www.ti.com/lit/pdf/sprujb6
|
||||
# Has 2 R5 Cores and an M4F
|
||||
# * AM263: https://www.ti.com/lit/pdf/spruj17
|
||||
# Has 4 R5 Cores and an M3
|
||||
# * AM263P: https://www.ti.com/lit/pdf/spruj55
|
||||
@@ -89,6 +91,7 @@ set _powerap_sprec_reset 0xf0
|
||||
|
||||
# Set configuration overrides for each SOC
|
||||
switch $_soc {
|
||||
am261 -
|
||||
am263p -
|
||||
am263 {
|
||||
set _K3_DAP_TAPID 0x2bb7d02f
|
||||
@@ -111,6 +114,10 @@ switch $_soc {
|
||||
if { "$_soc" == "am263p" } {
|
||||
set _K3_DAP_TAPID 0x1bb9502f
|
||||
}
|
||||
if { "$_soc" == "am261" } {
|
||||
set _K3_DAP_TAPID 0x1bba602f
|
||||
set _r5_cores 2
|
||||
}
|
||||
}
|
||||
am273 {
|
||||
set _K3_DAP_TAPID 0x1bb6a02f
|
||||
|
||||
Reference in New Issue
Block a user