openocd: src: replace the GPL and BSD-Source-Code license tags
authorAntonio Borneo <borneo.antonio@gmail.com>
Mon, 27 Jun 2022 13:01:17 +0000 (15:01 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 23 Jul 2022 13:14:59 +0000 (13:14 +0000)
commitd1a5921ce8393015119a154bec78d27d11dd1224
tree0ca46302ce3d65ffa757cf3f95652417e1a36b6e
parent7907d982fa815cc0893c4bf8e588b8c3c639e1eb
openocd: src: replace the GPL and BSD-Source-Code license tags

Add the new license text in the license pool.
Replace the GPL and BSD boilerplates with the SPDX tag.
Add the copyright owner of Atmel, as it was explicitly listed in
the BSD boilerplate text.

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: Ibb117dbf8402269be3e5ba4f4c472162494d813f
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7062
Tested-by: jenkins
LICENSES/preferred/BSD-Source-Code [new file with mode: 0644]
Makefile.am
src/flash/nor/at91sam3.c
src/flash/nor/at91sam4.c
src/flash/nor/atsamv.c