summaryrefslogtreecommitdiffstats
path: root/drivers/amba
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-10-30 19:56:32 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-11-01 11:29:53 +0100
commit28f4a6a4df76f0f1581d1fad86b4efbd6f2c9816 (patch)
tree86751dca3ab673ccb675e1572301b17ad9514807 /drivers/amba
parent2e18869590b665c232e995c4efe0d0bd1683f8c7 (diff)
downloadbarebox-28f4a6a4df76f0f1581d1fad86b4efbd6f2c9816.tar.gz
barebox-28f4a6a4df76f0f1581d1fad86b4efbd6f2c9816.tar.xz
drivers: add missing SPDX-License-Identifier
This adds the suitable SPDX-License-Identifier to all files in drivers/ that previously lacked one. To aid manual inspection, following heuristics can be used: * No changes outside of comments/whitespace: git show -U0 HEAD | rg -v '^(@@|diff|index)|[-+]([-+]|//|#|[\s/]\*)' * -or-later come in pairs: git show --inter-hunk-context=19 HEAD | \ perl -0777 -F'/^@/gm' -ne 'for (@F) { @m = /later/g; print if @m & 1 }' Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20211030175632.2276077-4-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/amba')
-rw-r--r--drivers/amba/Kconfig1
-rw-r--r--drivers/amba/Makefile1
-rw-r--r--drivers/amba/bus.c3
3 files changed, 3 insertions, 2 deletions
diff --git a/drivers/amba/Kconfig b/drivers/amba/Kconfig
index d1cba6a9b3..57f72e4e68 100644
--- a/drivers/amba/Kconfig
+++ b/drivers/amba/Kconfig
@@ -1,2 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
config ARM_AMBA
bool
diff --git a/drivers/amba/Makefile b/drivers/amba/Makefile
index a4a511b322..24e487624b 100644
--- a/drivers/amba/Makefile
+++ b/drivers/amba/Makefile
@@ -1,2 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
obj-y += bus.o
diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c
index a8cd16835d..aec66fd660 100644
--- a/drivers/amba/bus.c
+++ b/drivers/amba/bus.c
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2003 Deep Blue Solutions Ltd, All Rights Reserved.
* Copyright (c) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
- *
- * Under GPLv2.
*/
#include <common.h>
#include <driver.h>