1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-10-19 00:31:23 +02:00

programmers: Use SPDX in headers

Change-Id: Iaa222f9f265e019798aada4d556c484cb3b46b5d
Signed-off-by: Anastasia Klimchuk <aklm@flashrom.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/89522
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jean THOMAS <virgule@jeanthomas.me>
Reviewed-by: Miklós Márton <martonmiklosqdev@gmail.com>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com>
This commit is contained in:
Anastasia Klimchuk
2025-10-11 22:57:18 +11:00
parent bdadfd9e40
commit 829c0e4e6a
45 changed files with 114 additions and 530 deletions

View File

@@ -1,17 +1,8 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2023 Alex Badea <vamposdecampos@gmail.com> * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 2023 Alex Badea <vamposdecampos@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.
*/ */
#include <stdlib.h> #include <stdlib.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) 2010 Uwe Hermann <uwe@hermann-uwe.de> * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 2010 Uwe Hermann <uwe@hermann-uwe.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.
*/ */
#include <stdlib.h> #include <stdlib.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) 2015 Joseph C. Lehner <joseph.c.lehner@gmail.com> * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 2015 Joseph C. Lehner <joseph.c.lehner@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.
*/ */
#include <string.h> #include <string.h>

View File

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

View File

@@ -1,20 +1,11 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2011 asbokid <ballymunboy@gmail.com> * SPDX-License-Identifier: GPL-2.0-or-later
* Copyright (C) 2014 Pluto Yang <yangyj.ee@gmail.com> * SPDX-FileCopyrightText: 2011 asbokid <ballymunboy@gmail.com>
* Copyright (C) 2015-2016 Stefan Tauner * SPDX-FileCopyrightText: 2014 Pluto Yang <yangyj.ee@gmail.com>
* Copyright (C) 2015 Urja Rannikko <urjaman@gmail.com> * SPDX-FileCopyrightText: 2015-2016 Stefan Tauner
* * SPDX-FileCopyrightText: 2015 Urja Rannikko <urjaman@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.
*/ */
#include <stdlib.h> #include <stdlib.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) 2022 Nicholas Chin <nic.c3.14@gmail.com> * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 2022 Nicholas Chin <nic.c3.14@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.
*/ */
#include <string.h> #include <string.h>
@@ -383,4 +374,4 @@ const struct programmer_entry programmer_ch347_spi = {
.type = USB, .type = USB,
.devs.dev = devs_ch347_spi, .devs.dev = devs_ch347_spi,
.init = ch347_spi_init, .init = ch347_spi_init,
}; };

View File

@@ -1,18 +1,10 @@
/* /*
* 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
* Copyright (C) 2015 Simon Glass * SPDX-FileCopyrightText: 2010 Carl-Daniel Hailfinger
* Copyright (C) 2015 Stefan Tauner * SPDX-FileCopyrightText: 2015 Simon Glass
* * SPDX-FileCopyrightText: 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.
*/ */
#include <sys/types.h> #include <sys/types.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) 2018 Linaro Limited * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 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.
*/ */
/* /*

View File

@@ -1,28 +1,13 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2018 Lubomir Rintel <lkundrak@v3.sk> * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 2018 Lubomir Rintel <lkundrak@v3.sk>
* Based on ft2232_spi.c: * SPDX-FileComment: Based on ft2232_spi.c
* * SPDX-FileCopyrightText: 2011 asbokid <ballymunboy@gmail.com>
* Copyright (C) 2011 asbokid <ballymunboy@gmail.com> * SPDX-FileCopyrightText: 2014 Pluto Yang <yangyj.ee@gmail.com>
* Copyright (C) 2014 Pluto Yang <yangyj.ee@gmail.com> * SPDX-FileCopyrightText: 2015-2016 Stefan Tauner
* Copyright (C) 2015-2016 Stefan Tauner * SPDX-FileCopyrightText: 2015 Urja Rannikko <urjaman@gmail.com>
* Copyright (C) 2015 Urja Rannikko <urjaman@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.
*
* 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
*/ */
/* /*

View File

@@ -1,17 +1,8 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2021-2022 Jean THOMAS <virgule@jeanthomas.me> * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 2021-2022 Jean THOMAS <virgule@jeanthomas.me>
* 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.
*/ */
/* /*

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 Joerg Fischer <turboj@web.de> * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 2009 Joerg Fischer <turboj@web.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.
*/ */
#include <stdlib.h> #include <stdlib.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) 2009,2010 Carl-Daniel Hailfinger * SPDX-License-Identifier: GPL-2.0-only
* * 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 <assert.h> #include <assert.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) 2009 Paul Fox <pgf@laptop.org> * SPDX-License-Identifier: GPL-2.0-only
* Copyright (C) 2009, 2010 Carl-Daniel Hailfinger * SPDX-FileCopyrightText: 2009 Paul Fox <pgf@laptop.org>
* * 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 <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 Uwe Hermann <uwe@hermann-uwe.de> * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 2009 Uwe Hermann <uwe@hermann-uwe.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.
*/ */
#include <stdbool.h> #include <stdbool.h>

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 Silicon Integrated System Corporation * SPDX-License-Identifier: GPL-2.0-or-later
* Copyright (C) 2000 Ronald G. Minnich <rminnich@gmail.com> * SPDX-FileCopyrightText: 2000 Silicon Integrated System Corporation
* Copyright (C) 2005-2009 coresystems GmbH * SPDX-FileCopyrightText: 2000 Ronald G. Minnich <rminnich@gmail.com>
* Copyright (C) 2006-2009 Carl-Daniel Hailfinger * SPDX-FileCopyrightText: 2005-2009 coresystems GmbH
* * SPDX-FileCopyrightText: 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.
*/ */
#ifndef __PROGRAMMER_H__ #ifndef __PROGRAMMER_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 <strings.h> #include <strings.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) 2011 Carl-Daniel Hailfinger * SPDX-License-Identifier: GPL-2.0-only
* Copyright (C) 2012 Kyösti Mälkki <kyosti.malkki@gmail.com> * SPDX-FileCopyrightText: 2011 Carl-Daniel Hailfinger
* * SPDX-FileCopyrightText: 2012 Kyösti Mälkki <kyosti.malkki@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; 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>

