diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2022-06-26 11:07:45 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2022-07-23 13:13:39 +0000 |
commit | db0d4dbc3f1edbaae0057ff356f501b2aa31f69d (patch) | |
tree | 617106743e309a47869707c24ac397e0249f09de /src | |
parent | dba88e0238716f2fe0ff861d493cbace88a6bec3 (diff) | |
download | riscv-openocd-db0d4dbc3f1edbaae0057ff356f501b2aa31f69d.zip riscv-openocd-db0d4dbc3f1edbaae0057ff356f501b2aa31f69d.tar.gz riscv-openocd-db0d4dbc3f1edbaae0057ff356f501b2aa31f69d.tar.bz2 |
openocd: src: add GPL license tag on files that miss it
Some file miss completely the license tag.
Add the SPDX tag, using the same GPL-2.0-or-later license of the
OpenOCD project.
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: I1fb51e722232d14f050458a820c3041de3dc9138
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7058
Tested-by: jenkins
Diffstat (limited to 'src')
-rw-r--r-- | src/flash/nor/fm4.c | 2 | ||||
-rw-r--r-- | src/jtag/drivers/cmsis_dap.h | 2 | ||||
-rw-r--r-- | src/rtos/linux_header.h | 2 | ||||
-rw-r--r-- | src/target/openrisc/jsp_server.h | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/src/flash/nor/fm4.c b/src/flash/nor/fm4.c index 09865d2..2881f12 100644 --- a/src/flash/nor/fm4.c +++ b/src/flash/nor/fm4.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + /* * Spansion FM4 flash * diff --git a/src/jtag/drivers/cmsis_dap.h b/src/jtag/drivers/cmsis_dap.h index 7c64d49..cf929b0 100644 --- a/src/jtag/drivers/cmsis_dap.h +++ b/src/jtag/drivers/cmsis_dap.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + #ifndef OPENOCD_JTAG_DRIVERS_CMSIS_DAP_H #define OPENOCD_JTAG_DRIVERS_CMSIS_DAP_H diff --git a/src/rtos/linux_header.h b/src/rtos/linux_header.h index a2b408e..7919964 100644 --- a/src/rtos/linux_header.h +++ b/src/rtos/linux_header.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + #ifndef OPENOCD_RTOS_LINUX_HEADER_H #define OPENOCD_RTOS_LINUX_HEADER_H diff --git a/src/target/openrisc/jsp_server.h b/src/target/openrisc/jsp_server.h index e5cfaa8..a522fa8 100644 --- a/src/target/openrisc/jsp_server.h +++ b/src/target/openrisc/jsp_server.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + #ifndef OPENOCD_TARGET_OPENRISC_JSP_SERVER_H #define OPENOCD_TARGET_OPENRISC_JSP_SERVER_H |