summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/virt2real
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2020-05-19 18:37:33 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-05-25 07:53:01 +0200
commitab749d9c7e61004e884bb74b6beaca641acd2ab7 (patch)
tree03e023ce1e3246a8421df5c497bca62926077d13 /arch/arm/boards/virt2real
parente6ea7c583377e7de1816f1275de3070891254d5e (diff)
downloadbarebox-ab749d9c7e61004e884bb74b6beaca641acd2ab7.tar.gz
barebox-ab749d9c7e61004e884bb74b6beaca641acd2ab7.tar.xz
arch/arm/boards: Replace license and copyright boilerplate by SPDX identfiers
This adapts all files that were identifed by licensecheck (https://salsa.debian.org/build-common-team/licensecheck.git) as licensed under the GPL. The advantage is that these specifiers are machine-parseable which helps license conformance, e.g. for packaging barebox in Debian. While touching these files also do some minor comment reformatting to get some uniform layout. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/virt2real')
-rw-r--r--arch/arm/boards/virt2real/board.c19
-rw-r--r--arch/arm/boards/virt2real/lowlevel.c19
2 files changed, 8 insertions, 30 deletions
diff --git a/arch/arm/boards/virt2real/board.c b/arch/arm/boards/virt2real/board.c
index 451cbf29ff..caa2b53a68 100644
--- a/arch/arm/boards/virt2real/board.c
+++ b/arch/arm/boards/virt2real/board.c
@@ -1,18 +1,7 @@
-/*
- * Copyright (C) 2014 Antony Pavlov <antonynpavlov@gmail.com>
- *
- * This file is part of barebox.
- *
- * 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 WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- */
+// SPDX-License-Identifier: GPL-2.0-only
+// SPDX-FileCopyrightText: 2014 Antony Pavlov <antonynpavlov@gmail.com>
+
+/* This file is part of barebox. */
#include <common.h>
#include <init.h>
diff --git a/arch/arm/boards/virt2real/lowlevel.c b/arch/arm/boards/virt2real/lowlevel.c
index bbde5d8cd7..d14907b768 100644
--- a/arch/arm/boards/virt2real/lowlevel.c
+++ b/arch/arm/boards/virt2real/lowlevel.c
@@ -1,18 +1,7 @@
-/*
- * Copyright (C) 2014 Antony Pavlov <antonynpavlov@gmail.com>
- *
- * This file is part of barebox.
- *
- * 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 WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- */
+// SPDX-License-Identifier: GPL-2.0-only
+// SPDX-FileCopyrightText: 2014 Antony Pavlov <antonynpavlov@gmail.com>
+
+/* This file is part of barebox. */
#define __LOWLEVEL_INIT__