diff --git a/tests/ch341a_spi.c b/tests/ch341a_spi.c index 13fa1a2f8..3565eac25 100644 --- a/tests/ch341a_spi.c +++ b/tests/ch341a_spi.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright 2022 Alexander Goncharov - * - * 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: 2022 Alexander Goncharov */ #include diff --git a/tests/chip.c b/tests/chip.c index be82dbefe..adda48a86 100644 --- a/tests/chip.c +++ b/tests/chip.c @@ -1,16 +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; 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: 2021 Google LLC * * This file contains tests for operations on flash chip. * diff --git a/tests/chip_wp.c b/tests/chip_wp.c index 4f0162d33..d735b0cfd 100644 --- a/tests/chip_wp.c +++ b/tests/chip_wp.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2021 3mdeb Embedded Systems Consulting - * - * 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 3mdeb Embedded Systems Consulting */ #include diff --git a/tests/dediprog.c b/tests/dediprog.c index 26b1e7512..bc71a64e4 100644 --- a/tests/dediprog.c +++ b/tests/dediprog.c @@ -1,16 +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; 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: 2021 Google LLC */ #include "lifecycle.h" diff --git a/tests/dummyflasher.c b/tests/dummyflasher.c index 53f4ef9da..18a75a79e 100644 --- a/tests/dummyflasher.c +++ b/tests/dummyflasher.c @@ -1,16 +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; 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: 2021 Google LLC */ #include "lifecycle.h" diff --git a/tests/erase_func_algo.c b/tests/erase_func_algo.c index 595072f9e..f75fb9fd0 100644 --- a/tests/erase_func_algo.c +++ b/tests/erase_func_algo.c @@ -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 */ #include diff --git a/tests/flashrom.c b/tests/flashrom.c index 52cc9c85a..8601d0120 100644 --- a/tests/flashrom.c +++ b/tests/flashrom.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright 2020 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; 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: 2020 Google LLC */ #include diff --git a/tests/helpers.c b/tests/helpers.c index 95a161994..3719fa0df 100644 --- a/tests/helpers.c +++ b/tests/helpers.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright 2020 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; 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: 2020 Google LLC */ #include diff --git a/tests/include/test.h b/tests/include/test.h index ef0b9a6f6..0ca4665d5 100644 --- a/tests/include/test.h +++ b/tests/include/test.h @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright 2020 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; 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: 2020 Google LLC */ #ifndef _TESTS_TEST_H diff --git a/tests/io_mock.c b/tests/io_mock.c index 4828e53ca..d4b3d3afa 100644 --- a/tests/io_mock.c +++ b/tests/io_mock.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2021, Google Inc. All rights reserved. - * - * 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 Inc. All rights reserved. */ #include "io_mock.h" diff --git a/tests/io_mock.h b/tests/io_mock.h index d250f38cb..efcc199b3 100644 --- a/tests/io_mock.h +++ b/tests/io_mock.h @@ -1,31 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (c) 2021 Nico Huber - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. 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. - * 3. Neither the name of the author 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 AUTHOR 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 AUTHOR 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. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2021 Nico Huber */ #ifndef _IO_MOCK_H_ diff --git a/tests/io_real.c b/tests/io_real.c index 429027fb5..4c4a70e41 100644 --- a/tests/io_real.c +++ b/tests/io_real.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright 2022 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; 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: 2022 Google LLC */ #include "io_mock.h" diff --git a/tests/io_real.h b/tests/io_real.h index f2491c3ab..c8a22f192 100644 --- a/tests/io_real.h +++ b/tests/io_real.h @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright 2022 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; 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: 2022 Google LLC */ #ifndef IO_REAL_H diff --git a/tests/layout.c b/tests/layout.c index 917d77e24..65be1f72d 100644 --- a/tests/layout.c +++ b/tests/layout.c @@ -1,16 +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; 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: 2021 Google LLC */ #include diff --git a/tests/libflashrom.c b/tests/libflashrom.c index 764a839ca..668e74fdb 100644 --- a/tests/libflashrom.c +++ b/tests/libflashrom.c @@ -1,17 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright 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; 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: 2025 Dmitry Zhadinets + * SPDX-FileCopyrightText: 2025 Google LLC */ #include diff --git a/tests/libusb_wraps.c b/tests/libusb_wraps.c index be990a12c..d0613b3d7 100644 --- a/tests/libusb_wraps.c +++ b/tests/libusb_wraps.c @@ -1,16 +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; 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: 2021 Google LLC */ #include diff --git a/tests/libusb_wraps.h b/tests/libusb_wraps.h index 8c3aa40a1..dbf77b11f 100644 --- a/tests/libusb_wraps.h +++ b/tests/libusb_wraps.h @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright 2022 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; 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: 2022 Google LLC */ #ifndef LIBUSB_WRAPS_H diff --git a/tests/lifecycle.c b/tests/lifecycle.c index 555be78be..c39e8e0db 100644 --- a/tests/lifecycle.c +++ b/tests/lifecycle.c @@ -1,16 +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; 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: 2021 Google LLC */ #include "lifecycle.h" diff --git a/tests/lifecycle.h b/tests/lifecycle.h index d0ba179cf..a07dd0ef9 100644 --- a/tests/lifecycle.h +++ b/tests/lifecycle.h @@ -1,16 +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; 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: 2021 Google LLC */ #ifndef __LIFECYCLE_H__ diff --git a/tests/linux_mtd.c b/tests/linux_mtd.c index bab6ee671..db13ad245 100644 --- a/tests/linux_mtd.c +++ b/tests/linux_mtd.c @@ -1,16 +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; 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: 2021 Google LLC */ #include diff --git a/tests/linux_spi.c b/tests/linux_spi.c index d2d141401..afc379930 100644 --- a/tests/linux_spi.c +++ b/tests/linux_spi.c @@ -1,16 +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; 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: 2021 Google LLC */ #include "lifecycle.h" diff --git a/tests/mediatek_i2c_spi.c b/tests/mediatek_i2c_spi.c index d2780bc96..4180b8868 100644 --- a/tests/mediatek_i2c_spi.c +++ b/tests/mediatek_i2c_spi.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright 2022 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; 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: 2022 Google LLC */ #include "lifecycle.h" diff --git a/tests/meson.build b/tests/meson.build index a49278d34..9de72a264 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -1,15 +1,7 @@ # This file is part of the flashrom project. # -# Copyright 2020 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; 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: 2020 Google LLC test_srcs = files( 'io_mock.c', diff --git a/tests/nicrealtek.c b/tests/nicrealtek.c index 2a7a9ffe1..2c01f0038 100644 --- a/tests/nicrealtek.c +++ b/tests/nicrealtek.c @@ -1,16 +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; 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: 2021 Google LLC */ #include "lifecycle.h" diff --git a/tests/parade_lspcon.c b/tests/parade_lspcon.c index 980e1280d..d9cff96d3 100644 --- a/tests/parade_lspcon.c +++ b/tests/parade_lspcon.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright 2022 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; 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: 2022 Google LLC */ #include "lifecycle.h" diff --git a/tests/raiden_debug_spi.c b/tests/raiden_debug_spi.c index 8ec0617dc..7c94dcda5 100644 --- a/tests/raiden_debug_spi.c +++ b/tests/raiden_debug_spi.c @@ -1,16 +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; 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: 2021 Google LLC */ #include diff --git a/tests/realtek_mst_i2c_spi.c b/tests/realtek_mst_i2c_spi.c index 753f06b91..74a7a55f9 100644 --- a/tests/realtek_mst_i2c_spi.c +++ b/tests/realtek_mst_i2c_spi.c @@ -1,16 +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; 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: 2021 Google LLC */ #include "lifecycle.h" diff --git a/tests/selfcheck.c b/tests/selfcheck.c index e235d8ef0..f216632c9 100644 --- a/tests/selfcheck.c +++ b/tests/selfcheck.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright 2022 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; 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: 2022 Google LLC */ #include "flash.h" diff --git a/tests/spi25.c b/tests/spi25.c index 0370312bb..41ac831f8 100644 --- a/tests/spi25.c +++ b/tests/spi25.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright 2020 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; 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: 2020 Google LLC */ #include diff --git a/tests/spidriver.c b/tests/spidriver.c index 4b5e9cc0f..73c10208c 100644 --- a/tests/spidriver.c +++ b/tests/spidriver.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * 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: 2025 Simon Arlott */ #include "lifecycle.h" diff --git a/tests/tests.c b/tests/tests.c index 063081e94..5d9839201 100644 --- a/tests/tests.c +++ b/tests/tests.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright 2020 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; 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: 2020 Google LLC */ #include diff --git a/tests/tests.h b/tests/tests.h index a2217d466..2bd34eb62 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright 2020 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; 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: 2020 Google LLC */ #ifndef TESTS_H diff --git a/tests/udelay.c b/tests/udelay.c index d583f58ac..84fa3e1e6 100644 --- a/tests/udelay.c +++ b/tests/udelay.c @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright 2024 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; 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 Google LLC */ #include #include diff --git a/tests/unittest_env.h b/tests/unittest_env.h index 9bd7509c9..11f623a12 100644 --- a/tests/unittest_env.h +++ b/tests/unittest_env.h @@ -1,16 +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; 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: 2021 Google LLC */ /* diff --git a/tests/usb_unittests.h b/tests/usb_unittests.h index c81e18147..97aa45712 100644 --- a/tests/usb_unittests.h +++ b/tests/usb_unittests.h @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright 2022 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; 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: 2022 Google LLC */ /* diff --git a/tests/wraps.h b/tests/wraps.h index bb4801a0d..3aa76e859 100644 --- a/tests/wraps.h +++ b/tests/wraps.h @@ -1,16 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright 2022 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; 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: 2022 Google LLC */ #ifndef WRAPS_H