flash: New Spansion FM4 flash driver
[openocd.git] / tcl / target / at91sam3ax_4x.cfg
blob78ca79f694987892dc4fb9e67a1f365e45c8104e
1 # common stuff
2 source [find target/at91sam3ax_xx.cfg]
4 # size is automatically "calculated" by probing
5 set _FLASHNAME $_CHIPNAME.flash0
6 flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME
7 # This is a 256K chip - it has the 2nd bank
8 set _FLASHNAME $_CHIPNAME.flash1
9 flash bank $_FLASHNAME at91sam3 0x0000A0000 0 1 1 $_TARGETNAME