flash/nor/xcf: Do not use 'Yoda conditions'
[openocd.git] / tcl / target / at91sam3u4c.cfg
blob14af008b6cbd5124dc383bf1d6c7b3fe8b4856a0
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