summaryrefslogtreecommitdiff
path: root/tests/device
diff options
context:
space:
mode:
authorJan Dabros <jsd@semihalf.com>2020-05-06 16:01:27 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-05-08 15:18:47 +0000
commitb0800d3e41c54ad813313e572be06a0dcd030921 (patch)
tree36b744ed6a9d6a48d8400d4ad919732daa4aaa6b /tests/device
parentd8bd3ff1979ee16b6f7bdaf9f515753ec1e59da6 (diff)
downloadcoreboot-b0800d3e41c54ad813313e572be06a0dcd030921.tar.xz
tests: Add proper license headers
Signed-off-by: Jan Dabros <jsd@semihalf.com> Change-Id: Id8ca7c53122632c674e6bf952046ea22c0408e55 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41088 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'tests/device')
-rw-r--r--tests/device/Makefile.inc14
-rw-r--r--tests/device/i2c-test.c14
2 files changed, 4 insertions, 24 deletions
diff --git a/tests/device/Makefile.inc b/tests/device/Makefile.inc
index f23e72fa32..2bd6bb6a21 100644
--- a/tests/device/Makefile.inc
+++ b/tests/device/Makefile.inc
@@ -1,15 +1,5 @@
-##
-## This file is part of the coreboot project.
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; version 2 of the License.
-##
-## 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
+# This file is part of the coreboot project.
tests-y += i2c-test
diff --git a/tests/device/i2c-test.c b/tests/device/i2c-test.c
index 16e4d0d1ed..c4fa812d44 100644
--- a/tests/device/i2c-test.c
+++ b/tests/device/i2c-test.c
@@ -1,15 +1,5 @@
-/*
- * This file is part of the coreboot project.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * 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 */
+/* This file is part of the coreboot project. */
#include <stdarg.h>
#include <stddef.h>