View File

@@ -1,17 +1,8 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2016 Marc Schink <flashrom-dev@marcschink.de> * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 2016 Marc Schink <flashrom-dev@marcschink.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.
*/ */
/* /*

View File

@@ -1,17 +1,9 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright 2015 Google Inc. * SPDX-License-Identifier: GPL-2.0-only
* Copyright 2018-present Facebook, Inc. * SPDX-FileCopyrightText: 2015 Google Inc.
* * SPDX-FileCopyrightText: 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.
*/ */
#include <ctype.h> #include <ctype.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) 2011 Sven Schnelle <svens@stackframe.org> * SPDX-License-Identifier: GPL-2.0-only
* * SPDX-FileCopyrightText: 2011 Sven Schnelle <svens@stackframe.org>
* 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 <stdio.h> #include <stdio.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) 2021 The Chromium OS Authors * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 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.
*/ */
#include <linux/i2c-dev.h> #include <linux/i2c-dev.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) 2014 Alexandre Boeglin <alex@boeglin.org> * SPDX-License-Identifier: GPL-2.0-only
* * SPDX-FileCopyrightText: 2014 Alexandre Boeglin <alex@boeglin.org>
* 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 <stdio.h> #include <stdio.h>

View File

@@ -1,18 +1,8 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2018 Miklós Márton martonmiklosqdev@gmail.com * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 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.
*
*/ */
/* The ni845x header does need the WIN32 symbol to be defined and meson does not do it. /* The ni845x header does need the WIN32 symbol to be defined and meson does not do it.

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 Uwe Hermann <uwe@hermann-uwe.de> * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 2009 Uwe Hermann <uwe@hermann-uwe.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.
*/ */
#include <stdlib.h> #include <stdlib.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) 2011 Carl-Daniel Hailfinger * SPDX-License-Identifier: GPL-2.0-only
* * SPDX-FileCopyrightText: 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.
*/ */
/* Datasheet: http://download.intel.com/design/network/datashts/82559_Fast_Ethernet_Multifunction_PCI_Cardbus_Controller_Datasheet.pdf */ /* Datasheet: http://download.intel.com/design/network/datashts/82559_Fast_Ethernet_Multifunction_PCI_Cardbus_Controller_Datasheet.pdf */

View File

