1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-11-13 19:20:41 +01:00

group_internal: Use SPDX in headers

Change-Id: I990bae6be548d117d12a69b3d5cda1c93abb238d
Signed-off-by: Anastasia Klimchuk <aklm@flashrom.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/89938
Reviewed-by: Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Anastasia Klimchuk
2025-11-07 22:37:24 +11:00
parent ce2148d90d
commit 474086f8ff
18 changed files with 69 additions and 227 deletions

View File

@@ -1,18 +1,9 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2013 Rudolf Marek <r.marek@assembler.cz> * SPDX-License-Identifier: GPL-2.0-or-later
* Copyright (C) 2013 Stefan Tauner * SPDX-FileCopyrightText: 2013 Rudolf Marek <r.marek@assembler.cz>
* * SPDX-FileCopyrightText: 2013 Stefan Tauner
* 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.
*/ */
#include "programmer.h" #include "programmer.h"

View File

@@ -1,19 +1,11 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2005-2007 coresystems GmbH <stepan@coresystems.de> * SPDX-License-Identifier: GPL-2.0-only
* Copyright (C) 2006 Uwe Hermann <uwe@hermann-uwe.de> * SPDX-FileCopyrightText: 2005-2007 coresystems GmbH <stepan@coresystems.de>
* Copyright (C) 2007-2009 Luc Verhaegen <libv@skynet.be> * SPDX-FileCopyrightText: 2006 Uwe Hermann <uwe@hermann-uwe.de>
* Copyright (C) 2007 Carl-Daniel Hailfinger * SPDX-FileCopyrightText: 2007-2009 Luc Verhaegen <libv@skynet.be>
* * SPDX-FileCopyrightText: 2007 Carl-Daniel Hailfinger
* 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; version 2 of the License.
*
* 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.
*/ */
/* /*

View File

@@ -1,21 +1,11 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2002 Steven James <pyro@linuxlabs.com> * SPDX-License-Identifier: GPL-2.0-only
* Copyright (C) 2002 Linux Networx * SPDX-FileCopyrightText: 2002 Steven James <pyro@linuxlabs.com>
* (Written by Eric Biederman <ebiederman@lnxi.com> for Linux Networx) * SPDX-FileCopyrightText: 2002 Linux Networx (Written by Eric Biederman <ebiederman@lnxi.com> for Linux Networx)
* Copyright (C) 2006-2009 coresystems GmbH * SPDX-FileCopyrightText: 2006-2009 coresystems GmbH (Written by Stefan Reinauer <stepan@coresystems.de> for coresystems GmbH)
* (Written by Stefan Reinauer <stepan@coresystems.de> for coresystems GmbH) * SPDX-FileCopyrightText: 2010 Carl-Daniel Hailfinger
* Copyright (C) 2010 Carl-Daniel Hailfinger
*
* 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; version 2 of the License.
*
* 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 <unistd.h> #include <unistd.h>

View File

@@ -1,23 +1,14 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2000 Silicon Integrated System Corporation * SPDX-License-Identifier: GPL-2.0-only
* Copyright (C) 2005-2009 coresystems GmbH * SPDX-FileCopyrightText: 2000 Silicon Integrated System Corporation
* Copyright (C) 2006 Uwe Hermann <uwe@hermann-uwe.de> * SPDX-FileCopyrightText: 2005-2009 coresystems GmbH
* Copyright (C) 2007,2008,2009 Carl-Daniel Hailfinger * SPDX-FileCopyrightText: 2006 Uwe Hermann <uwe@hermann-uwe.de>
* Copyright (C) 2009 Kontron Modular Computers GmbH * SPDX-FileCopyrightText: 2007,2008,2009 Carl-Daniel Hailfinger
* Copyright (C) 2011, 2012 Stefan Tauner * SPDX-FileCopyrightText: 2009 Kontron Modular Computers GmbH
* Copyright (C) 2017 secunet Security Networks AG * SPDX-FileCopyrightText: 2011, 2012 Stefan Tauner
* (Written by Nico Huber <nico.huber@secunet.com> for secunet) * SPDX-FileCopyrightText: 2017 secunet Security Networks AG (Written by Nico Huber <nico.huber@secunet.com> for secunet)
*
* 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; version 2 of the License.
*
* 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.
*/ */
/* /*

19
dmi.c
View File

@@ -1,20 +1,11 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2000-2002 Alan Cox <alan@redhat.com> * SPDX-License-Identifier: GPL-2.0-or-later
* Copyright (C) 2002-2010 Jean Delvare <khali@linux-fr.org> * SPDX-FileCopyrightText: 2000-2002 Alan Cox <alan@redhat.com>
* Copyright (C) 2009,2010 Michael Karcher * SPDX-FileCopyrightText: 2002-2010 Jean Delvare <khali@linux-fr.org>
* Copyright (C) 2011-2013 Stefan Tauner * SPDX-FileCopyrightText: 2009,2010 Michael Karcher
* * SPDX-FileCopyrightText: 2011-2013 Stefan Tauner
* 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.
*/ */
/* strnlen is in POSIX but was a GNU extension up to glibc 2.10 */ /* strnlen is in POSIX but was a GNU extension up to glibc 2.10 */

