flash/nor/at91samd: Use 32-bit register writes for ST-Link compat
[fw/openocd] / tcl / board / balloon3-cpu.cfg
index ecb1a282543b9138aa00934cc802a815b5950927..3ee840bda713db07f73f1031bcbc91ec824d2f3b 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # Config for balloon3 board, cpu JTAG port. http://balloonboard.org/
 # The board has separate JTAG ports for cpu and CPLD/FPGA devices
 # Chaining is done on IO interfaces if desired.
@@ -8,7 +10,7 @@ source [find target/pxa270.cfg]
 # Override this in the interface config for parallel dongles
 reset_config trst_and_srst separate
 
-# flash bank <driver> <base> <size> <chip_width> <bus_width>
+# flash bank <name> <driver> <base> <size> <chip_width> <bus_width> <target>
 # 29LV650 64Mbit Flash
 set _FLASHNAME $_CHIPNAME.flash
-flash bank $_FLASHNAME cfi 0x00000000 0x800000 2 2 0
+flash bank $_FLASHNAME cfi 0x00000000 0x800000 2 2 $_TARGETNAME