summaryrefslogtreecommitdiffstats
path: root/common/efi
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 /common/efi
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>
Diffstat (limited to 'common/efi')
-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
4 files changed, 6 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>