summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-05-07 07:51:34 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-05-08 15:21:37 +0000
commitd72155d507a9e4f47261e682de50f601c396cd6f (patch)
treecafed98943efc4a6031f85a93280e64c996bb662
parent3a7346c729f3da5ebd58dd55445a7729e891020b (diff)
downloadcoreboot-d72155d507a9e4f47261e682de50f601c396cd6f.tar.xz
{drivers,ec/kontron}: Replace GPLv2 long form headers with SPDX header
Change-Id: Ide6cfd6f79bd54f50d9fde37c55f2b0df702478a Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41135 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/drivers/intel/fsp2_0/header_util/fspupdvpd.spatch12
-rw-r--r--src/drivers/usb/ehci.h12
-rw-r--r--src/ec/kontron/kempld/kempld_i2c.c13
3 files changed, 5 insertions, 32 deletions
diff --git a/src/drivers/intel/fsp2_0/header_util/fspupdvpd.spatch b/src/drivers/intel/fsp2_0/header_util/fspupdvpd.spatch
index 502db14189..a9a02a254c 100644
--- a/src/drivers/intel/fsp2_0/header_util/fspupdvpd.spatch
+++ b/src/drivers/intel/fsp2_0/header_util/fspupdvpd.spatch
@@ -1,15 +1,5 @@
/* This file is part of the coreboot 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This semantic patch 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 */
/* Semantic patch for fspupdvpd_sanitize.sh. Please call the script directly. */
diff --git a/src/drivers/usb/ehci.h b/src/drivers/usb/ehci.h
index d2129016ce..2a83bd8f67 100644
--- a/src/drivers/usb/ehci.h
+++ b/src/drivers/usb/ehci.h
@@ -1,15 +1,5 @@
/* This file is part of the coreboot 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; 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 */
/* This came from the Linux kernel (include/linux/usb/ehci_def.h). */
diff --git a/src/ec/kontron/kempld/kempld_i2c.c b/src/ec/kontron/kempld/kempld_i2c.c
index 56283eacc4..e5f40e7e7f 100644
--- a/src/ec/kontron/kempld/kempld_i2c.c
+++ b/src/ec/kontron/kempld/kempld_i2c.c
@@ -1,18 +1,11 @@
+/* This file is part of the coreboot project. */
+/* SPDX-License-Identifier: GPL-2.0-only */
+
/*
* I2C bus driver for Kontron COM modules
*
* Based on the similar driver in Linux.
*/
-/*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License 2 as published
- * by the Free Software Foundation.
- *
- * 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 <stdint.h>
#include <console/console.h>