openocd: src: fix incorrect SPDX tags
authorAntonio Borneo <borneo.antonio@gmail.com>
Sun, 26 Jun 2022 21:10:08 +0000 (23:10 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 23 Jul 2022 13:16:09 +0000 (13:16 +0000)
commitc3d3487d6147e38433630761bbf9539d4cc13aab
tree9054ba348cee8edddb9ebe7bfaf4578490fb89b8
parent4db9add47f282c264c512fb76e43c6707f72ab2b
openocd: src: fix incorrect SPDX tags

The SPDX tag is aimed at machine handling and it's thus expected
to be placed in the first line in specific format.

Move the SPDX tag to the first line and fix it where needed.

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: Ie9a05f530009d482a4116eebd147fd7e1ee3d41e
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7066
Tested-by: jenkins
16 files changed:
src/flash/nor/renesas_rpchf.c
src/flash/nor/sh_qspi.c
src/jtag/drivers/xlnx-pcie-xvc.c
src/rtos/chromium-ec.c
src/rtos/zephyr.c
src/target/arc.c
src/target/arc.h
src/target/arc_cmd.c
src/target/arc_cmd.h
src/target/arc_jtag.c
src/target/arc_jtag.h
src/target/arc_mem.c
src/target/arc_mem.h
src/target/mips64.c
src/target/mips64_pracc.c
src/target/mips_mips64.c