Consolidate target selection code into single get_target() that handles both names...
[fw/openocd] / src / target / target / ti_dm355.cfg
index acf4b3040daf811f7deba06f23e30c6730d91a57..e4de1a58ad1b4d08ffde56a80a369f268cad7e94 100644 (file)
@@ -56,8 +56,5 @@ arm7_9 fast_memory_access enable
 arm7_9 dcc_downloads enable
 
 # trace setup
-# FIXME we ought to be able to say "... config $_TARGETNAME ..."
-# (not "config 0") facilitating additional targets (e.g. other chips)
-etm config 0 16 normal full etb
-etb config 0 $_CHIPNAME.etb
-
+etm config $_TARGETNAME 16 normal full etb
+etb config $_TARGETNAME $_CHIPNAME.etb