openocd/tcl/interface/jtag_dpi.cfg
Antonio Borneo 69ea481e0b tcl: replace FSF boilerplate with SPDX tag
OpenOCD project is switching to SPDX tags.
Replace the few FSF boilerplate in tcl folder.

Change-Id: I15b146eb77cc491ed7355178f684f3e76fc763b4
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7025
Tested-by: jenkins
Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
2022-06-24 21:51:58 +00:00

27 lines
497 B
INI

# SPDX-License-Identifier: GPL-2.0-or-later
#
# Provide support for the Cadence JTAG BFM
#
# Copyright (c) 2020, Ampere Computing LLC
#
adapter driver jtag_dpi
# Set the DPI JTAG server port
if { [info exists DPI_PORT] } {
set _DPI_PORT $DPI_PORT
} else {
set _DPI_PORT 5555
}
# Set the DPI JTAG server address
if { [info exists DPI_ADDRESS] } {
set _DPI_ADDRESS $DPI_ADDRESS
} else {
set _DPI_ADDRESS "127.0.0.1"
}
jtag_dpi set_port $_DPI_PORT
jtag_dpi set_address $_DPI_ADDRESS