openocd: fix syntax of SPDX tags
authorAntonio Borneo <borneo.antonio@gmail.com>
Tue, 30 Aug 2022 15:15:32 +0000 (17:15 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Tue, 13 Sep 2022 22:03:24 +0000 (22:03 +0000)
commit25a374a187d760eddb87cbe639cb885b159b74b4
tree0d59ceec301b9ee0bf796112a33cd29d917d4baa
parent0c6e0bb82bef9c93506e2f30fc20918691540e65
openocd: fix syntax of SPDX tags

Put the SPDX tag alone in a comment in the first line of the file.
Replace the obsolete GPL-2.0+ 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: Ia91b0f7da42c439b6340bbe81983b86b68f6d65c
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7156
Tested-by: jenkins
.travis.yml
contrib/loaders/checksum/riscv_crc.c
contrib/loaders/flash/sh_qspi/sh_qspi.S
contrib/loaders/flash/sh_qspi/sh_qspi.ld
contrib/loaders/flash/xmc1xxx/erase.S
contrib/loaders/flash/xmc1xxx/erase_check.S
contrib/loaders/flash/xmc1xxx/write.S
contrib/loaders/flash/xmc1xxx/xmc1xxx.S