@@ -1,19 +1,11 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2013 Ricardo Ribalda - Qtechnology A/S * SPDX-License-Identifier: GPL-2.0-only
* Copyright (C) 2011, 2014 Stefan Tauner * SPDX-FileCopyrightText: 2013 Ricardo Ribalda - Qtechnology A/S
* SPDX-FileCopyrightText: 2011, 2014 Stefan Tauner
* *
* Based on nicinctel_spi.c and ichspi.c * 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.
*/ */
/* /*

View File

@@ -1,17 +1,9 @@
/* /*
* 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
* Copyright (C) 2010 Idwer Vollering * SPDX-FileCopyrightText: 2010 Carl-Daniel Hailfinger
* * SPDX-FileCopyrightText: 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.
*/ */
/* /*

View File

@@ -1,17 +1,8 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2010 Andrew Morgan <ziltro@ziltro.com> * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 2010 Andrew Morgan <ziltro@ziltro.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.
*/ */
#include <stdlib.h> #include <stdlib.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 Joerg Fischer <turboj@gmx.de> * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 2009 Joerg Fischer <turboj@gmx.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.
*/ */
#include <stdlib.h> #include <stdlib.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 Mark Marshall * SPDX-License-Identifier: GPL-2.0-only
* * SPDX-FileCopyrightText: 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.
*/ */
#include <stdlib.h> #include <stdlib.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) 2020 The Chromium OS Authors * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 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.
*/ */
#include <stdlib.h> #include <stdlib.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) 2010 Carl-Daniel Hailfinger * SPDX-License-Identifier: GPL-2.0-only
* Copyright (C) 2014 Justin Chevrier * SPDX-FileCopyrightText: 2010 Carl-Daniel Hailfinger
* * SPDX-FileCopyrightText: 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.
*/ */
/* /*

View File

@@ -1,16 +1,8 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2012 Virgil-Adrian Teaca * SPDX-License-Identifier: GPL-2.0-only
* * SPDX-FileCopyrightText: 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.
*/ */
/* Driver for serial programmers compatible with SI-Prog or AJAWe. /* Driver for serial programmers compatible with SI-Prog or AJAWe.

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,2010,2011 Carl-Daniel Hailfinger * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 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.
*/ */
#include "flash.h" #include "flash.h"

View File

@@ -1,15 +1,7 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* This program is free software; you can redistribute it and/or modify * SPDX-License-Identifier: GPL-2.0-or-later
* 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,38 +1,8 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright 2014, Google Inc. * SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
* All rights reserved. * SPDX-FileCopyrightText: 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.
*/ */
/* /*

View File

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

View File

@@ -1,17 +1,8 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2020 The Chromium OS Authors * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 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.
*/ */
#include <stdlib.h> #include <stdlib.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) 2010,2011 Carl-Daniel Hailfinger * SPDX-License-Identifier: GPL-2.0-only
* Written by Carl-Daniel Hailfinger for Angelbird Ltd. * SPDX-FileCopyrightText: 2010,2011 Carl-Daniel Hailfinger, written 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.
*/ */
/* Datasheets are not public (yet?) */ /* Datasheets are not public (yet?) */

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 Rudolf Marek <r.marek@assembler.cz> * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 2009 Rudolf Marek <r.marek@assembler.cz>
* 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.
*/ */
/* Datasheets can be found on http://www.siliconimage.com. Great thanks! */ /* Datasheets can be found on http://www.siliconimage.com. Great thanks! */

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, 2011 Urja Rannikko <urjaman@gmail.com> * SPDX-License-Identifier: GPL-2.0-or-later
* Copyright (C) 2009 Carl-Daniel Hailfinger * SPDX-FileCopyrightText: 2009, 2011 Urja Rannikko <urjaman@gmail.com>
* Copyright (C) 2024 Riku Viitanen <riku.viitanen@protonmail.com> * SPDX-FileCopyrightText: 2009 Carl-Daniel Hailfinger
* * SPDX-FileCopyrightText: 2024 Riku Viitanen <riku.viitanen@protonmail.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.
*/ */
#include <stdbool.h> #include <stdbool.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) 2009, 2010, 2011, 2012 Carl-Daniel Hailfinger * SPDX-License-Identifier: GPL-2.0-only
* Copyright 2025 Simon Arlott * SPDX-FileCopyrightText: 2009, 2010, 2011, 2012 Carl-Daniel Hailfinger
* * SPDX-FileCopyrightText: 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.
*/ */
/* Website: https://spidriver.com/ /* Website: https://spidriver.com/

View File

@@ -1,18 +1,8 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2019 Miklós Márton martonmiklosqdev@gmail.com * SPDX-License-Identifier: GPL-2.0-or-later
* * SPDX-FileCopyrightText: 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.
*
*/ */
/* /*

View File

@@ -1,16 +1,8 @@
/* /*
* This file is part of the flashrom project. * This file is part of the flashrom project.
* *
* Copyright (C) 2012 James Laird <jhl@mafipulation.org> * SPDX-License-Identifier: GPL-2.0-only
* * SPDX-FileCopyrightText: 2012 James Laird <jhl@mafipulation.org>
* 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.
*/ */
/* /*