ioutil: make the file compile on MacOS
[fw/openocd] / tcl / board / imx27ads.cfg
index 927647a9b65016a78eeefa035165738d8d025b41..e705b1e1666d4990c1f75c86d6193cebb4e65483 100644 (file)
@@ -6,7 +6,7 @@ $_TARGETNAME configure -event reset-init { imx27ads_init }
 
 # The IMX27 ADS board has a NOR flash on CS0
 set _FLASHNAME $_CHIPNAME.flash
-flash_bank $_FLASHNAME cfi 0xc0000000 0x00200000 2 2 $_TARGETNAME
+flash bank $_FLASHNAME cfi 0xc0000000 0x00200000 2 2 $_TARGETNAME
 
 proc imx27ads_init { } {
        # This setup puts RAM at 0xA0000000