target.cfg: use $_TARGETNAME for flash
[fw/openocd] / tcl / target / epc9301.cfg
index f3fe7eb1c0703428e710d0f1559bf2e87834be72..2b4155fbc61366944d575531a9432eb1049727a6 100644 (file)
@@ -28,4 +28,4 @@ target create $_TARGETNAME arm920t -endian $_ENDIAN -chain-position $_TARGETNAME
 
 #flash configuration
 #flash bank <driver> <base> <size> <chip_width> <bus_width> [driver_options ...]
-flash bank cfi 0x60000000 0x1000000 2 2 0
+flash bank cfi 0x60000000 0x1000000 2 2 $_TARGETNAME