View File

@@ -1,22 +1,13 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2008 Stefan Wildemann <stefan.wildemann@kontron.com> * SPDX-License-Identifier: GPL-2.0-or-later
* Copyright (C) 2008 Claus Gindhart <claus.gindhart@kontron.com> * SPDX-FileCopyrightText: 2008 Stefan Wildemann <stefan.wildemann@kontron.com>
* Copyright (C) 2008 Dominik Geyer <dominik.geyer@kontron.com> * SPDX-FileCopyrightText: 2008 Claus Gindhart <claus.gindhart@kontron.com>
* Copyright (C) 2008 coresystems GmbH <info@coresystems.de> * SPDX-FileCopyrightText: 2008 Dominik Geyer <dominik.geyer@kontron.com>
* Copyright (C) 2009, 2010 Carl-Daniel Hailfinger * SPDX-FileCopyrightText: 2008 coresystems GmbH <info@coresystems.de>
* Copyright (C) 2011 Stefan Tauner * SPDX-FileCopyrightText: 2009, 2010 Carl-Daniel Hailfinger
* * SPDX-FileCopyrightText: 2011 Stefan Tauner
* 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.
*/ */
#include <string.h> #include <string.h>

View File

@@ -1,18 +1,9 @@
/* /*
* This file is part of the coreboot project. * This file is part of the coreboot project.
* *
* Copyright (C) 2002 Linux Networx * SPDX-License-Identifier: GPL-2.0-only
* (Written by Eric Biederman <ebiederman@lnxi.com> for Linux Networx) * SPDX-FileCopyrightText: 2002 Linux Networx (Written by Eric Biederman <ebiederman@lnxi.com> for Linux Networx)
* Copyright (C) 2005-2007 coresystems GmbH * SPDX-FileCopyrightText: 2005-2007 coresystems GmbH
*
* 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; version 2 of the License.
*
* 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.
*/ */
#ifndef COREBOOT_TABLES_H #ifndef COREBOOT_TABLES_H

View File

@@ -1,18 +1,9 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (c) 2010 Matthias Wenzel <bios at mazzoo dot de> * SPDX-License-Identifier: GPL-2.0-or-later
* Copyright (c) 2011 Stefan Tauner * SPDX-FileCopyrightText: 2010 Matthias Wenzel <bios at mazzoo dot de>
* * SPDX-FileCopyrightText: 2011 Stefan Tauner
* 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.
*/ */
#ifndef __ICH_DESCRIPTORS_H__ #ifndef __ICH_DESCRIPTORS_H__

View File

@@ -1,17 +1,8 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2025 Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com> * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 2025 Antonio Vázquez Blanco <antoniovazquezblanco@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.
*/ */
#ifndef __PCIDEV_H__ #ifndef __PCIDEV_H__

View File

@@ -1,17 +1,8 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2009 Carl-Daniel Hailfinger * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 2009 Carl-Daniel Hailfinger
* 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.
*/ */
#include "programmer.h" #include "programmer.h"

View File

