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
This commit is contained in:
parent
4db9add47f
commit
c3d3487d61
|
@ -1,4 +1,5 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Renesas RCar Gen3 RPC Hyperflash driver
|
* Renesas RCar Gen3 RPC Hyperflash driver
|
||||||
* Based on U-Boot RPC Hyperflash driver
|
* Based on U-Boot RPC Hyperflash driver
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0 */
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 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,5 +1,6 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
*
|
|
||||||
|
/*
|
||||||
* Copyright (c) 2019 Google, LLC.
|
* Copyright (c) 2019 Google, LLC.
|
||||||
* Author: Moritz Fischer <moritzf@google.com>
|
* Author: Moritz Fischer <moritzf@google.com>
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* SPDX-License-Identifier: GPL-2.0
|
|
||||||
*
|
|
||||||
* Copyright (c) 2018 National Instruments Corp
|
* Copyright (c) 2018 National Instruments Corp
|
||||||
* Author: Moritz Fischer <moritz.fischer@ettus.com>
|
* Author: Moritz Fischer <moritz.fischer@ettus.com>
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* Copyright (C) 2017 by Intel Corporation
|
* Copyright (C) 2017 by Intel Corporation
|
||||||
* Leandro Pereira <leandro.pereira@intel.com>
|
* Leandro Pereira <leandro.pereira@intel.com>
|
||||||
* Daniel Glöckner <dg@emlix.com>*
|
* Daniel Glöckner <dg@emlix.com>*
|
||||||
* Copyright (C) 2021 by Synopsys, Inc.
|
* Copyright (C) 2021 by Synopsys, Inc.
|
||||||
* Evgeniy Didin <didin@synopsys.com>
|
* Evgeniy Didin <didin@synopsys.com>
|
||||||
* *
|
|
||||||
* SPDX-License-Identifier: GPL-2.0-or-later *
|
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* Copyright (C) 2013-2015,2019-2020 Synopsys, Inc. *
|
* Copyright (C) 2013-2015,2019-2020 Synopsys, Inc. *
|
||||||
* Frank Dols <frank.dols@synopsys.com> *
|
* Frank Dols <frank.dols@synopsys.com> *
|
||||||
* Mischa Jonker <mischa.jonker@synopsys.com> *
|
* Mischa Jonker <mischa.jonker@synopsys.com> *
|
||||||
* Anton Kolesov <anton.kolesov@synopsys.com> *
|
* Anton Kolesov <anton.kolesov@synopsys.com> *
|
||||||
* Evgeniy Didin <didin@synopsys.com> *
|
* Evgeniy Didin <didin@synopsys.com> *
|
||||||
* *
|
|
||||||
* SPDX-License-Identifier: GPL-2.0-or-later *
|
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* Copyright (C) 2013-2015,2019-2020 Synopsys, Inc. *
|
* Copyright (C) 2013-2015,2019-2020 Synopsys, Inc. *
|
||||||
* Frank Dols <frank.dols@synopsys.com> *
|
* Frank Dols <frank.dols@synopsys.com> *
|
||||||
* Mischa Jonker <mischa.jonker@synopsys.com> *
|
* Mischa Jonker <mischa.jonker@synopsys.com> *
|
||||||
* Anton Kolesov <anton.kolesov@synopsys.com> *
|
* Anton Kolesov <anton.kolesov@synopsys.com> *
|
||||||
* Evgeniy Didin <didin@synopsys.com> *
|
* Evgeniy Didin <didin@synopsys.com> *
|
||||||
* *
|
|
||||||
* SPDX-License-Identifier: GPL-2.0-or-later *
|
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#ifndef OPENOCD_TARGET_ARC_H
|
#ifndef OPENOCD_TARGET_ARC_H
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* Copyright (C) 2013-2015,2019-2020 Synopsys, Inc. *
|
* Copyright (C) 2013-2015,2019-2020 Synopsys, Inc. *
|
||||||
* Frank Dols <frank.dols@synopsys.com> *
|
* Frank Dols <frank.dols@synopsys.com> *
|
||||||
* Mischa Jonker <mischa.jonker@synopsys.com> *
|
* Mischa Jonker <mischa.jonker@synopsys.com> *
|
||||||
* Anton Kolesov <anton.kolesov@synopsys.com> *
|
* Anton Kolesov <anton.kolesov@synopsys.com> *
|
||||||
* Evgeniy Didin <didin@synopsys.com> *
|
* Evgeniy Didin <didin@synopsys.com> *
|
||||||
* *
|
|
||||||
* SPDX-License-Identifier: GPL-2.0-or-later *
|
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* Copyright (C) 2013-2014,2019-2020 Synopsys, Inc. *
|
* Copyright (C) 2013-2014,2019-2020 Synopsys, Inc. *
|
||||||
* Frank Dols <frank.dols@synopsys.com> *
|
* Frank Dols <frank.dols@synopsys.com> *
|
||||||
* Mischa Jonker <mischa.jonker@synopsys.com> *
|
* Mischa Jonker <mischa.jonker@synopsys.com> *
|
||||||
* Anton Kolesov <anton.kolesov@synopsys.com> *
|
* Anton Kolesov <anton.kolesov@synopsys.com> *
|
||||||
* Evgeniy Didin <didin@synopsys.com> *
|
* Evgeniy Didin <didin@synopsys.com> *
|
||||||
* *
|
|
||||||
* SPDX-License-Identifier: GPL-2.0-or-later *
|
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#ifndef OPENOCD_TARGET_ARC_CMD_H
|
#ifndef OPENOCD_TARGET_ARC_CMD_H
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* Copyright (C) 2013-2014,2019-2020 Synopsys, Inc. *
|
* Copyright (C) 2013-2014,2019-2020 Synopsys, Inc. *
|
||||||
* Frank Dols <frank.dols@synopsys.com> *
|
* Frank Dols <frank.dols@synopsys.com> *
|
||||||
* Mischa Jonker <mischa.jonker@synopsys.com> *
|
* Mischa Jonker <mischa.jonker@synopsys.com> *
|
||||||
* Anton Kolesov <anton.kolesov@synopsys.com> *
|
* Anton Kolesov <anton.kolesov@synopsys.com> *
|
||||||
* Evgeniy Didin <didin@synopsys.com> *
|
* Evgeniy Didin <didin@synopsys.com> *
|
||||||
* *
|
|
||||||
* SPDX-License-Identifier: GPL-2.0-or-later *
|
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* Copyright (C) 2013-2014,2019-2020 Synopsys, Inc. *
|
* Copyright (C) 2013-2014,2019-2020 Synopsys, Inc. *
|
||||||
* Frank Dols <frank.dols@synopsys.com> *
|
* Frank Dols <frank.dols@synopsys.com> *
|
||||||
* Mischa Jonker <mischa.jonker@synopsys.com> *
|
* Mischa Jonker <mischa.jonker@synopsys.com> *
|
||||||
* Anton Kolesov <anton.kolesov@synopsys.com> *
|
* Anton Kolesov <anton.kolesov@synopsys.com> *
|
||||||
* Evgeniy Didin <didin@synopsys.com> *
|
* Evgeniy Didin <didin@synopsys.com> *
|
||||||
* *
|
|
||||||
* SPDX-License-Identifier: GPL-2.0-or-later *
|
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#ifndef OPENOCD_TARGET_ARC_JTAG_H
|
#ifndef OPENOCD_TARGET_ARC_JTAG_H
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* Copyright (C) 2013-2014,2019-2020 Synopsys, Inc. *
|
* Copyright (C) 2013-2014,2019-2020 Synopsys, Inc. *
|
||||||
* Frank Dols <frank.dols@synopsys.com> *
|
* Frank Dols <frank.dols@synopsys.com> *
|
||||||
* Mischa Jonker <mischa.jonker@synopsys.com> *
|
* Mischa Jonker <mischa.jonker@synopsys.com> *
|
||||||
* Anton Kolesov <anton.kolesov@synopsys.com> *
|
* Anton Kolesov <anton.kolesov@synopsys.com> *
|
||||||
* Evgeniy Didin <didin@synopsys.com> *
|
* Evgeniy Didin <didin@synopsys.com> *
|
||||||
* *
|
|
||||||
* SPDX-License-Identifier: GPL-2.0-or-later *
|
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* Copyright (C) 2013-2014,2019-2020 Synopsys, Inc. *
|
* Copyright (C) 2013-2014,2019-2020 Synopsys, Inc. *
|
||||||
* Frank Dols <frank.dols@synopsys.com> *
|
* Frank Dols <frank.dols@synopsys.com> *
|
||||||
* Anton Kolesov <anton.kolesov@synopsys.com> *
|
* Anton Kolesov <anton.kolesov@synopsys.com> *
|
||||||
* Evgeniy Didin <didin@synopsys.com> *
|
* Evgeniy Didin <didin@synopsys.com> *
|
||||||
* *
|
|
||||||
* SPDX-License-Identifier: GPL-2.0-or-later *
|
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#ifndef OPENOCD_TARGET_ARC_MEM_H
|
#ifndef OPENOCD_TARGET_ARC_MEM_H
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Support for processors implementing MIPS64 instruction set
|
* Support for processors implementing MIPS64 instruction set
|
||||||
*
|
*
|
||||||
|
@ -10,8 +12,6 @@
|
||||||
* Copyright (C) 2008 by Spencer Oliver
|
* Copyright (C) 2008 by Spencer Oliver
|
||||||
* Copyright (C) 2008 by David T.L. Wong
|
* Copyright (C) 2008 by David T.L. Wong
|
||||||
* Copyright (C) 2010 by Konstantin Kostyukhin, Nikolay Shmyrev
|
* Copyright (C) 2010 by Konstantin Kostyukhin, Nikolay Shmyrev
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Support for processors implementing MIPS64 instruction set
|
* Support for processors implementing MIPS64 instruction set
|
||||||
*
|
*
|
||||||
|
@ -9,8 +11,6 @@
|
||||||
* Copyright (C) 2008 by Spencer Oliver
|
* Copyright (C) 2008 by Spencer Oliver
|
||||||
* Copyright (C) 2008 by David T.L. Wong
|
* Copyright (C) 2008 by David T.L. Wong
|
||||||
* Copyright (C) 2010 by Konstantin Kostyukhin, Nikolay Shmyrev
|
* Copyright (C) 2010 by Konstantin Kostyukhin, Nikolay Shmyrev
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* MIPS64 generic target support
|
* MIPS64 generic target support
|
||||||
*
|
*
|
||||||
|
@ -8,8 +10,6 @@
|
||||||
* Based on the work of:
|
* Based on the work of:
|
||||||
* Copyright (C) 2008 by Spencer Oliver
|
* Copyright (C) 2008 by Spencer Oliver
|
||||||
* Copyright (C) 2008 by David T.L. Wong
|
* Copyright (C) 2008 by David T.L. Wong
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
|
|
Loading…
Reference in New Issue