summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-11-22 09:47:12 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-11-25 08:43:34 +0100
commitf57af3348d2a80b92bae9ab4b882a8e0e2c87002 (patch)
tree0b6fcf1598d2ed65f1bb783fe724ca58465daa85
parent9b50264922523f70533de06f6238ac30030acb4c (diff)
downloadbarebox-f57af3348d2a80b92bae9ab4b882a8e0e2c87002.tar.gz
barebox-f57af3348d2a80b92bae9ab4b882a8e0e2c87002.tar.xz
efi: use SPDX-License-Identifier where appropriate
Couple of files lack an explicit embedded license or contain boilerplate. Replace with the appropriate SPDX-License-Identifier. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20211122084732.2597109-11-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--common/efi/devicepath.c2
-rw-r--r--common/efi/guid.c2
-rw-r--r--common/efi/payload/image.c11
-rw-r--r--common/efi/payload/init.c11
-rw-r--r--include/efi/debug_ll.h1
-rw-r--r--include/efi/efi-device.h1
-rw-r--r--include/efi/efi.h1
7 files changed, 9 insertions, 20 deletions
diff --git a/common/efi/devicepath.c b/common/efi/devicepath.c
index f17b9294cc..6341ca005b 100644
--- a/common/efi/devicepath.c
+++ b/common/efi/devicepath.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
#include <common.h>
#include <efi.h>
#include <malloc.h>
diff --git a/common/efi/guid.c b/common/efi/guid.c
index fbe96ecd04..f1a918f91e 100644
--- a/common/efi/guid.c
+++ b/common/efi/guid.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
#include <common.h>
#include <efi.h>
diff --git a/common/efi/payload/image.c b/common/efi/payload/image.c
index 3c55a457ea..53b444eef6 100644
--- a/common/efi/payload/image.c
+++ b/common/efi/payload/image.c
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
/*
* image.c - barebox EFI payload support
*
* Copyright (c) 2014 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
*/
#include <clock.h>
diff --git a/common/efi/payload/init.c b/common/efi/payload/init.c
index 88d0bfa939..0e672a6b56 100644
--- a/common/efi/payload/init.c
+++ b/common/efi/payload/init.c
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
/*
* init.c - barebox EFI payload support
*
* Copyright (c) 2014 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
*/
#include <linux/linkage.h>
diff --git a/include/efi/debug_ll.h b/include/efi/debug_ll.h
index 4ca72de312..905f1c43cd 100644
--- a/include/efi/debug_ll.h
+++ b/include/efi/debug_ll.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __MACH_DEBUG_LL_H__
#define __MACH_DEBUG_LL_H__
diff --git a/include/efi/efi-device.h b/include/efi/efi-device.h
index 5ec59a8a2d..cd8a374c32 100644
--- a/include/efi/efi-device.h
+++ b/include/efi/efi-device.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __EFI_EFI_DEVICE_H
#define __EFI_EFI_DEVICE_H
diff --git a/include/efi/efi.h b/include/efi/efi.h
index 648afb9ec5..c7679b4b8f 100644
--- a/include/efi/efi.h
+++ b/include/efi/efi.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __MACH_EFI_H
#define __MACH_EFI_H