flash: New Spansion FM4 flash driver
[openocd.git] / tcl / target / at91sam3u4c.cfg
blob5cacbcbef6f1068aa30bbc59de558a9641c7c43c
1 # common stuff
2 source [find target/at91sam3uxx.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 0x000100000 0 1 1 $_TARGETNAME