tcl: replace the deprecated commands with "adapter ..."
[fw/openocd] / tcl / target / at91sam9g20.cfg
index 3f5e3c6264d3e63834e4abe48ea180d34be0ac58..6e45df20a8c27e190ebd9856114529e1d61babaa 100644 (file)
@@ -12,7 +12,7 @@ source [find target/at91sam9.cfg]
 
 # Set fallback clock to 1/6 of worst-case clock speed (which would be the 32.768 kHz slow clock).
 
-adapter_khz 5
+adapter speed 5
 
 # Establish internal SRAM memory work areas that are important to pre-bootstrap loaders, etc.  The
 # AT91SAM9G20 has two SRAM areas, one starting at 0x00200000 and the other starting at 0x00300000.