target: rename cortex_a8 to cortex_a
[fw/openocd] / tcl / target / imx51.cfg
index 706875d3737b614c9fc5d430bb2bd4e440aefbfd..0ee388c93ee682a3a2f5ee995ad763efc8661e54 100644 (file)
@@ -31,7 +31,7 @@ jtag newtap $_CHIPNAME SJC -irlen 5 -ircapture 0x1 -irmask 0x1f \
 
 # GDB target: Cortex-A8, using DAP
 set _TARGETNAME $_CHIPNAME.cpu
-target create $_TARGETNAME cortex_a8 -chain-position $_CHIPNAME.DAP
+target create $_TARGETNAME cortex_a -chain-position $_CHIPNAME.DAP
 
 # some TCK tycles are required to activate the DEBUG power domain
 jtag configure $_CHIPNAME.SJC -event post-reset "runtest 100"
@@ -41,7 +41,7 @@ jtag configure $_CHIPNAME.SJC -event setup "jtag tapenable $_CHIPNAME.DAP"
 
 proc imx51_dbginit {target} {
      # General Cortex A8 debug initialisation
-     cortex_a8 dbginit
+     cortex_a dbginit
 }
 
 # Slow speed to be sure it will work