27b98c2fa5
While "flash bank" syntax has been changed long ago, several tcl script are still not fully update. Fix following cases related with "cfi" driver: - syntax error: the mandatory <name> parameter is missing - warning: the <target> parameter is a number, instead of the target name - the comment line above the command does not report actual syntax Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
15 lines
553 B
INI
15 lines
553 B
INI
# 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.
|
|
|
|
source [find target/pxa270.cfg]
|
|
|
|
# The board supports separate reset lines
|
|
# Override this in the interface config for parallel dongles
|
|
reset_config trst_and_srst separate
|
|
|
|
# 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 $_TARGETNAME
|