aboutsummaryrefslogtreecommitdiff
path: root/src/target/register.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2022-06-27 01:24:07 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2022-07-23 13:58:51 +0000
commit057e566097b41f9bfeee50e97ba6ef624189ae6a (patch)
tree43efc1056c2f3b761d622d0efd7c44ef4335aab2 /src/target/register.c
parent58f987aa856a54ce34ecd402ede437a55d4181e9 (diff)
downloadriscv-openocd-057e566097b41f9bfeee50e97ba6ef624189ae6a.zip
riscv-openocd-057e566097b41f9bfeee50e97ba6ef624189ae6a.tar.gz
riscv-openocd-057e566097b41f9bfeee50e97ba6ef624189ae6a.tar.bz2
openocd: src/target: 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: I255ad17235ff1e01bf0aa4deed4d944e1d693ddb Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7071 Tested-by: jenkins
Diffstat (limited to 'src/target/register.c')
-rw-r--r--src/target/register.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/target/register.c b/src/target/register.c
index 6387475..f05e58a 100644
--- a/src/target/register.c
+++ b/src/target/register.c
@@ -1,22 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
/***************************************************************************
* Copyright (C) 2005 by Dominic Rath *
* Dominic.Rath@gmx.de *
* *
* Copyright (C) 2007,2008 Øyvind Harboe *
* oyvind.harboe@zylin.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