aboutsummaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2022-06-26 11:07:45 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2022-07-23 13:13:39 +0000
commitdb0d4dbc3f1edbaae0057ff356f501b2aa31f69d (patch)
tree617106743e309a47869707c24ac397e0249f09de /src/flash
parentdba88e0238716f2fe0ff861d493cbace88a6bec3 (diff)
downloadriscv-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/flash')
-rw-r--r--src/flash/nor/fm4.c2
1 files changed, 2 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
*