aboutsummaryrefslogtreecommitdiff
path: root/contrib/xsvf_tools
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2022-08-30 22:18:31 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2022-09-13 22:06:14 +0000
commita126229dff2ee0b20b0c7dace7e523633cc6607e (patch)
tree47e09b8d465de542de1aa7868de87af746294c65 /contrib/xsvf_tools
parentd8042fbb46e09704c4b613a656fea09bf1b827a7 (diff)
downloadriscv-openocd-a126229dff2ee0b20b0c7dace7e523633cc6607e.zip
riscv-openocd-a126229dff2ee0b20b0c7dace7e523633cc6607e.tar.gz
riscv-openocd-a126229dff2ee0b20b0c7dace7e523633cc6607e.tar.bz2
contrib: replace the GPLv2-or-later license tag
Replace the GPLv2-or-later boilerplate with the SPDX tag. The SPDX tag on files *.c is incorrect, as it should use the C99 single line comment using '//'. But current checkpatch doesn't allow C99 comments, so keep using standard C comments, by now. Change-Id: I380d552940f1c405309a3346454251c0e80b5a45 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7159 Tested-by: jenkins
Diffstat (limited to 'contrib/xsvf_tools')
-rw-r--r--contrib/xsvf_tools/svf2xsvf.py20
-rw-r--r--contrib/xsvf_tools/xsvfdump.py18
2 files changed, 2 insertions, 36 deletions
diff --git a/contrib/xsvf_tools/svf2xsvf.py b/contrib/xsvf_tools/svf2xsvf.py
index 6da7ff4..abbac20 100644
--- a/contrib/xsvf_tools/svf2xsvf.py
+++ b/contrib/xsvf_tools/svf2xsvf.py
@@ -1,27 +1,9 @@
#!/usr/bin/python3.0
+# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright 2008, SoftPLC Corporation http://softplc.com
# Dick Hollenbeck dick@softplc.com
-
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, you may find one here:
-# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# or you may search the http://www.gnu.org website for the version 2 license,
-# or you may write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
-
-
# A python program to convert an SVF file to an XSVF file. There is an
# option to include comments containing the source file line number from the origin
# SVF file before each outputted XSVF statement.
diff --git a/contrib/xsvf_tools/xsvfdump.py b/contrib/xsvf_tools/xsvfdump.py
index 0e00ca0..3ed4009 100644
--- a/contrib/xsvf_tools/xsvfdump.py
+++ b/contrib/xsvf_tools/xsvfdump.py
@@ -1,25 +1,9 @@
#!/usr/bin/python3.0
+# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright 2008, SoftPLC Corporation http://softplc.com
# Dick Hollenbeck dick@softplc.com
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, you may find one here:
-# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# or you may search the http://www.gnu.org website for the version 2 license,
-# or you may write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
-
# Dump an Xilinx XSVF file to stdout
# This program is written for python 3.0, and it is not easy to change this