summaryrefslogtreecommitdiffstats
path: root/arch/sandbox
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-01-03 13:05:38 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2022-01-05 08:58:44 +0100
commitb6293058f50c12231940c9fe72971e66bb106023 (patch)
tree06b8a10e9aa0bf06e17633ca5a2b462cef7ebca5 /arch/sandbox
parent0dde3f95d07d757d9bc934bcd0bcbf8b894fca0a (diff)
downloadbarebox-b6293058f50c12231940c9fe72971e66bb106023.tar.gz
barebox-b6293058f50c12231940c9fe72971e66bb106023.tar.xz
arch: add SPDX-License-Identifier to all .c files
Record GPL-2.0-only as license for all files lacking an explicit license statement. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220103120539.1730644-11-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/board/dev-random.c2
-rw-r--r--arch/sandbox/board/power.c2
-rw-r--r--arch/sandbox/lib/asm-offsets.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/arch/sandbox/board/dev-random.c b/arch/sandbox/board/dev-random.c
index 60295e9fce..b62e8cc0d7 100644
--- a/arch/sandbox/board/dev-random.c
+++ b/arch/sandbox/board/dev-random.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
#include <common.h>
#include <mach/linux.h>
diff --git a/arch/sandbox/board/power.c b/arch/sandbox/board/power.c
index aa778792c1..009b410eaa 100644
--- a/arch/sandbox/board/power.c
+++ b/arch/sandbox/board/power.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
#include <common.h>
#include <driver.h>
#include <poweroff.h>
diff --git a/arch/sandbox/lib/asm-offsets.c b/arch/sandbox/lib/asm-offsets.c
index 22f382b71e..21aab692d0 100644
--- a/arch/sandbox/lib/asm-offsets.c
+++ b/arch/sandbox/lib/asm-offsets.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
/*
* Generate definitions needed by assembly language modules.
* This code generates raw asm output which is post-processed to extract