target.cfg: update to use new flash configuration syntax
[fw/openocd] / tcl / target / faux.cfg
index 6fe0cd799dc3f83008e207195b3cf821bab962cd..b2bdb2b6a89f371962662f79a2443a0d29009c0e 100644 (file)
@@ -27,4 +27,4 @@ target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAM
 
 #dummy flash driver
 set _FLASHNAME $_CHIPNAME.flash
-flash bank $_FLASHNAME faux 0x01000000 0x200000 2 2 0
+flash bank $_FLASHNAME faux 0x01000000 0x200000 2 2 $_TARGETNAME