From e681de4286b1326711470d2fa2b994b625822dd2 Mon Sep 17 00:00:00 2001 From: Anastasia Klimchuk Date: Sat, 4 Oct 2025 22:16:55 +1000 Subject: [PATCH] bindings/rust: Use SPDX in headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I795a23ef228062c5d876dc1824aa473cbbbf0698 Signed-off-by: Anastasia Klimchuk Reviewed-on: https://review.coreboot.org/c/flashrom/+/89419 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer Reviewed-by: Antonio Vázquez Blanco --- bindings/rust/libflashrom/src/lib.rs | 13 ++----------- bindings/rust/libflashrom/src/log.c | 13 ++----------- 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a/bindings/rust/libflashrom/src/lib.rs b/bindings/rust/libflashrom/src/lib.rs index c3d4ebdcc..6a192392c 100644 --- a/bindings/rust/libflashrom/src/lib.rs +++ b/bindings/rust/libflashrom/src/lib.rs @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2022 The Chromium OS Authors - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * SPDX-License-Identifier: GPL-2.0-or-later + * SPDX-FileCopyrightText: 2022 The Chromium OS Authors */ //! # libflashrom diff --git a/bindings/rust/libflashrom/src/log.c b/bindings/rust/libflashrom/src/log.c index 6ca3ad155..fc2fbb91b 100644 --- a/bindings/rust/libflashrom/src/log.c +++ b/bindings/rust/libflashrom/src/log.c @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2022 The Chromium OS Authors - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * SPDX-License-Identifier: GPL-2.0-or-later + * SPDX-FileCopyrightText: 2022 The Chromium OS Authors */ #include