@@ -1,18 +1,10 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2007, 2008, 2009 Carl-Daniel Hailfinger * SPDX-License-Identifier: GPL-2.0-only
* Copyright (C) 2008 Ronald Hoogenboom <ronald@zonnet.nl> * SPDX-FileCopyrightText: 2007, 2008, 2009 Carl-Daniel Hailfinger
* Copyright (C) 2008 coresystems GmbH * SPDX-FileCopyrightText: 2008 Ronald Hoogenboom <ronald@zonnet.nl>
* * SPDX-FileCopyrightText: 2008 coresystems GmbH
* 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; version 2 of the License.
*
* 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.
*/ */
/* /*

View File

@@ -1,19 +1,10 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de> * SPDX-License-Identifier: GPL-2.0-or-later
* Copyright (C) 2009 Carl-Daniel Hailfinger * SPDX-FileCopyrightText: 2009 Uwe Hermann <uwe@hermann-uwe.de>
* Copyright (C) 2011-2013 Stefan Tauner * SPDX-FileCopyrightText: 2009 Carl-Daniel Hailfinger
* * SPDX-FileCopyrightText: 2011-2013 Stefan Tauner
* 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.
*/ */
#include "programmer.h" #include "programmer.h"

View File

@@ -1,16 +1,8 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2010 Carl-Daniel Hailfinger * SPDX-License-Identifier: GPL-2.0-only
* * SPDX-FileCopyrightText: 2010 Carl-Daniel Hailfinger
* 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; version 2 of the License.
*
* 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.
*/ */
/* Driver for the NVIDIA MCP6x/MCP7x MCP6X_SPI controller. /* Driver for the NVIDIA MCP6x/MCP7x MCP6X_SPI controller.

View File

@@ -1,18 +1,9 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de> * SPDX-License-Identifier: GPL-2.0-or-later
* Copyright (C) 2010, 2011 Carl-Daniel Hailfinger * SPDX-FileCopyrightText: 2009 Uwe Hermann <uwe@hermann-uwe.de>
* * SPDX-FileCopyrightText: 2010, 2011 Carl-Daniel Hailfinger
* 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.
*/ */
#include "pcidev.h" #include "pcidev.h"

View File

@@ -1,16 +1,8 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2010 Carl-Daniel Hailfinger * SPDX-License-Identifier: GPL-2.0-only
* * SPDX-FileCopyrightText: 2010 Carl-Daniel Hailfinger
* 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; version 2 of the License.
*
* 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.
*/ */
/* /*

View File

@@ -1,21 +1,12 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2008 Wang Qingpei <Qingpei.Wang@amd.com> * SPDX-License-Identifier: GPL-2.0-or-later
* Copyright (C) 2008 Joe Bao <Zheng.Bao@amd.com> * SPDX-FileCopyrightText: 2008 Wang Qingpei <Qingpei.Wang@amd.com>
* Copyright (C) 2008 Advanced Micro Devices, Inc. * SPDX-FileCopyrightText: 2008 Joe Bao <Zheng.Bao@amd.com>
* Copyright (C) 2009, 2010, 2013 Carl-Daniel Hailfinger * SPDX-FileCopyrightText: 2008 Advanced Micro Devices, Inc.
* Copyright (C) 2013 Stefan Tauner * SPDX-FileCopyrightText: 2009, 2010, 2013 Carl-Daniel Hailfinger
* * SPDX-FileCopyrightText: 2013 Stefan Tauner
* 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.
*/ */
#include <stdbool.h> #include <stdbool.h>

View File

@@ -1,17 +1,8 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2009 Carl-Daniel Hailfinger * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 2009 Carl-Daniel Hailfinger
* 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.
*/ */
#include "programmer.h" #include "programmer.h"

View File

@@ -1,17 +1,9 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2008 Peter Stuge <peter@stuge.se> * SPDX-License-Identifier: GPL-2.0-only
* Copyright (C) 2009,2010 Carl-Daniel Hailfinger * SPDX-FileCopyrightText: 2008 Peter Stuge <peter@stuge.se>
* * SPDX-FileCopyrightText: 2009,2010 Carl-Daniel Hailfinger
* 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; version 2 of the License.
*
* 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 <stdlib.h> #include <stdlib.h>