1 # SPDX-License-Identifier: GPL-2.0-or-later
3 if { [info exists CHIPNAME] } {
4 set _CHIPNAME $CHIPNAME
9 # IDs acquired from Xilinx's DS123.pdf
13 # The 4 top bits (28:31) are the device revision. Ignore it.
14 jtag newtap $_CHIPNAME flash -irlen 8 -ignore-version \
15 -expected-id 0x05044093 \
16 -expected-id 0x05045093 \
17 -expected-id 0x05046093
19 target create xcf.flash testee -chain-position $_CHIPNAME.flash
20 flash bank XCF_S xcf 0 0 0 0 xcf.flash