diff --git a/amd_imc.c b/amd_imc.c index 3fb1f8773..a11194809 100644 --- a/amd_imc.c +++ b/amd_imc.c @@ -1,18 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2013 Rudolf Marek - * Copyright (C) 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. + * SPDX-License-Identifier: GPL-2.0-or-later + * SPDX-FileCopyrightText: 2013 Rudolf Marek + * SPDX-FileCopyrightText: 2013 Stefan Tauner */ #include "programmer.h" diff --git a/board_enable.c b/board_enable.c index 849f6b3e7..c0f6a514f 100644 --- a/board_enable.c +++ b/board_enable.c @@ -1,19 +1,11 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2005-2007 coresystems GmbH - * Copyright (C) 2006 Uwe Hermann - * Copyright (C) 2007-2009 Luc Verhaegen - * Copyright (C) 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. + * SPDX-License-Identifier: GPL-2.0-only + * SPDX-FileCopyrightText: 2005-2007 coresystems GmbH + * SPDX-FileCopyrightText: 2006 Uwe Hermann + * SPDX-FileCopyrightText: 2007-2009 Luc Verhaegen + * SPDX-FileCopyrightText: 2007 Carl-Daniel Hailfinger */ /* diff --git a/cbtable.c b/cbtable.c index dd6a0b956..88587767d 100644 --- a/cbtable.c +++ b/cbtable.c @@ -1,21 +1,11 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2002 Steven James - * Copyright (C) 2002 Linux Networx - * (Written by Eric Biederman for Linux Networx) - * Copyright (C) 2006-2009 coresystems GmbH - * (Written by Stefan Reinauer for coresystems GmbH) - * 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. + * SPDX-License-Identifier: GPL-2.0-only + * SPDX-FileCopyrightText: 2002 Steven James + * SPDX-FileCopyrightText: 2002 Linux Networx (Written by Eric Biederman for Linux Networx) + * SPDX-FileCopyrightText: 2006-2009 coresystems GmbH (Written by Stefan Reinauer for coresystems GmbH) + * SPDX-FileCopyrightText: 2010 Carl-Daniel Hailfinger */ #include diff --git a/chipset_enable.c b/chipset_enable.c index e8f0ba119..c820dc998 100644 --- a/chipset_enable.c +++ b/chipset_enable.c @@ -1,23 +1,14 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2000 Silicon Integrated System Corporation - * Copyright (C) 2005-2009 coresystems GmbH - * Copyright (C) 2006 Uwe Hermann - * Copyright (C) 2007,2008,2009 Carl-Daniel Hailfinger - * Copyright (C) 2009 Kontron Modular Computers GmbH - * Copyright (C) 2011, 2012 Stefan Tauner - * Copyright (C) 2017 secunet Security Networks AG - * (Written by Nico Huber 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. + * SPDX-License-Identifier: GPL-2.0-only + * SPDX-FileCopyrightText: 2000 Silicon Integrated System Corporation + * SPDX-FileCopyrightText: 2005-2009 coresystems GmbH + * SPDX-FileCopyrightText: 2006 Uwe Hermann + * SPDX-FileCopyrightText: 2007,2008,2009 Carl-Daniel Hailfinger + * SPDX-FileCopyrightText: 2009 Kontron Modular Computers GmbH + * SPDX-FileCopyrightText: 2011, 2012 Stefan Tauner + * SPDX-FileCopyrightText: 2017 secunet Security Networks AG (Written by Nico Huber for secunet) */ /* diff --git a/dmi.c b/dmi.c index 94e47fb49..e19f59673 100644 --- a/dmi.c +++ b/dmi.c @@ -1,20 +1,11 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2000-2002 Alan Cox - * Copyright (C) 2002-2010 Jean Delvare - * Copyright (C) 2009,2010 Michael Karcher - * Copyright (C) 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. + * SPDX-License-Identifier: GPL-2.0-or-later + * SPDX-FileCopyrightText: 2000-2002 Alan Cox + * SPDX-FileCopyrightText: 2002-2010 Jean Delvare + * SPDX-FileCopyrightText: 2009,2010 Michael Karcher + * SPDX-FileCopyrightText: 2011-2013 Stefan Tauner */ /* strnlen is in POSIX but was a GNU extension up to glibc 2.10 */ diff --git a/ichspi.c b/ichspi.c index 749fab9d7..ba31e2685 100644 --- a/ichspi.c +++ b/ichspi.c @@ -1,22 +1,13 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2008 Stefan Wildemann - * Copyright (C) 2008 Claus Gindhart - * Copyright (C) 2008 Dominik Geyer - * Copyright (C) 2008 coresystems GmbH - * Copyright (C) 2009, 2010 Carl-Daniel Hailfinger - * Copyright (C) 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. + * SPDX-License-Identifier: GPL-2.0-or-later + * SPDX-FileCopyrightText: 2008 Stefan Wildemann + * SPDX-FileCopyrightText: 2008 Claus Gindhart + * SPDX-FileCopyrightText: 2008 Dominik Geyer + * SPDX-FileCopyrightText: 2008 coresystems GmbH + * SPDX-FileCopyrightText: 2009, 2010 Carl-Daniel Hailfinger + * SPDX-FileCopyrightText: 2011 Stefan Tauner */ #include diff --git a/include/coreboot_tables.h b/include/coreboot_tables.h index e1f63a81d..8e0bcbc15 100644 --- a/include/coreboot_tables.h +++ b/include/coreboot_tables.h @@ -1,18 +1,9 @@ /* * This file is part of the coreboot project. * - * Copyright (C) 2002 Linux Networx - * (Written by Eric Biederman for Linux Networx) - * Copyright (C) 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. + * SPDX-License-Identifier: GPL-2.0-only + * SPDX-FileCopyrightText: 2002 Linux Networx (Written by Eric Biederman for Linux Networx) + * SPDX-FileCopyrightText: 2005-2007 coresystems GmbH */ #ifndef COREBOOT_TABLES_H diff --git a/include/ich_descriptors.h b/include/ich_descriptors.h index 5a6cdf10c..dbb54e9b9 100644 --- a/include/ich_descriptors.h +++ b/include/ich_descriptors.h @@ -1,18 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright (c) 2010 Matthias Wenzel - * Copyright (c) 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. + * SPDX-License-Identifier: GPL-2.0-or-later + * SPDX-FileCopyrightText: 2010 Matthias Wenzel + * SPDX-FileCopyrightText: 2011 Stefan Tauner */ #ifndef __ICH_DESCRIPTORS_H__ diff --git a/include/pcidev.h b/include/pcidev.h index 8fa32347c..7aa6d7318 100644 --- a/include/pcidev.h +++ b/include/pcidev.h @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2025 Antonio Vázquez Blanco - * - * 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: 2025 Antonio Vázquez Blanco */ #ifndef __PCIDEV_H__ diff --git a/internal_par.c b/internal_par.c index e8e387cad..abd6b4735 100644 --- a/internal_par.c +++ b/internal_par.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 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. + * SPDX-License-Identifier: GPL-2.0-or-later + * SPDX-FileCopyrightText: 2009 Carl-Daniel Hailfinger */ #include "programmer.h" diff --git a/it87spi.c b/it87spi.c index c70c5c7fa..d106f61da 100644 --- a/it87spi.c +++ b/it87spi.c @@ -1,18 +1,10 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2007, 2008, 2009 Carl-Daniel Hailfinger - * Copyright (C) 2008 Ronald Hoogenboom - * Copyright (C) 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. + * SPDX-License-Identifier: GPL-2.0-only + * SPDX-FileCopyrightText: 2007, 2008, 2009 Carl-Daniel Hailfinger + * SPDX-FileCopyrightText: 2008 Ronald Hoogenboom + * SPDX-FileCopyrightText: 2008 coresystems GmbH */ /* diff --git a/known_boards.c b/known_boards.c index c412b8f65..5508570ff 100644 --- a/known_boards.c +++ b/known_boards.c @@ -1,19 +1,10 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2009 Uwe Hermann - * Copyright (C) 2009 Carl-Daniel Hailfinger - * Copyright (C) 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. + * SPDX-License-Identifier: GPL-2.0-or-later + * SPDX-FileCopyrightText: 2009 Uwe Hermann + * SPDX-FileCopyrightText: 2009 Carl-Daniel Hailfinger + * SPDX-FileCopyrightText: 2011-2013 Stefan Tauner */ #include "programmer.h" diff --git a/mcp6x_spi.c b/mcp6x_spi.c index 79c90632b..f3855db8c 100644 --- a/mcp6x_spi.c +++ b/mcp6x_spi.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * 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. + * SPDX-License-Identifier: GPL-2.0-only + * SPDX-FileCopyrightText: 2010 Carl-Daniel Hailfinger */ /* Driver for the NVIDIA MCP6x/MCP7x MCP6X_SPI controller. diff --git a/pcidev.c b/pcidev.c index 43c7a596a..9c273b05b 100644 --- a/pcidev.c +++ b/pcidev.c @@ -1,18 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2009 Uwe Hermann - * Copyright (C) 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. + * SPDX-License-Identifier: GPL-2.0-or-later + * SPDX-FileCopyrightText: 2009 Uwe Hermann + * SPDX-FileCopyrightText: 2010, 2011 Carl-Daniel Hailfinger */ #include "pcidev.h" diff --git a/processor_enable.c b/processor_enable.c index 7c27ccde0..8213d502f 100644 --- a/processor_enable.c +++ b/processor_enable.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * 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. + * SPDX-License-Identifier: GPL-2.0-only + * SPDX-FileCopyrightText: 2010 Carl-Daniel Hailfinger */ /* diff --git a/sb600spi.c b/sb600spi.c index f48e166cc..5903ea59a 100644 --- a/sb600spi.c +++ b/sb600spi.c @@ -1,21 +1,12 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2008 Wang Qingpei - * Copyright (C) 2008 Joe Bao - * Copyright (C) 2008 Advanced Micro Devices, Inc. - * Copyright (C) 2009, 2010, 2013 Carl-Daniel Hailfinger - * Copyright (C) 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. + * SPDX-License-Identifier: GPL-2.0-or-later + * SPDX-FileCopyrightText: 2008 Wang Qingpei + * SPDX-FileCopyrightText: 2008 Joe Bao + * SPDX-FileCopyrightText: 2008 Advanced Micro Devices, Inc. + * SPDX-FileCopyrightText: 2009, 2010, 2013 Carl-Daniel Hailfinger + * SPDX-FileCopyrightText: 2013 Stefan Tauner */ #include diff --git a/superio.c b/superio.c index 3121578d9..0254a0c47 100644 --- a/superio.c +++ b/superio.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 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. + * SPDX-License-Identifier: GPL-2.0-or-later + * SPDX-FileCopyrightText: 2009 Carl-Daniel Hailfinger */ #include "programmer.h" diff --git a/wbsio_spi.c b/wbsio_spi.c index 7ed495119..4b74ed986 100644 --- a/wbsio_spi.c +++ b/wbsio_spi.c @@ -1,17 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2008 Peter Stuge - * Copyright (C) 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. + * SPDX-License-Identifier: GPL-2.0-only + * SPDX-FileCopyrightText: 2008 Peter Stuge + * SPDX-FileCopyrightText: 2009,2010 Carl-Daniel Hailfinger */ #include