mirror of
https://github.com/openocd-org/openocd.git
synced 2025-05-13 02:08:54 +08:00

Remove list of id codes for all families. Maintain a list with id, bscan-length and check position in the tcl config files for each family. The Intel FPGA Driver option 'family' is not otional anymore. Change-Id: I9a40a041069e84f6b4728f2cd715756a36759c89 Signed-off-by: Daniel Anselmi <danselmi@gmx.ch> Reviewed-on: https://review.openocd.org/c/openocd/+/8083 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
10 lines
372 B
INI
10 lines
372 B
INI
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
proc set_bscan_checkpos_on_setup {chipname data} {
|
|
set tapid_w_version [jtag cget $chipname.tap -idcode]
|
|
set version_mask 0x0fffffff
|
|
set tapid [format 0x%08x [expr {$tapid_w_version & $version_mask}]]
|
|
intel set_bscan $chipname.pld [lindex $data($tapid) 0]
|
|
intel set_check_pos $chipname.pld [lindex $data($tapid) 1]
|
|
}
|