aboutsummaryrefslogtreecommitdiff
path: root/src/jtag/drivers/rshim.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2022-06-27 01:06:45 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2022-07-23 13:55:06 +0000
commiteb56509fa47378cdd697e043066f576cb0dc508a (patch)
tree0e848e1a112b10747c60cb30de524182d8d044a4 /src/jtag/drivers/rshim.c
parent533f0f1b879d2812dc9cef2045aee848013c34bd (diff)
downloadriscv-openocd-eb56509fa47378cdd697e043066f576cb0dc508a.zip
riscv-openocd-eb56509fa47378cdd697e043066f576cb0dc508a.tar.gz
riscv-openocd-eb56509fa47378cdd697e043066f576cb0dc508a.tar.bz2
openocd: src/jtag: replace the GPL-2.0-or-later license tag
Replace the FSF 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: Ie873d12bb0fb838d0d6252e6b9ca3c2118853e9a Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7069 Tested-by: jenkins
Diffstat (limited to 'src/jtag/drivers/rshim.c')
-rw-r--r--src/jtag/drivers/rshim.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/jtag/drivers/rshim.c b/src/jtag/drivers/rshim.c
index f977ca7..86ae682 100644
--- a/src/jtag/drivers/rshim.c
+++ b/src/jtag/drivers/rshim.c
@@ -1,19 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
/*
* Copyright (c) 2020, Mellanox Technologies Ltd. - All Rights Reserved
* Liming Sun <lsun@mellanox.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, see <http://www.gnu.org/licenses/>.
*/
#ifdef HAVE_CONFIG_H