diff --git a/82802ab.c b/82802ab.c index 95ff19972..c5f6cf0df 100644 --- a/82802ab.c +++ b/82802ab.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2000 Silicon Integrated System Corporation - * - * 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 */ /* diff --git a/at45db.c b/at45db.c index baa2bff2f..b90f464af 100644 --- a/at45db.c +++ b/at45db.c @@ -2,17 +2,9 @@ * Support for Atmel AT45DB series DataFlash chips. * This file is part of the flashrom project. * - * Copyright (C) 2012 Aidan Thornton - * 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; 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 Aidan Thornton + * SPDX-FileCopyrightText: 2013 Stefan Tauner */ #include diff --git a/bitbang_spi.c b/bitbang_spi.c index f243fb89a..a2c755144 100644 --- a/bitbang_spi.c +++ b/bitbang_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 */ #include diff --git a/edi.c b/edi.c index 340688fd4..539fc6f4e 100644 --- a/edi.c +++ b/edi.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2015 Paul Kocialkowski - * - * 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 Paul Kocialkowski */ #include diff --git a/en29lv640b.c b/en29lv640b.c index 10f5f7469..f1d2bd290 100644 --- a/en29lv640b.c +++ b/en29lv640b.c @@ -1,18 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2000 Silicon Integrated System Corporation - * Copyright (C) 2012 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: 2000 Silicon Integrated System Corporation + * SPDX-FileCopyrightText: 2012 Rudolf Marek */ #include "flash.h" diff --git a/erasure_layout.c b/erasure_layout.c index c0d25bdb6..7c70951c2 100644 --- a/erasure_layout.c +++ b/erasure_layout.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2022 Aarya Chaumal - * - * 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 Aarya Chaumal */ #include diff --git a/flashrom.c b/flashrom.c index 3ee826d6b..0d4c0c37a 100644 --- a/flashrom.c +++ b/flashrom.c @@ -1,22 +1,12 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2000 Silicon Integrated System Corporation - * Copyright (C) 2004 Tyan Corp - * Copyright (C) 2005-2008 coresystems GmbH - * Copyright (C) 2008,2009 Carl-Daniel Hailfinger - * Copyright (C) 2016 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; 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: 2004 Tyan Corp + * SPDX-FileCopyrightText: 2005-2008 coresystems GmbH + * SPDX-FileCopyrightText: 2008,2009 Carl-Daniel Hailfinger + * SPDX-FileCopyrightText: 2016 secunet Security Networks AG (Written by Nico Huber for secunet) */ #include diff --git a/fmap.c b/fmap.c index 70815984a..c4b330cc8 100644 --- a/fmap.c +++ b/fmap.c @@ -1,37 +1,7 @@ /* - * Copyright 2010, Google LLC. - * Copyright 2018-present, Facebook 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: 2010, Google LLC. + * SPDX-FileCopyrightText: 2018-present, Facebook Inc. All rights reserved. */ #include diff --git a/helpers.c b/helpers.c index 5b47b68c6..1caa5c117 100644 --- a/helpers.c +++ b/helpers.c @@ -1,18 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2009-2010 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: 2009-2010 Carl-Daniel Hailfinger + * SPDX-FileCopyrightText: 2013 Stefan Tauner */ #include diff --git a/helpers_fileio.c b/helpers_fileio.c index cb7675db2..25fd3d0f4 100644 --- a/helpers_fileio.c +++ b/helpers_fileio.c @@ -1,18 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2009-2010 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: 2009-2010 Carl-Daniel Hailfinger + * SPDX-FileCopyrightText: 2013 Stefan Tauner */ #include diff --git a/ich_descriptors.c b/ich_descriptors.c index 8b88e2715..5bd80bd84 100644 --- a/ich_descriptors.c +++ b/ich_descriptors.c @@ -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 */ #include "hwaccess_physmap.h" diff --git a/include/chipdrivers.h b/include/chipdrivers.h index 936a2efa3..2488ca8c7 100644 --- a/include/chipdrivers.h +++ b/include/chipdrivers.h @@ -1,16 +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; 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 Carl-Daniel Hailfinger * * Header file for flash chip drivers. Included from flash.h. * As a general rule, every function listed here should take a pointer to diff --git a/include/edi.h b/include/edi.h index 542bf26ec..1729312a8 100644 --- a/include/edi.h +++ b/include/edi.h @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2015 Paul Kocialkowski - * - * 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 Paul Kocialkowski */ #ifndef __EDI_H__ diff --git a/include/ene.h b/include/ene.h index e03e49b2e..990baf8c1 100644 --- a/include/ene.h +++ b/include/ene.h @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2015 Paul Kocialkowski - * - * 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 Paul Kocialkowski */ #ifndef __ENE_H__ diff --git a/include/erasure_layout.h b/include/erasure_layout.h index b8b5f089a..84e541c50 100644 --- a/include/erasure_layout.h +++ b/include/erasure_layout.h @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2022 Aarya Chaumal - * - * 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 Aarya Chaumal */ #ifndef __ERASURE_LAYOUT_H__ diff --git a/include/flash.h b/include/flash.h index d66556249..001596bb8 100644 --- a/include/flash.h +++ b/include/flash.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 __FLASH_H__ diff --git a/include/fmap.h b/include/fmap.h index 924e11f6b..ca8171c4b 100644 --- a/include/fmap.h +++ b/include/fmap.h @@ -1,37 +1,7 @@ /* - * Copyright 2010, Google LLC. - * Copyright 2018-present, Facebook 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: 2010, Google LLC. + * SPDX-FileCopyrightText: 2018-present, Facebook Inc. All rights reserved. */ #ifndef __FMAP_H__ diff --git a/include/hwaccess_physmap.h b/include/hwaccess_physmap.h index a0a7e74d8..d3ac9002c 100644 --- a/include/hwaccess_physmap.h +++ b/include/hwaccess_physmap.h @@ -1,14 +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; 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 */ #ifndef __HWACCESS_PHYSMAP_H__ @@ -56,4 +49,4 @@ void rmmio_valb(void *addr); void rmmio_valw(void *addr); void rmmio_vall(void *addr); -#endif /* __HWACCESS_PHYSMAP_H__ */ \ No newline at end of file +#endif /* __HWACCESS_PHYSMAP_H__ */ diff --git a/include/hwaccess_x86_io.h b/include/hwaccess_x86_io.h index 31d1e86c8..2e1a96a06 100644 --- a/include/hwaccess_x86_io.h +++ b/include/hwaccess_x86_io.h @@ -1,18 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2009 Carl-Daniel Hailfinger - * Copyright (C) 2022 secunet Security Networks AG - * (Written by Thomas Heijligen for coresystems GmbH) - * Copyright (C) 2011-2013 Stefan Tauner - * Copyright (C) 2016 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; 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: 2005-2008 coresystems GmbH (Written by Stefan Reinauer for coresystems GmbH) + * SPDX-FileCopyrightText: 2011-2013 Stefan Tauner + * SPDX-FileCopyrightText: 2016 secunet Security Networks AG (Written by Nico Huber for secunet) */ #ifndef __LAYOUT_H__ diff --git a/include/libflashrom.h b/include/libflashrom.h index 1e804b774..e39bc02bb 100644 --- a/include/libflashrom.h +++ b/include/libflashrom.h @@ -1,21 +1,11 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2010 Google Inc. - * Copyright (C) 2012 secunet Security Networks AG - * (Written by Nico Huber for secunet) - * Copyright (C) 2025 Dmitry Zhadinets - * Copyright (C) 2025 Google LLC - * - * 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 Google Inc. + * SPDX-FileCopyrightText: 2012 secunet Security Networks AG (Written by Nico Huber for secunet) + * SPDX-FileCopyrightText: 2025 Dmitry Zhadinets + * SPDX-FileCopyrightText: 2025 Google LLC */ #ifndef __LIBFLASHROM_H__ diff --git a/include/platform.h b/include/platform.h index 3cde2edae..95c5cc9ac 100644 --- a/include/platform.h +++ b/include/platform.h @@ -1,18 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2009 Carl-Daniel Hailfinger - * Copyright (C) 2022 secunet Security Networks AG - * (written by Thomas Heijligen ) - * - * 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: 2024 Matti Finder (written by Matti Finder ) */ #ifndef __RPMC_H__ diff --git a/include/spi.h b/include/spi.h index d0f199c6e..d75c68162 100644 --- a/include/spi.h +++ b/include/spi.h @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2007, 2008 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: 2007, 2008 Carl-Daniel Hailfinger */ #ifndef __SPI_H__ diff --git a/include/writeprotect.h b/include/writeprotect.h index 7ceed0792..683ad01e0 100644 --- a/include/writeprotect.h +++ b/include/writeprotect.h @@ -1,18 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2010 Google 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; 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 Google Inc. */ #ifndef __WRITEPROTECT_H__ diff --git a/jedec.c b/jedec.c index 1cf025e7a..5306257f6 100644 --- a/jedec.c +++ b/jedec.c @@ -1,22 +1,13 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2000 Silicon Integrated System Corporation - * Copyright (C) 2006 Giampiero Giancipoli - * Copyright (C) 2006 coresystems GmbH - * Copyright (C) 2007-2012 Carl-Daniel Hailfinger - * Copyright (C) 2009 Sean Nelson - * Copyright (C) 2014 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 Silicon Integrated System Corporation + * SPDX-FileCopyrightText: 2006 Giampiero Giancipoli + * SPDX-FileCopyrightText: 2006 coresystems GmbH + * SPDX-FileCopyrightText: 2007-2012 Carl-Daniel Hailfinger + * SPDX-FileCopyrightText: 2009 Sean Nelson + * SPDX-FileCopyrightText: 2014 Stefan Tauner */ #include "flash.h" diff --git a/layout.c b/layout.c index a1aa9647e..62ea7d8ed 100644 --- a/layout.c +++ b/layout.c @@ -1,18 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2005-2008 coresystems GmbH - * (Written by Stefan Reinauer for coresystems GmbH) - * 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; 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-2008 coresystems GmbH (Written by Stefan Reinauer for coresystems GmbH) + * SPDX-FileCopyrightText: 2011-2013 Stefan Tauner */ #include diff --git a/libflashrom.c b/libflashrom.c index 4ea0881a5..159e3924a 100644 --- a/libflashrom.c +++ b/libflashrom.c @@ -1,20 +1,10 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2012, 2016 secunet Security Networks AG - * (Written by Nico Huber for secunet) - * Copyright (C) 2025 Dmitry Zhadinets - * Copyright 2025 Google LLC - * - * 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: 2012, 2016 secunet Security Networks AG (Written by Nico Huber for secunet) + * SPDX-FileCopyrightText: 2025 Dmitry Zhadinets + * SPDX-FileCopyrightText: 2025 Google LLC */ #include diff --git a/opaque.c b/opaque.c index 7704ec7a7..bf34c0e1c 100644 --- a/opaque.c +++ b/opaque.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2011,2013,2014 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,2013,2014 Carl-Daniel Hailfinger */ /* diff --git a/parallel.c b/parallel.c index 3976c954e..174a076ed 100644 --- a/parallel.c +++ b/parallel.c @@ -1,22 +1,13 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2000 Silicon Integrated System Corporation - * Copyright (C) 2004 Tyan Corp - * Copyright (C) 2005-2008 coresystems GmbH - * Copyright (C) 2008,2009 Carl-Daniel Hailfinger - * Copyright (C) 2016 secunet Security Networks AG - * (Written by Nico Huber for secunet) - * 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; 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: 2004 Tyan Corp + * SPDX-FileCopyrightText: 2005-2008 coresystems GmbH + * SPDX-FileCopyrightText: 2008,2009 Carl-Daniel Hailfinger + * SPDX-FileCopyrightText: 2016 secunet Security Networks AG (Written by Nico Huber for secunet) + * SPDX-FileCopyrightText: 2009,2010,2011 Carl-Daniel Hailfinger */ #include "parallel.h" diff --git a/print.c b/print.c index 892471d43..f4989bef6 100644 --- a/print.c +++ b/print.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 diff --git a/printlock.c b/printlock.c index 1872d234f..11b9cd921 100644 --- a/printlock.c +++ b/printlock.c @@ -1,22 +1,13 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2000 Silicon Integrated System Corporation - * Copyright (C) 2006 Giampiero Giancipoli - * Copyright (C) 2006 coresystems GmbH - * Copyright (C) 2007-2012 Carl-Daniel Hailfinger - * Copyright (C) 2009 Sean Nelson - * Copyright (C) 2014 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 Silicon Integrated System Corporation + * SPDX-FileCopyrightText: 2006 Giampiero Giancipoli + * SPDX-FileCopyrightText: 2006 coresystems GmbH + * SPDX-FileCopyrightText: 2007-2012 Carl-Daniel Hailfinger + * SPDX-FileCopyrightText: 2009 Sean Nelson + * SPDX-FileCopyrightText: 2014 Stefan Tauner */ #include "flash.h" diff --git a/rpmc.c b/rpmc.c index d0b7d4d70..9e6593137 100644 --- a/rpmc.c +++ b/rpmc.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2024 Matti Finder - * (written by Matti Finder ) - * - * 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: 2024 Matti Finder (written by Matti Finder ) */ #include "rpmc.h" diff --git a/s25f.c b/s25f.c index dc90dc475..c53cb28e5 100644 --- a/s25f.c +++ b/s25f.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2014 Google LLC. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * SPDX-License-Identifier: GPL-2.0-or-later + * SPDX-FileCopyrightText: 2014 Google LLC. */ /* diff --git a/sfdp.c b/sfdp.c index e63595437..3c243d963 100644 --- a/sfdp.c +++ b/sfdp.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2011-2012 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: 2011-2012 Stefan Tauner */ #include diff --git a/spi.c b/spi.c index a9ad938fd..a4a793a43 100644 --- a/spi.c +++ b/spi.c @@ -1,17 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2007, 2008, 2009, 2010, 2011 Carl-Daniel Hailfinger - * 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, 2010, 2011 Carl-Daniel Hailfinger + * SPDX-FileCopyrightText: 2008 coresystems GmbH */ /* diff --git a/spi25.c b/spi25.c index 84ea7cb5c..9b2ef893e 100644 --- a/spi25.c +++ b/spi25.c @@ -1,17 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2007, 2008, 2009, 2010 Carl-Daniel Hailfinger - * 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, 2010 Carl-Daniel Hailfinger + * SPDX-FileCopyrightText: 2008 coresystems GmbH */ /* diff --git a/spi25_statusreg.c b/spi25_statusreg.c index bf73488c2..3cfebc135 100644 --- a/spi25_statusreg.c +++ b/spi25_statusreg.c @@ -2,19 +2,11 @@ * This file is part of the flashrom project. * It handles everything related to status registers of the JEDEC family 25. * - * Copyright (C) 2007, 2008, 2009, 2010 Carl-Daniel Hailfinger - * Copyright (C) 2008 coresystems GmbH - * Copyright (C) 2008 Ronald Hoogenboom - * Copyright (C) 2012 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: 2007, 2008, 2009, 2010 Carl-Daniel Hailfinger + * SPDX-FileCopyrightText: 2008 coresystems GmbH + * SPDX-FileCopyrightText: 2008 Ronald Hoogenboom + * SPDX-FileCopyrightText: 2012 Stefan Tauner */ #include diff --git a/spi95.c b/spi95.c index d1f0ba130..d55488e74 100644 --- a/spi95.c +++ b/spi95.c @@ -1,17 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2019 Konstantin Grudnev - * Copyright (C) 2019 Nikolay Nikolaev - * - * 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 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 Konstantin Grudnev + * SPDX-FileCopyrightText: 2019 Nikolay Nikolaev */ /* diff --git a/sst28sf040.c b/sst28sf040.c index b2cb5feb5..a9ac48ace 100644 --- a/sst28sf040.c +++ b/sst28sf040.c @@ -1,19 +1,10 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2000 Silicon Integrated System Corporation - * Copyright (C) 2005 coresystems GmbH - * Copyright (C) 2009 Sean Nelson - * - * 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: 2005 coresystems GmbH + * SPDX-FileCopyrightText: 2009 Sean Nelson */ #include "flash.h" diff --git a/sst49lfxxxc.c b/sst49lfxxxc.c index c7b1512c9..e0d85c193 100644 --- a/sst49lfxxxc.c +++ b/sst49lfxxxc.c @@ -1,19 +1,10 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2000 Silicon Integrated System Corporation - * Copyright (C) 2005-2007 coresystems GmbH - * Copyright (C) 2009 Sean Nelson - * - * 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: 2005-2007 coresystems GmbH + * SPDX-FileCopyrightText: 2009 Sean Nelson */ #include "flash.h" diff --git a/sst_fwhub.c b/sst_fwhub.c index 56e79555e..6f15ffbc0 100644 --- a/sst_fwhub.c +++ b/sst_fwhub.c @@ -1,19 +1,10 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2000 Silicon Integrated System Corporation - * Copyright (C) 2009 Kontron Modular Computers - * Copyright (C) 2009 Sean Nelson - * - * 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: 2009 Kontron Modular Computers + * SPDX-FileCopyrightText: 2009 Sean Nelson */ /* Adapted from the Intel FW hub stuff for 82802ax parts. */ diff --git a/stm50.c b/stm50.c index 25c3c2cb0..1534b90f8 100644 --- a/stm50.c +++ b/stm50.c @@ -1,19 +1,10 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2008 Claus Gindhart - * Copyright (C) 2009 Sean Nelson - * 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 Claus Gindhart + * SPDX-FileCopyrightText: 2009 Sean Nelson + * SPDX-FileCopyrightText: 2013 Stefan Tauner */ /* diff --git a/w29ee011.c b/w29ee011.c index 23330247c..40d12749d 100644 --- a/w29ee011.c +++ b/w29ee011.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2007 Markus Boas - * - * 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: 2007 Markus Boas */ #include diff --git a/w39.c b/w39.c index 250d6bd63..2c124bd76 100644 --- a/w39.c +++ b/w39.c @@ -1,18 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2008 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; 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 coresystems GmbH + * SPDX-FileCopyrightText: 2010 Carl-Daniel Hailfinger */ #include "flash.h" diff --git a/writeprotect.c b/writeprotect.c index 7420e398b..59d3a3070 100644 --- a/writeprotect.c +++ b/writeprotect.c @@ -1,18 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2010 Google 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; 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 Google Inc. */ #include diff --git a/writeprotect_ranges.c b/writeprotect_ranges.c index 45678f22a..5b5e0450d 100644 --- a/writeprotect_ranges.c +++ b/writeprotect_ranges.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright 2021 Google LLC - * - * 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 Google LLC */ #include "writeprotect.h"