summaryrefslogtreecommitdiff
path: root/util/uio_usbdebug
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2020-05-10 17:34:15 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-05-11 17:11:59 +0000
commit1afe286367857471482660583fd784d9b8a7211c (patch)
treefb28a4b30f1ec034f43daf90be2d1ab1c38e00ea /util/uio_usbdebug
parent4ca63687978905486d8de83e87a5f2bfb323a42c (diff)
util: Add SPDX header, replacing boiler plate where applicable
In a few cases a license was added: Stuff coming from Linux is "GPL-2.0" (not GPL-2.0-only!), build-release is by me and got the usual GPL-2.0-only treatment. uio_usbdebug and spkmodem had their licenses propagate to all their files. Change-Id: Ia5712bbaa417cb9e937834512351fcc0acfa16be Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41202 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/uio_usbdebug')
-rw-r--r--util/uio_usbdebug/Makefile2
-rw-r--r--util/uio_usbdebug/lib/cbmem.c1
-rw-r--r--util/uio_usbdebug/linux/Makefile1
-rw-r--r--util/uio_usbdebug/linux/uio_ehci_pci.c14
4 files changed, 6 insertions, 12 deletions
diff --git a/util/uio_usbdebug/Makefile b/util/uio_usbdebug/Makefile
index 74bc80e2e6..af1cc8e1ec 100644
--- a/util/uio_usbdebug/Makefile
+++ b/util/uio_usbdebug/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
include ../../.config
ARCHDIR-$(CONFIG_ARCH_ARMV7) := armv7
diff --git a/util/uio_usbdebug/lib/cbmem.c b/util/uio_usbdebug/lib/cbmem.c
index 6d87880acf..d20f3081d5 100644
--- a/util/uio_usbdebug/lib/cbmem.c
+++ b/util/uio_usbdebug/lib/cbmem.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#include <stdint.h>
#include <stddef.h>
diff --git a/util/uio_usbdebug/linux/Makefile b/util/uio_usbdebug/linux/Makefile
index fd60b4f7b8..d9415cf7ea 100644
--- a/util/uio_usbdebug/linux/Makefile
+++ b/util/uio_usbdebug/linux/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
obj-m := uio_ehci_pci.o
diff --git a/util/uio_usbdebug/linux/uio_ehci_pci.c b/util/uio_usbdebug/linux/uio_ehci_pci.c
index ffc7cfe7e6..db030ac59d 100644
--- a/util/uio_usbdebug/linux/uio_ehci_pci.c
+++ b/util/uio_usbdebug/linux/uio_ehci_pci.c
@@ -1,16 +1,6 @@
/* uio_ehci_pci - UIO driver for PCI EHCI devices */
-/*
- * This only implements MMIO access (no interrupts).
- *
- * 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.
- */
+/* This only implements MMIO access (no interrupts). */
+/* SPDX-License-Identifier: GPL-2.0-only */
#include <linux/device.h>
#include <linux/module.h>