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 16 -ignore-version \
15 -expected-id 0x05057093 \
16 -expected-id 0x05058093 \
17 -expected-id 0x05059093
19 target create xcf.flash testee -chain-position $_CHIPNAME.flash
20 flash bank XCF_P xcf 0 0 0 0 xcf.flash