update 'flash bank' usage in scripts
[fw/openocd] / tcl / board / balloon3-cpu.cfg
index 8a646b765406828b76296f64aa4cae6b11052709..ecb1a282543b9138aa00934cc802a815b5950927 100644 (file)
@@ -10,4 +10,5 @@ reset_config trst_and_srst separate
 
 # flash bank <driver> <base> <size> <chip_width> <bus_width>
 # 29LV650 64Mbit Flash
-flash bank cfi 0x00000000 0x800000 2 2 0
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME cfi 0x00000000 0x800000 2 2 0