+# SPDX-License-Identifier: GPL-2.0-or-later
+
# Target Configuration for the TinCanTools S3C2410 Based Hammer Module
# http://www.tincantools.com
#flash configuration
-#flash bank <driver> <base> <size> <chip_width> <bus_width> [driver_options ...]
-flash bank cfi 0x00000000 0x1000000 2 2 0
+#flash bank <name> <driver> <base> <size> <chip_width> <bus_width> <target> [driver_options ...]
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME cfi 0x00000000 0x1000000 2 2 $_TARGETNAME