tcl/board: add SPDX tag
[fw/openocd] / tcl / board / asus-rt-n66u.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 #
4 # http://wikidevi.com/wiki/Asus_RT-N66U
5 #
6
7 echo "ATTENTION: you need to solder a 4.7-10k pullup resistor to pin 21 of flash IC"
8 echo "to enable JTAG, see http://wl500g.info/album.php?albumid=28&attachmentid=8991 ,"
9 echo "there is an unpopulated footprint near U8.\n"
10
11 set partition_list {
12     CFE         { Bootloader                    0xbc000000 0x00040000 }
13     firmware    { "Kernel+rootfs"               0xbc040000 0x01fa0000 }
14     nvram       { "Config space"                0xbdfe0000 0x00020000 }
15 }
16
17 source [find target/bcm4706.cfg]
18
19 # External 32MB NOR Flash (Spansion S29GL256P10TF101
20 set _FLASHNAME $_CHIPNAME.flash
21 flash bank $_FLASHNAME cfi 0xbc000000 0x02000000 2 2 $_TARGETNAME