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
This commit is contained in:
parent
0c6e0bb82b
commit
25a374a187
|
@ -1,4 +1,4 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0+
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
# Copyright Marek Vasut <marex@denx.de>
|
# Copyright Marek Vasut <marex@denx.de>
|
||||||
|
|
||||||
# OpenOCD on Travis CI - https://travis-ci.org/
|
# OpenOCD on Travis CI - https://travis-ci.org/
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
/*
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
||||||
* Copyright (C) 2009-2021 Free Software Foundation, Inc.
|
/* Copyright (C) 2009-2021 Free Software Foundation, Inc. */
|
||||||
*/
|
|
||||||
|
|
||||||
/* Copied from https://github.com/gcc-mirror/gcc/blob/master/libiberty/crc32.c
|
/* Copied from https://github.com/gcc-mirror/gcc/blob/master/libiberty/crc32.c
|
||||||
* and then tweaked a little. */
|
* and then tweaked a little. */
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
/*
|
/*
|
||||||
* SH QSPI (Quad SPI) driver
|
* SH QSPI (Quad SPI) driver
|
||||||
* Copyright (C) 2019 Marek Vasut <marek.vasut@gmail.com>
|
* Copyright (C) 2019 Marek Vasut <marek.vasut@gmail.com>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
|
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
|
||||||
OUTPUT_ARCH(arm)
|
OUTPUT_ARCH(arm)
|
||||||
ENTRY(_start)
|
ENTRY(_start)
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Infineon XMC1000 flash sectors erase
|
* Infineon XMC1000 flash sectors erase
|
||||||
*
|
*
|
||||||
* Copyright (c) 2016 Andreas Färber
|
* Copyright (c) 2016 Andreas Färber
|
||||||
*
|
*
|
||||||
* Based on XMC1100 AA-Step Reference Manual
|
* Based on XMC1100 AA-Step Reference Manual
|
||||||
*
|
|
||||||
* License: GPL-2.0+
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "xmc1xxx.S"
|
#include "xmc1xxx.S"
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Infineon XMC1000 flash sector erase check
|
* Infineon XMC1000 flash sector erase check
|
||||||
*
|
*
|
||||||
* Copyright (c) 2016 Andreas Färber
|
* Copyright (c) 2016 Andreas Färber
|
||||||
*
|
*
|
||||||
* Based on XMC1100 AA-Step Reference Manual
|
* Based on XMC1100 AA-Step Reference Manual
|
||||||
*
|
|
||||||
* License: GPL-2.0+
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "xmc1xxx.S"
|
#include "xmc1xxx.S"
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Infineon XMC1000 flash write
|
* Infineon XMC1000 flash write
|
||||||
*
|
*
|
||||||
* Copyright (c) 2016 Andreas Färber
|
* Copyright (c) 2016 Andreas Färber
|
||||||
*
|
*
|
||||||
* Based on XMC1100 AA-Step Reference Manual
|
* Based on XMC1100 AA-Step Reference Manual
|
||||||
*
|
|
||||||
* License: GPL-2.0+
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "xmc1xxx.S"
|
#include "xmc1xxx.S"
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Infineon XMC1000 flash
|
* Infineon XMC1000 flash
|
||||||
*
|
*
|
||||||
* Copyright (c) 2016 Andreas Färber
|
* Copyright (c) 2016 Andreas Färber
|
||||||
*
|
*
|
||||||
* Based on XMC1100 AA-Step Reference Manual
|
* Based on XMC1100 AA-Step Reference Manual
|
||||||
*
|
|
||||||
* License: GPL-2.0+
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
|
Loading…
Reference in New Issue