2022-06-12 16:42:27 -05:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
2009-06-23 21:01:14 -05:00
|
|
|
# common stuff
|
|
|
|
source [find target/at91sam3uxx.cfg]
|
|
|
|
|
|
|
|
# size is automatically "calculated" by probing
|
2010-05-12 17:04:57 -05:00
|
|
|
set _FLASHNAME $_CHIPNAME.flash0
|
2009-11-18 04:15:52 -06:00
|
|
|
flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME
|
2009-06-23 21:01:14 -05:00
|
|
|
# This is a 256K chip, it has the 2nd bank
|
2010-05-12 17:04:57 -05:00
|
|
|
set _FLASHNAME $_CHIPNAME.flash1
|
2009-11-18 04:15:52 -06:00
|
|
|
flash bank $_FLASHNAME at91sam3 0x000100000 0 1 1 $_TARGETNAME
|