summaryrefslogtreecommitdiffstats
path: root/arch/mips
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/mips
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/mips')
-rw-r--r--arch/mips/boards/netgear-wg102/ram.c2
-rw-r--r--arch/mips/lib/asm-offsets.c2
-rw-r--r--arch/mips/lib/bootm.c2
-rw-r--r--arch/mips/lib/sections.c2
-rw-r--r--arch/mips/lib/shutdown.c2
-rw-r--r--arch/mips/lib/traps.c2
-rw-r--r--arch/mips/mach-malta/pci.c2
7 files changed, 14 insertions, 0 deletions
diff --git a/arch/mips/boards/netgear-wg102/ram.c b/arch/mips/boards/netgear-wg102/ram.c
index 4cde573982..fe9c881623 100644
--- a/arch/mips/boards/netgear-wg102/ram.c
+++ b/arch/mips/boards/netgear-wg102/ram.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
#include <common.h>
#include <init.h>
#include <linux/sizes.h>
diff --git a/arch/mips/lib/asm-offsets.c b/arch/mips/lib/asm-offsets.c
index 457bc8ab7c..227d8cf54e 100644
--- a/arch/mips/lib/asm-offsets.c
+++ b/arch/mips/lib/asm-offsets.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
/*
* offset.c: Calculate pt_regs and task_struct offsets.
*
diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c
index b71b8d5c38..655535737e 100644
--- a/arch/mips/lib/bootm.c
+++ b/arch/mips/lib/bootm.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
#include <boot.h>
#include <bootm.h>
#include <common.h>
diff --git a/arch/mips/lib/sections.c b/arch/mips/lib/sections.c
index 66d559f94a..46fca5ca79 100644
--- a/arch/mips/lib/sections.c
+++ b/arch/mips/lib/sections.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
#include <common.h>
#include <asm/sections.h>
#include <linux/types.h>
diff --git a/arch/mips/lib/shutdown.c b/arch/mips/lib/shutdown.c
index 973cd23c71..9f993ab7a9 100644
--- a/arch/mips/lib/shutdown.c
+++ b/arch/mips/lib/shutdown.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
/**
* This function is called by shutdown_barebox to get a clean
* memory/cache state.
diff --git a/arch/mips/lib/traps.c b/arch/mips/lib/traps.c
index 5fc32fe7e4..ff0a54af8e 100644
--- a/arch/mips/lib/traps.c
+++ b/arch/mips/lib/traps.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
#include <common.h>
#include <abort.h>
#include <asm/mipsregs.h>
diff --git a/arch/mips/mach-malta/pci.c b/arch/mips/mach-malta/pci.c
index 4561123d22..113b94fe23 100644
--- a/arch/mips/mach-malta/pci.c
+++ b/arch/mips/mach-malta/pci.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
#include <common.h>
#include <types.h>
#include <driver.h>