diff --git a/asm106x.c b/asm106x.c index cacbec3c7..dc61e6032 100644 --- a/asm106x.c +++ b/asm106x.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2023 Alex Badea - * - * 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: 2023 Alex Badea */ #include diff --git a/atahpt.c b/atahpt.c index 3a0ff92a4..9f7dfbc81 100644 --- a/atahpt.c +++ b/atahpt.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2010 Uwe Hermann - * - * 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 Uwe Hermann */ #include diff --git a/atapromise.c b/atapromise.c index 25c1072af..0801a6be1 100644 --- a/atapromise.c +++ b/atapromise.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2015 Joseph C. Lehner - * - * 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: 2015 Joseph C. Lehner */ #include diff --git a/atavia.c b/atavia.c index 0ce4901a8..df7b4d83b 100644 --- a/atavia.c +++ b/atavia.c @@ -1,19 +1,10 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2010 Uwe Hermann - * Copyright (C) 2011 Jonathan Kollasch - * Copyright (C) 2012-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: 2010 Uwe Hermann + * SPDX-FileCopyrightText: 2011 Jonathan Kollasch + * SPDX-FileCopyrightText: 2012-2013 Stefan Tauner */ #include diff --git a/buspirate_spi.c b/buspirate_spi.c index bf8d93058..c2f8f4fea 100644 --- a/buspirate_spi.c +++ b/buspirate_spi.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2009, 2010, 2011, 2012 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: 2009, 2010, 2011, 2012 Carl-Daniel Hailfinger */ #include diff --git a/ch341a_spi.c b/ch341a_spi.c index f1ddc94a7..0d10397b5 100644 --- a/ch341a_spi.c +++ b/ch341a_spi.c @@ -1,20 +1,11 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2011 asbokid - * Copyright (C) 2014 Pluto Yang - * Copyright (C) 2015-2016 Stefan Tauner - * Copyright (C) 2015 Urja Rannikko - * - * 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: 2011 asbokid + * SPDX-FileCopyrightText: 2014 Pluto Yang + * SPDX-FileCopyrightText: 2015-2016 Stefan Tauner + * SPDX-FileCopyrightText: 2015 Urja Rannikko */ #include diff --git a/ch347_spi.c b/ch347_spi.c index 34f2741ed..7f807b065 100644 --- a/ch347_spi.c +++ b/ch347_spi.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2022 Nicholas Chin - * - * 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: 2022 Nicholas Chin */ #include @@ -383,4 +374,4 @@ const struct programmer_entry programmer_ch347_spi = { .type = USB, .devs.dev = devs_ch347_spi, .init = ch347_spi_init, -}; \ No newline at end of file +}; diff --git a/dediprog.c b/dediprog.c index b9848cf93..17366af00 100644 --- a/dediprog.c +++ b/dediprog.c @@ -1,18 +1,10 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2010 Carl-Daniel Hailfinger - * Copyright (C) 2015 Simon Glass - * Copyright (C) 2015 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; 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 + * SPDX-FileCopyrightText: 2015 Simon Glass + * SPDX-FileCopyrightText: 2015 Stefan Tauner */ #include diff --git a/developerbox_spi.c b/developerbox_spi.c index 67d3d687d..a76f0dd42 100644 --- a/developerbox_spi.c +++ b/developerbox_spi.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2018 Linaro Limited - * - * 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: 2018 Linaro Limited */ /* diff --git a/digilent_spi.c b/digilent_spi.c index ef0d23cf7..1b1ed5930 100644 --- a/digilent_spi.c +++ b/digilent_spi.c @@ -1,28 +1,13 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2018 Lubomir Rintel - * - * Based on ft2232_spi.c: - * - * Copyright (C) 2011 asbokid - * Copyright (C) 2014 Pluto Yang - * Copyright (C) 2015-2016 Stefan Tauner - * Copyright (C) 2015 Urja Rannikko - * - * 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 St, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: GPL-2.0-or-later + * SPDX-FileCopyrightText: 2018 Lubomir Rintel + * SPDX-FileComment: Based on ft2232_spi.c + * SPDX-FileCopyrightText: 2011 asbokid + * SPDX-FileCopyrightText: 2014 Pluto Yang + * SPDX-FileCopyrightText: 2015-2016 Stefan Tauner + * SPDX-FileCopyrightText: 2015 Urja Rannikko */ /* diff --git a/dirtyjtag_spi.c b/dirtyjtag_spi.c index 19764f62b..606e7e316 100644 --- a/dirtyjtag_spi.c +++ b/dirtyjtag_spi.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2021-2022 Jean THOMAS - * - * 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: 2021-2022 Jean THOMAS */ /* diff --git a/drkaiser.c b/drkaiser.c index d8f333d9b..bcad36802 100644 --- a/drkaiser.c +++ b/drkaiser.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2009 Joerg Fischer - * - * 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 Joerg Fischer */ #include diff --git a/dummyflasher.c b/dummyflasher.c index 10f7bad1a..c04e32d83 100644 --- a/dummyflasher.c +++ b/dummyflasher.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * 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: 2009,2010 Carl-Daniel Hailfinger */ #include diff --git a/ft2232_spi.c b/ft2232_spi.c index 023507b29..d50c8f0aa 100644 --- a/ft2232_spi.c +++ b/ft2232_spi.c @@ -1,17 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2009 Paul Fox - * 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: 2009 Paul Fox + * SPDX-FileCopyrightText: 2009, 2010 Carl-Daniel Hailfinger */ #include diff --git a/gfxnvidia.c b/gfxnvidia.c index ef43ae8ac..7393880cd 100644 --- a/gfxnvidia.c +++ b/gfxnvidia.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2009 Uwe Hermann - * - * 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 */ #include diff --git a/include/programmer.h b/include/programmer.h index e169d1563..46f78f932 100644 --- a/include/programmer.h +++ b/include/programmer.h @@ -1,20 +1,11 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2000 Silicon Integrated System Corporation - * Copyright (C) 2000 Ronald G. Minnich - * Copyright (C) 2005-2009 coresystems GmbH - * Copyright (C) 2006-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: 2000 Silicon Integrated System Corporation + * SPDX-FileCopyrightText: 2000 Ronald G. Minnich + * SPDX-FileCopyrightText: 2005-2009 coresystems GmbH + * SPDX-FileCopyrightText: 2006-2009 Carl-Daniel Hailfinger */ #ifndef __PROGRAMMER_H__ diff --git a/internal.c b/internal.c index 6b1f018fb..3251f8415 100644 --- a/internal.c +++ b/internal.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 diff --git a/it8212.c b/it8212.c index bf04276e1..6f1651eea 100644 --- a/it8212.c +++ b/it8212.c @@ -1,17 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2011 Carl-Daniel Hailfinger - * Copyright (C) 2012 Kyösti Mälkki - * - * 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: 2011 Carl-Daniel Hailfinger + * SPDX-FileCopyrightText: 2012 Kyösti Mälkki */ #include diff --git a/jlink_spi.c b/jlink_spi.c index 8cf40b4ae..49ca6e9f6 100644 --- a/jlink_spi.c +++ b/jlink_spi.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2016 Marc Schink - * - * 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 Marc Schink */ /* diff --git a/linux_mtd.c b/linux_mtd.c index b1d0255de..42aa1944a 100644 --- a/linux_mtd.c +++ b/linux_mtd.c @@ -1,17 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright 2015 Google Inc. - * Copyright 2018-present Facebook, Inc. - * - * 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: 2015 Google Inc. + * SPDX-FileCopyrightText: 2018-present Facebook, Inc. */ #include diff --git a/linux_spi.c b/linux_spi.c index a84c77068..5d7f94b6d 100644 --- a/linux_spi.c +++ b/linux_spi.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2011 Sven Schnelle - * - * 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: 2011 Sven Schnelle */ #include diff --git a/mediatek_i2c_spi.c b/mediatek_i2c_spi.c index 792815ac3..e11512536 100644 --- a/mediatek_i2c_spi.c +++ b/mediatek_i2c_spi.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2021 The Chromium OS Authors - * - * 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: 2021 The Chromium OS Authors */ #include diff --git a/mstarddc_spi.c b/mstarddc_spi.c index 13881f064..bb71fab5b 100644 --- a/mstarddc_spi.c +++ b/mstarddc_spi.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2014 Alexandre Boeglin - * - * 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: 2014 Alexandre Boeglin */ #include diff --git a/ni845x_spi.c b/ni845x_spi.c index 5032a343b..fca10e1f0 100644 --- a/ni845x_spi.c +++ b/ni845x_spi.c @@ -1,18 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2018 Miklós Márton martonmiklosqdev@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: 2018 Miklós Márton martonmiklosqdev@gmail.com */ /* The ni845x header does need the WIN32 symbol to be defined and meson does not do it. diff --git a/nic3com.c b/nic3com.c index 40cf9eaf1..cef8a0107 100644 --- a/nic3com.c +++ b/nic3com.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2009 Uwe Hermann - * - * 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 */ #include diff --git a/nicintel.c b/nicintel.c index aafb7e3f4..2e242eb8c 100644 --- a/nicintel.c +++ b/nicintel.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 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; 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: 2011 Carl-Daniel Hailfinger */ /* Datasheet: http://download.intel.com/design/network/datashts/82559_Fast_Ethernet_Multifunction_PCI_Cardbus_Controller_Datasheet.pdf */ diff --git a/nicintel_eeprom.c b/nicintel_eeprom.c index 8c39dff5d..f5daac99c 100644 --- a/nicintel_eeprom.c +++ b/nicintel_eeprom.c @@ -1,19 +1,11 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2013 Ricardo Ribalda - Qtechnology A/S - * Copyright (C) 2011, 2014 Stefan Tauner + * SPDX-License-Identifier: GPL-2.0-only + * SPDX-FileCopyrightText: 2013 Ricardo Ribalda - Qtechnology A/S + * SPDX-FileCopyrightText: 2011, 2014 Stefan Tauner * * Based on nicinctel_spi.c and ichspi.c - * - * 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. */ /* diff --git a/nicintel_spi.c b/nicintel_spi.c index e3cdfb931..fac6e546e 100644 --- a/nicintel_spi.c +++ b/nicintel_spi.c @@ -1,17 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2010 Carl-Daniel Hailfinger - * Copyright (C) 2010 Idwer Vollering - * - * 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 + * SPDX-FileCopyrightText: 2010 Idwer Vollering */ /* diff --git a/nicnatsemi.c b/nicnatsemi.c index 0da3c58d6..d0265810b 100644 --- a/nicnatsemi.c +++ b/nicnatsemi.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2010 Andrew Morgan - * - * 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 Andrew Morgan */ #include diff --git a/nicrealtek.c b/nicrealtek.c index 5072ce5b0..7722eb8fb 100644 --- a/nicrealtek.c +++ b/nicrealtek.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2009 Joerg Fischer - * - * 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 Joerg Fischer */ #include diff --git a/ogp_spi.c b/ogp_spi.c index 5c0c10d3e..bcd35ec2b 100644 --- a/ogp_spi.c +++ b/ogp_spi.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2010 Mark Marshall - * - * 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 Mark Marshall */ #include diff --git a/parade_lspcon.c b/parade_lspcon.c index 16283e711..954fc8b37 100644 --- a/parade_lspcon.c +++ b/parade_lspcon.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2020 The Chromium OS Authors - * - * 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: 2020 The Chromium OS Authors */ #include diff --git a/pickit2_spi.c b/pickit2_spi.c index 1aa13edf1..99af0abef 100644 --- a/pickit2_spi.c +++ b/pickit2_spi.c @@ -1,17 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2010 Carl-Daniel Hailfinger - * Copyright (C) 2014 Justin Chevrier - * - * 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 + * SPDX-FileCopyrightText: 2014 Justin Chevrier */ /* diff --git a/pony_spi.c b/pony_spi.c index 05f65150e..39dacb936 100644 --- a/pony_spi.c +++ b/pony_spi.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2012 Virgil-Adrian Teaca - * - * 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: 2012 Virgil-Adrian Teaca */ /* Driver for serial programmers compatible with SI-Prog or AJAWe. diff --git a/programmer.c b/programmer.c index 15fd1b88b..c084d56b1 100644 --- a/programmer.c +++ b/programmer.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2009,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,2010,2011 Carl-Daniel Hailfinger */ #include "flash.h" diff --git a/programmer_table.c b/programmer_table.c index 6d28dd17f..923a05a56 100644 --- a/programmer_table.c +++ b/programmer_table.c @@ -1,15 +1,7 @@ /* * This file is part of the flashrom project. * - * 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 */ #include "programmer.h" diff --git a/raiden_debug_spi.c b/raiden_debug_spi.c index e36f7eb9d..252eca057 100644 --- a/raiden_debug_spi.c +++ b/raiden_debug_spi.c @@ -1,38 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright 2014, Google Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following disclaimer - * in the documentation and/or other materials provided with the - * distribution. - * * Neither the name of Google Inc. nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * Alternatively, this software may be distributed under the terms of the - * GNU General Public License ("GPL") version 2 as published by the Free - * Software Foundation. + * SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only + * SPDX-FileCopyrightText: 2014, Google Inc. All rights reserved. */ /* diff --git a/rayer_spi.c b/rayer_spi.c index 27caf2be1..9392e76e9 100644 --- a/rayer_spi.c +++ b/rayer_spi.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * 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: 2009,2010 Carl-Daniel Hailfinger */ /* Driver for various LPT adapters. diff --git a/realtek_mst_i2c_spi.c b/realtek_mst_i2c_spi.c index 3a89eab35..67fe05305 100644 --- a/realtek_mst_i2c_spi.c +++ b/realtek_mst_i2c_spi.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2020 The Chromium OS Authors - * - * 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: 2020 The Chromium OS Authors */ #include diff --git a/satamv.c b/satamv.c index 9adb35860..d7aaf483d 100644 --- a/satamv.c +++ b/satamv.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2010,2011 Carl-Daniel Hailfinger - * Written by Carl-Daniel Hailfinger for Angelbird Ltd. - * - * 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,2011 Carl-Daniel Hailfinger, written for Angelbird Ltd. */ /* Datasheets are not public (yet?) */ diff --git a/satasii.c b/satasii.c index 414b6a686..9115540e1 100644 --- a/satasii.c +++ b/satasii.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2009 Rudolf Marek - * - * 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 Rudolf Marek */ /* Datasheets can be found on http://www.siliconimage.com. Great thanks! */ diff --git a/serprog.c b/serprog.c index e67921996..29fe88a43 100644 --- a/serprog.c +++ b/serprog.c @@ -1,19 +1,10 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2009, 2011 Urja Rannikko - * Copyright (C) 2009 Carl-Daniel Hailfinger - * Copyright (C) 2024 Riku Viitanen - * - * 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, 2011 Urja Rannikko + * SPDX-FileCopyrightText: 2009 Carl-Daniel Hailfinger + * SPDX-FileCopyrightText: 2024 Riku Viitanen */ #include diff --git a/spidriver.c b/spidriver.c index d6d6cdc5c..494077061 100644 --- a/spidriver.c +++ b/spidriver.c @@ -1,17 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2009, 2010, 2011, 2012 Carl-Daniel Hailfinger - * Copyright 2025 Simon Arlott - * - * 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: 2009, 2010, 2011, 2012 Carl-Daniel Hailfinger + * SPDX-FileCopyrightText: 2025 Simon Arlott */ /* Website: https://spidriver.com/ diff --git a/stlinkv3_spi.c b/stlinkv3_spi.c index 2afc862a8..96df8ff9a 100644 --- a/stlinkv3_spi.c +++ b/stlinkv3_spi.c @@ -1,18 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2019 Miklós Márton martonmiklosqdev@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: 2019 Miklós Márton martonmiklosqdev@gmail.com */ /* diff --git a/usbblaster_spi.c b/usbblaster_spi.c index 7350cdef5..bec3252c8 100644 --- a/usbblaster_spi.c +++ b/usbblaster_spi.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2012 James Laird - * - * 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: 2012 James Laird */ /*