openocd/tcl/board/omap2420_h4.cfg
Zachary T Welch 2dfa5e9c84 update 'flash bank' usage in scripts
Sets $_FLASHNAME to "$_CHIPNAME.flash" and passes it as the
first argument to 'flash bank'.
2009-11-19 13:39:41 -08:00

15 lines
496 B
INI

# OMAP2420 SDP board ("H4")
source [find target/omap2420.cfg]
# NOTE: this assumes you're *NOT* using a TI-14 connector.
reset_config trst_and_srst separate
# Board configs can vary a *LOT* ... parts, jumpers, etc.
# This GP board boots from cs0 using NOR (2x32M), and also
# has 64M NAND on cs6.
set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME cfi 0x04000000 0x02000000 2 2 $_TARGETNAME
set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME cfi 0x06000000 0x02000000 2 2 $_TARGETNAME