target.cfg: use $_TARGETNAME for flash
[fw/openocd] / tcl / target / lpc2124.cfg
index 9430c1b04b2040ee5364b41a2838529c380bdd4c..61d411b5680ca4886d5e8e214fb48923ada25a1f 100644 (file)
@@ -39,4 +39,4 @@ $_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x40000000 -work-area-s
 
 
 #flash bank <driver> <base> <size> <chip_width> <bus_width>
-flash bank lpc2000 0x0 0x40000 0 0 0 lpc2000_v1 14745 calc_checksum
+flash bank lpc2000 0x0 0x40000 0 0 $_TARGETNAME lpc2000_v1 14745 calc_checksum