diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-01-28 14:34:16 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-02-16 10:33:04 +0100 |
commit | 82626cca803682e5ea76e0b7a9563f4f6bae5370 (patch) | |
tree | 805e1cf3811f75aa1275e2c61f052d3f1016bac1 /scripts | |
parent | ee8f92750ff243ad7bf90a72dee4b262d33350ee (diff) | |
download | barebox-82626cca803682e5ea76e0b7a9563f4f6bae5370.tar.gz barebox-82626cca803682e5ea76e0b7a9563f4f6bae5370.tar.xz |
scripts: Replace license and copyright boilerplate by SPDX identifiers
Convert the files that licensecheck can determine to be licensed under
GPL-2.0-only or GPL-2.0-or-later and also convert the copyright statements
to SPDX.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
47 files changed, 117 insertions, 686 deletions
diff --git a/scripts/bareboxcrc32.c b/scripts/bareboxcrc32.c index 409e1cbba3..6d39fa047d 100644 --- a/scripts/bareboxcrc32.c +++ b/scripts/bareboxcrc32.c @@ -1,18 +1,7 @@ -/* - * bareboxcrc32.c - generate crc32 checksum in little endian - * - * Copyright (c) 2013 Michael Grzeschik <mgr@pengutronix.de> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2013 Michael Grzeschik <mgr@pengutronix.de> + +/* bareboxcrc32.c - generate crc32 checksum in little endian */ #include <stdio.h> #include <sys/types.h> diff --git a/scripts/bareboxenv.c b/scripts/bareboxenv.c index 3c743435fe..bdff644335 100644 --- a/scripts/bareboxenv.c +++ b/scripts/bareboxenv.c @@ -1,18 +1,7 @@ -/* - * bareboxenv.c - generate or read a barebox environment archive - * - * Copyright (c) 2007 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2007 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix + +/* bareboxenv.c - generate or read a barebox environment archive */ #include <stdio.h> #include <sys/types.h> diff --git a/scripts/bareboximd.c b/scripts/bareboximd.c index 0500e01cc2..9558c77d1a 100644 --- a/scripts/bareboximd.c +++ b/scripts/bareboximd.c @@ -1,17 +1,5 @@ -/* - * (C) Copyright 2014 Sascha Hauer, Pengutronix - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2014 Sascha Hauer, Pengutronix #include <stdio.h> #include <sys/types.h> diff --git a/scripts/imx/imx.c b/scripts/imx/imx.c index e9f05b83a3..6b8dabd047 100644 --- a/scripts/imx/imx.c +++ b/scripts/imx/imx.c @@ -1,17 +1,5 @@ -/* - * (C) Copyright 2016 Sascha Hauer, Pengutronix - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2016 Sascha Hauer, Pengutronix #define _GNU_SOURCE #include <stdio.h> diff --git a/scripts/include/asm-generic/barrier.h b/scripts/include/asm-generic/barrier.h index 47b933903e..2e78c3f328 100644 --- a/scripts/include/asm-generic/barrier.h +++ b/scripts/include/asm-generic/barrier.h @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* SPDX-FileCopyrightText: 2007 Red Hat (David Howells <dhowells@redhat.com>) */ + /* * Copied from the kernel sources to tools/perf/: * @@ -5,14 +8,6 @@ * * It should be possible to use these on really simple architectures, * but it serves more as a starting point for new ports. - * - * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. - * Written by David Howells (dhowells@redhat.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public Licence - * as published by the Free Software Foundation; either version - * 2 of the Licence, or (at your option) any later version. */ #ifndef __TOOLS_LINUX_ASM_GENERIC_BARRIER_H #define __TOOLS_LINUX_ASM_GENERIC_BARRIER_H diff --git a/scripts/include/linux/log2.h b/scripts/include/linux/log2.h index 41446668cc..abc38f4c63 100644 --- a/scripts/include/linux/log2.h +++ b/scripts/include/linux/log2.h @@ -1,13 +1,7 @@ -/* Integer base 2 logarithm calculation - * - * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved. - * Written by David Howells (dhowells@redhat.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* SPDX-FileCopyrightText: 2006 Red Hat (David Howells <dhowells@redhat.com>) */ + +/* Integer base 2 logarithm calculation */ #ifndef _TOOLS_LINUX_LOG2_H #define _TOOLS_LINUX_LOG2_H diff --git a/scripts/kwbimage.c b/scripts/kwbimage.c index 75c9e9cda9..28c9a68e18 100644 --- a/scripts/kwbimage.c +++ b/scripts/kwbimage.c @@ -1,20 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2013 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> + /* * Image manipulator for Marvell SoCs * supports Kirkwood, Dove, Armada 370, and Armada XP * - * (C) Copyright 2013 Thomas Petazzoni - * <thomas.petazzoni@free-electrons.com> - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * * This tool allows to extract and create bootable images for Marvell * Kirkwood, Dove, Armada 370, and Armada XP SoCs. It supports two * versions of the bootable image format: version 0 (used on Marvell diff --git a/scripts/mk-omap-image.c b/scripts/mk-omap-image.c index 234b7e37c2..5741b0afbc 100644 --- a/scripts/mk-omap-image.c +++ b/scripts/mk-omap-image.c @@ -1,22 +1,8 @@ -/* - * mk-am35xx-spi-image.c - convert a barebox image for SPI loading on AM35xx - * - * Copyright (C) 2012 Jan Luebbe <j.luebbe@pengutronix.de> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2012 Jan Luebbe <j.luebbe@pengutronix.de> + +/* mk-am35xx-spi-image.c - convert a barebox image for SPI loading on AM35xx */ + /** * @file * @brief convert a barebox image for SPI loading on AM35xx diff --git a/scripts/mkimage.c b/scripts/mkimage.c index 7d283c5509..a76c061aee 100644 --- a/scripts/mkimage.c +++ b/scripts/mkimage.c @@ -1,22 +1,6 @@ -/* - * (C) Copyright 2008 Semihalf - * - * (C) Copyright 2000-2004 - * DENX Software Engineering - * Wolfgang Denk, wd@denx.de - * All rights reserved. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2008 Semihalf +// SPDX-FileCopyrightText: 2000-2004 DENX Software Engineering (Wolfgang Denk <wd@denx.de>) #include <sys/stat.h> #include <time.h> diff --git a/scripts/mkublheader.c b/scripts/mkublheader.c index 496ba0b500..db3e284a8a 100644 --- a/scripts/mkublheader.c +++ b/scripts/mkublheader.c @@ -1,22 +1,7 @@ -/* - * mkublheader.c - produce the header needed to load barebox on OMAP-L138 - * - * Copyright (C) 2012 Jan Luebbe <j.luebbe@pengutronix.de> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2012 Jan Luebbe <j.luebbe@pengutronix.de> + +/* mkublheader.c - produce the header needed to load barebox on OMAP-L138 */ #define _BSD_SOURCE #define _DEFAULT_SOURCE diff --git a/scripts/mod/sumversion.c b/scripts/mod/sumversion.c index d9cc6901d6..b5f1824a69 100644 --- a/scripts/mod/sumversion.c +++ b/scripts/mod/sumversion.c @@ -1,3 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 1997-1998 Andrew Tridgell +// SPDX-FileCopyrightText: Cryptoapi developers. +// SPDX-FileCopyrightText: 2002 David S. Miller <davem@redhat.com> +// SPDX-FileCopyrightText: 2002 James Morris <jmorris@intercode.com.au> + #include <netinet/in.h> #ifdef __sun__ #include <inttypes.h> @@ -20,17 +26,7 @@ * originally based on the public domain implementation written * by Colin Plumb in 1993. * - * Copyright (c) Andrew Tridgell 1997-1998. * Modified by Steve French (sfrench@us.ibm.com) 2002 - * Copyright (c) Cryptoapi developers. - * Copyright (c) 2002 David S. Miller (davem@redhat.com) - * Copyright (c) 2002 James Morris <jmorris@intercode.com.au> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * */ #define MD4_DIGEST_SIZE 16 #define MD4_HMAC_BLOCK_SIZE 64 diff --git a/scripts/omap3-usb-loader.c b/scripts/omap3-usb-loader.c index ae6f1258df..599a93856a 100644 --- a/scripts/omap3-usb-loader.c +++ b/scripts/omap3-usb-loader.c @@ -1,18 +1,8 @@ -/* - * OMAP Loader, a USB uploader application targeted at OMAP3 processors - * Copyright (C) 2008 Martin Mueller <martinmm@pfump.org> - * Copyright (C) 2014 Grant Hernandez <grant.h.hernandez@gmail.com> - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2008 Martin Mueller <martinmm@pfump.org> +// SPDX-FileCopyrightText: 2014 Grant Hernandez <grant.h.hernandez@gmail.com> + +/* OMAP Loader, a USB uploader application targeted at OMAP3 processors */ #include <stdio.h> #include <stdlib.h> diff --git a/scripts/omap4_usbboot.c b/scripts/omap4_usbboot.c index 44236259dc..342efd0c9a 100644 --- a/scripts/omap4_usbboot.c +++ b/scripts/omap4_usbboot.c @@ -1,16 +1,6 @@ -/* - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * Inspired by: https://github.com/simu/usbboot-omap4.git - */ +// SPDX-License-Identifier: GPL-2.0-or-later + +/* Inspired by: https://github.com/simu/usbboot-omap4.git */ #include <stdio.h> #include <stdlib.h> diff --git a/scripts/omap_signGP.c b/scripts/omap_signGP.c index ac47fdf089..b89414931e 100644 --- a/scripts/omap_signGP.c +++ b/scripts/omap_signGP.c @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2010 Texas Instruments Incorporated (http://www.ti.com/) + /** * signGP.c - Read the x-load.bin file and write out the x-load.bin.ift file * @@ -5,17 +8,6 @@ * and the load address. If not entered on command line, file name is * assumed to be x-load.bin in current directory and load address is * 0x40200800. - * - * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 of - * the License as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. */ #include <stdio.h> diff --git a/scripts/s5p_cksum.c b/scripts/s5p_cksum.c index 29cf539a28..0f53ee1dd2 100644 --- a/scripts/s5p_cksum.c +++ b/scripts/s5p_cksum.c @@ -1,16 +1,5 @@ -/* - * Copyright (C) 2012 Alexey Galakhov - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * version 2 as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2012 Alexey Galakhov #include <stdio.h> #include <stdint.h> diff --git a/scripts/setupmbr/setupmbr.c b/scripts/setupmbr/setupmbr.c index 1487498f1f..38af550809 100644 --- a/scripts/setupmbr/setupmbr.c +++ b/scripts/setupmbr/setupmbr.c @@ -1,18 +1,5 @@ -/* - * Copyright (C) 2009 Juergen Beisert, Pengutronix - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2009 Juergen Beisert, Pengutronix /** * @file diff --git a/scripts/tegra/bct_dump.c b/scripts/tegra/bct_dump.c index 74f4d595e0..bf4c146bac 100644 --- a/scripts/tegra/bct_dump.c +++ b/scripts/tegra/bct_dump.c @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION #include "cbootimage.h" #include "data_layout.h" diff --git a/scripts/tegra/cbootimage.c b/scripts/tegra/cbootimage.c index d64f322f11..7714893d28 100644 --- a/scripts/tegra/cbootimage.c +++ b/scripts/tegra/cbootimage.c @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION /* * cbootimage.c - Implementation of the cbootimage tool. diff --git a/scripts/tegra/cbootimage.h b/scripts/tegra/cbootimage.h index 04d1a8b274..99b37d1563 100644 --- a/scripts/tegra/cbootimage.h +++ b/scripts/tegra/cbootimage.h @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION */ /* * cbootimage.h - Definitions for the cbootimage code. diff --git a/scripts/tegra/context.c b/scripts/tegra/context.c index 47e65d570b..93a5e33ce1 100644 --- a/scripts/tegra/context.c +++ b/scripts/tegra/context.c @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION #include "cbootimage.h" #include "data_layout.h" diff --git a/scripts/tegra/context.h b/scripts/tegra/context.h index bdfa25b451..f0f5d0587a 100644 --- a/scripts/tegra/context.h +++ b/scripts/tegra/context.h @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION */ #ifndef INCLUDED_CONTEXT_H #define INCLUDED_CONTEXT_H diff --git a/scripts/tegra/crypto.c b/scripts/tegra/crypto.c index e40f56e474..17d422990b 100644 --- a/scripts/tegra/crypto.c +++ b/scripts/tegra/crypto.c @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION /* * crypto.c - Cryptography support diff --git a/scripts/tegra/crypto.h b/scripts/tegra/crypto.h index 2220ac8367..db687d0371 100644 --- a/scripts/tegra/crypto.h +++ b/scripts/tegra/crypto.h @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION */ /* * crypto.h - Definitions for the crypto support. diff --git a/scripts/tegra/data_layout.c b/scripts/tegra/data_layout.c index 99ae8d92c8..abfbf6efae 100644 --- a/scripts/tegra/data_layout.c +++ b/scripts/tegra/data_layout.c @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION /* * data_layout.c - Code to manage the layout of data in the boot device. diff --git a/scripts/tegra/data_layout.h b/scripts/tegra/data_layout.h index c708da4a15..002a1ab43e 100644 --- a/scripts/tegra/data_layout.h +++ b/scripts/tegra/data_layout.h @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION */ /* * data_layout.h - Definitions for the cbootimage data layout code. diff --git a/scripts/tegra/nvaes_ref.h b/scripts/tegra/nvaes_ref.h index 1d06e71903..7a7e5ec3bf 100644 --- a/scripts/tegra/nvaes_ref.h +++ b/scripts/tegra/nvaes_ref.h @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION */ #include "cbootimage.h" #include "string.h" diff --git a/scripts/tegra/parse.c b/scripts/tegra/parse.c index 9180adfda3..d861deed17 100644 --- a/scripts/tegra/parse.c +++ b/scripts/tegra/parse.c @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION /* * parse.c - Parsing support for the cbootimage tool diff --git a/scripts/tegra/parse.h b/scripts/tegra/parse.h index 7402a1dd98..2d953bb858 100644 --- a/scripts/tegra/parse.h +++ b/scripts/tegra/parse.h @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION */ /* * parse.h - Definitions for the cbootimage parsing code. diff --git a/scripts/tegra/set.c b/scripts/tegra/set.c index 1c5e8dda8c..9de879f22e 100644 --- a/scripts/tegra/set.c +++ b/scripts/tegra/set.c @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION /* * set.c - State setting support for the cbootimage tool diff --git a/scripts/tegra/set.h b/scripts/tegra/set.h index 7e7245aaf4..0b905fd050 100644 --- a/scripts/tegra/set.h +++ b/scripts/tegra/set.h @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION */ /* * set.h - Definitions for the cbootimage state setting code. diff --git a/scripts/tegra/t114/nvbctlib_t114.c b/scripts/tegra/t114/nvbctlib_t114.c index 3bda785f57..1085146ee0 100644 --- a/scripts/tegra/t114/nvbctlib_t114.c +++ b/scripts/tegra/t114/nvbctlib_t114.c @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION #include "../cbootimage.h" #include "../parse.h" diff --git a/scripts/tegra/t114/nvboot_bct_t114.h b/scripts/tegra/t114/nvboot_bct_t114.h index a2a6b865f6..9b8e20ae4a 100644 --- a/scripts/tegra/t114/nvboot_bct_t114.h +++ b/scripts/tegra/t114/nvboot_bct_t114.h @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION */ #ifndef INCLUDED_NVBOOT_BCT_T114_H #define INCLUDED_NVBOOT_BCT_T114_H diff --git a/scripts/tegra/t114/nvboot_sdram_param_t114.h b/scripts/tegra/t114/nvboot_sdram_param_t114.h index 78151dcfb8..2f8f0407f1 100644 --- a/scripts/tegra/t114/nvboot_sdram_param_t114.h +++ b/scripts/tegra/t114/nvboot_sdram_param_t114.h @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION */ /** * Defines the SDRAM parameter structure. diff --git a/scripts/tegra/t114/parse_t114.c b/scripts/tegra/t114/parse_t114.c index 79c2ed8f53..0f6d4dbcdd 100644 --- a/scripts/tegra/t114/parse_t114.c +++ b/scripts/tegra/t114/parse_t114.c @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION /* * parse_t114.h - Definitions for the dev/sdram parameters diff --git a/scripts/tegra/t124/nvbctlib_t124.c b/scripts/tegra/t124/nvbctlib_t124.c index 55b840926e..9cc312b2e4 100644 --- a/scripts/tegra/t124/nvbctlib_t124.c +++ b/scripts/tegra/t124/nvbctlib_t124.c @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2013 NVIDIA CORPORATION #include "../cbootimage.h" #include "../parse.h" diff --git a/scripts/tegra/t124/nvboot_bct_t124.h b/scripts/tegra/t124/nvboot_bct_t124.h index bc07add3db..479ce97654 100644 --- a/scripts/tegra/t124/nvboot_bct_t124.h +++ b/scripts/tegra/t124/nvboot_bct_t124.h @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 2013 NVIDIA CORPORATION */ #ifndef INCLUDED_NVBOOT_BCT_T124_H #define INCLUDED_NVBOOT_BCT_T124_H diff --git a/scripts/tegra/t124/nvboot_sdram_param_t124.h b/scripts/tegra/t124/nvboot_sdram_param_t124.h index bae40b1353..46adba519b 100644 --- a/scripts/tegra/t124/nvboot_sdram_param_t124.h +++ b/scripts/tegra/t124/nvboot_sdram_param_t124.h @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 2013 NVIDIA CORPORATION */ /** * Defines the SDRAM parameter structure. diff --git a/scripts/tegra/t124/parse_t124.c b/scripts/tegra/t124/parse_t124.c index 8468209b61..8a63dd2377 100644 --- a/scripts/tegra/t124/parse_t124.c +++ b/scripts/tegra/t124/parse_t124.c @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2013 NVIDIA CORPORATION /* * parse_t124.c - The implementation for parsing dev/sdram parameters diff --git a/scripts/tegra/t20/nvbctlib_t20.c b/scripts/tegra/t20/nvbctlib_t20.c index 42ad146755..972c37befe 100644 --- a/scripts/tegra/t20/nvbctlib_t20.c +++ b/scripts/tegra/t20/nvbctlib_t20.c @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION #include "../cbootimage.h" #include "../parse.h" diff --git a/scripts/tegra/t20/nvboot_bct_t20.h b/scripts/tegra/t20/nvboot_bct_t20.h index bf94d50b40..97ceeed659 100644 --- a/scripts/tegra/t20/nvboot_bct_t20.h +++ b/scripts/tegra/t20/nvboot_bct_t20.h @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION */ #ifndef INCLUDED_NVBOOT_BCT_T20_H #define INCLUDED_NVBOOT_BCT_T20_H diff --git a/scripts/tegra/t20/nvboot_sdram_param_t20.h b/scripts/tegra/t20/nvboot_sdram_param_t20.h index de002f0c38..397397a0cd 100644 --- a/scripts/tegra/t20/nvboot_sdram_param_t20.h +++ b/scripts/tegra/t20/nvboot_sdram_param_t20.h @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION */ /** * Defines the SDRAM parameter structure. diff --git a/scripts/tegra/t20/parse_t20.c b/scripts/tegra/t20/parse_t20.c index 5db74d5597..c613ecf85e 100644 --- a/scripts/tegra/t20/parse_t20.c +++ b/scripts/tegra/t20/parse_t20.c @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION /* * parse_t20.c - Parsing code for t20 diff --git a/scripts/tegra/t30/nvbctlib_t30.c b/scripts/tegra/t30/nvbctlib_t30.c index 04e8974fbf..77c4aceb0a 100644 --- a/scripts/tegra/t30/nvbctlib_t30.c +++ b/scripts/tegra/t30/nvbctlib_t30.c @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION #include "../cbootimage.h" #include "../parse.h" diff --git a/scripts/tegra/t30/nvboot_bct_t30.h b/scripts/tegra/t30/nvboot_bct_t30.h index c5fee4c0a2..5f4997ed8e 100644 --- a/scripts/tegra/t30/nvboot_bct_t30.h +++ b/scripts/tegra/t30/nvboot_bct_t30.h @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION */ #ifndef INCLUDED_NVBOOT_BCT_T30_H #define INCLUDED_NVBOOT_BCT_T30_H diff --git a/scripts/tegra/t30/nvboot_sdram_param_t30.h b/scripts/tegra/t30/nvboot_sdram_param_t30.h index 24c176858f..fb0dffa0a0 100644 --- a/scripts/tegra/t30/nvboot_sdram_param_t30.h +++ b/scripts/tegra/t30/nvboot_sdram_param_t30.h @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION */ /** * Defines the SDRAM parameter structure. diff --git a/scripts/tegra/t30/parse_t30.c b/scripts/tegra/t30/parse_t30.c index e5f4e93b28..bd85a96d12 100644 --- a/scripts/tegra/t30/parse_t30.c +++ b/scripts/tegra/t30/parse_t30.c @@ -1,18 +1,5 @@ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION /* * parse_t30.h - Definitions for the dev/sdram parameters diff --git a/scripts/zynq_mkimage.c b/scripts/zynq_mkimage.c index a211b79c28..8b95b41960 100644 --- a/scripts/zynq_mkimage.c +++ b/scripts/zynq_mkimage.c @@ -1,16 +1,5 @@ -/* - * Copyright (C) 2013 Steffen Trumtrar <s.trumtrar@pengutronix.de> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2013 Steffen Trumtrar <s.trumtrar@pengutronix.de> #include <endian.h> #include <errno.h> |