From 3471cba18a1a9d15a19e0407dacee7e081afd0b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20V=C3=A1zquez?= Date: Mon, 29 Sep 2025 10:35:53 +0200 Subject: [PATCH] platform: Use SPDX in headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3322366ebfa7db1d1f1e0fe60c808efd839b2858 Signed-off-by: Antonio Vázquez Reviewed-on: https://review.coreboot.org/c/flashrom/+/89369 Tested-by: build bot (Jenkins) Reviewed-by: Anastasia Klimchuk Reviewed-by: Stefan Reinauer --- include/platform/pci.h | 14 ++------------ include/platform/swap.h | 15 +++------------ include/platform/udelay.h | 13 ++----------- platform/endian_big.c | 14 ++------------ platform/endian_little.c | 14 ++------------ platform/memaccess.c | 15 ++------------- platform/udelay.c | 17 ++++------------- platform/udelay_dos.c | 15 +++------------ 8 files changed, 20 insertions(+), 97 deletions(-) diff --git a/include/platform/pci.h b/include/platform/pci.h index 6abde5923..d10c405ec 100644 --- a/include/platform/pci.h +++ b/include/platform/pci.h @@ -1,18 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2022 secunet Security Networks AG - * (written by Thomas Heijligen */ #ifndef __PLATFORM_PCI_H__ diff --git a/include/platform/swap.h b/include/platform/swap.h index 12f310654..3a66fa0c3 100644 --- a/include/platform/swap.h +++ b/include/platform/swap.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 */ /* diff --git a/include/platform/udelay.h b/include/platform/udelay.h index 4fcf7922d..f51ddfcfc 100644 --- a/include/platform/udelay.h +++ b/include/platform/udelay.h @@ -1,17 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright 2025 Antonio Vázquez Blanco - * - * 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: 2025 Antonio Vázquez Blanco */ #ifndef __UDELAY_H__ diff --git a/platform/endian_big.c b/platform/endian_big.c index 456553409..44088cc37 100644 --- a/platform/endian_big.c +++ b/platform/endian_big.c @@ -1,18 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2022 secunet Security Networks AG - * (written by Thomas Heijligen */ #include "platform.h" diff --git a/platform/endian_little.c b/platform/endian_little.c index 690f3839f..c78e1728a 100644 --- a/platform/endian_little.c +++ b/platform/endian_little.c @@ -1,18 +1,8 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2022 secunet Security Networks AG - * (written by Thomas Heijligen */ #include "platform.h" diff --git a/platform/memaccess.c b/platform/memaccess.c index 836812123..4ec1993ed 100644 --- a/platform/memaccess.c +++ b/platform/memaccess.c @@ -1,18 +1,7 @@ /* * This file is part of the flashrom project. - * - * Copyright (C) 2016 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; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * SPDX-License-Identifier: GPL-2.0-or-later + * SPDX-FileCopyrightText: 2016 secunet Security Networks AG and Thomas Heijligen */ #include "platform.h" diff --git a/platform/udelay.c b/platform/udelay.c index 562df3c9c..f65f4ab6c 100644 --- a/platform/udelay.c +++ b/platform/udelay.c @@ -1,19 +1,10 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2000 Silicon Integrated System Corporation - * Copyright (C) 2009,2010 Carl-Daniel Hailfinger - * Copyright (C) 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; 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,2010 Carl-Daniel Hailfinger + * SPDX-FileCopyrightText: 2024 Google LLC */ #ifndef __LIBPAYLOAD__ diff --git a/platform/udelay_dos.c b/platform/udelay_dos.c index 596994e70..a5acd8535 100644 --- a/platform/udelay_dos.c +++ b/platform/udelay_dos.c @@ -1,18 +1,9 @@ /* * This file is part of the flashrom project. * - * Copyright (C) 2000 Silicon Integrated System Corporation - * 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; 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,2010 Carl-Daniel Hailfinger */ #include "platform/udelay.h"