aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2019-07-30 18:52:43 +1000
committerOliver O'Halloran <oohall@gmail.com>2019-08-02 15:25:33 +1000
commit0e1db80c70477d89a73c7f2a1a7e19c7d8292c5f (patch)
treeb5471ec49e8e77c2e2196675117f6bb9300c781c
parent73ded8c7914faf98fd7fb02cca958e61b8cc0563 (diff)
downloadskiboot-0e1db80c70477d89a73c7f2a1a7e19c7d8292c5f.zip
skiboot-0e1db80c70477d89a73c7f2a1a7e19c7d8292c5f.tar.gz
skiboot-0e1db80c70477d89a73c7f2a1a7e19c7d8292c5f.tar.bz2
SPDX fixups and Copyright date fixes
Ensure the (C) who and years are correct, based on git history. Also a few SPDX fixups Signed-off-by: Stewart Smith <stewart@linux.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
-rw-r--r--Makefile5
-rw-r--r--Makefile.rules2
-rw-r--r--core/Makefile.inc2
-rw-r--r--core/test/run-api-test.c2
-rw-r--r--core/test/run-buddy.c1
-rw-r--r--core/test/run-console-log-buf-overrun.c2
-rw-r--r--core/test/run-console-log-pr_fmt.c2
-rw-r--r--core/test/run-console-log.c2
-rw-r--r--core/test/run-device.c2
-rw-r--r--core/test/run-flash-firmware-versions.c2
-rw-r--r--core/test/run-malloc-speed.c2
-rw-r--r--core/test/run-malloc.c2
-rw-r--r--core/test/run-mem_range_is_reserved.c2
-rw-r--r--core/test/run-mem_region.c2
-rw-r--r--core/test/run-mem_region_init.c2
-rw-r--r--core/test/run-mem_region_next.c2
-rw-r--r--core/test/run-mem_region_release_unused.c2
-rw-r--r--core/test/run-mem_region_release_unused_noalloc.c2
-rw-r--r--core/test/run-mem_region_reservations.c2
-rw-r--r--core/test/run-msg.c1
-rw-r--r--core/test/run-nvram-format.c2
-rw-r--r--core/test/run-pci-quirk.c5
-rw-r--r--core/test/run-pel.c4
-rw-r--r--core/test/run-pool.c5
-rw-r--r--core/test/run-time-utils.c2
-rw-r--r--core/test/run-timebase.c2
-rw-r--r--core/test/run-timer.c5
-rw-r--r--core/test/run-trace.c2
-rw-r--r--core/test/stubs.c3
-rwxr-xr-xmake_offsets.sh2
30 files changed, 52 insertions, 21 deletions
diff --git a/Makefile b/Makefile
index fbd83bc..f938a06 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,10 @@
+# SPDX-License-Identifier: Apache-2.0
+# Copyright 2012-2019 IBM Corp
+
+#
# If you want to build in another directory copy this file there and
# fill in the following values
+#
#
# Prefix of cross toolchain, if anything
diff --git a/Makefile.rules b/Makefile.rules
index 11b0e5e..3d9d1b1 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -1,6 +1,8 @@
+# SPDX-License-Identifier: Apache-2.0
#
# These allow for the build to be less verbose
#
+# Copyright 2012-2019 IBM Corp
ifdef V
VERBOSE:= $(V)
diff --git a/core/Makefile.inc b/core/Makefile.inc
index 64aa43c..f8bfa7d 100644
--- a/core/Makefile.inc
+++ b/core/Makefile.inc
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0
+# Copyright 2012-2019 IBM Corp
# -*-Makefile-*-
SUBDIRS += core
diff --git a/core/test/run-api-test.c b/core/test/run-api-test.c
index 1029c7d..0c3472b 100644
--- a/core/test/run-api-test.c
+++ b/core/test/run-api-test.c
@@ -4,6 +4,8 @@
*
* For now it just validates that addresses passed are sane and test the
* wrapper that validates addresses
+ *
+ * Copyright 2016 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-buddy.c b/core/test/run-buddy.c
index 6f7957d..83a4661 100644
--- a/core/test/run-buddy.c
+++ b/core/test/run-buddy.c
@@ -2,6 +2,7 @@
/*
* Copyright 2016-2017 IBM Corp.
*/
+
#include <buddy.h>
#include <assert.h>
#include <stdlib.h>
diff --git a/core/test/run-console-log-buf-overrun.c b/core/test/run-console-log-buf-overrun.c
index 05cc414..45679f2 100644
--- a/core/test/run-console-log-buf-overrun.c
+++ b/core/test/run-console-log-buf-overrun.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2014-2015 IBM Corp.
+ * Copyright 2015-2016 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-console-log-pr_fmt.c b/core/test/run-console-log-pr_fmt.c
index ba15fd3..a25dafd 100644
--- a/core/test/run-console-log-pr_fmt.c
+++ b/core/test/run-console-log-pr_fmt.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2015-2016 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-console-log.c b/core/test/run-console-log.c
index 71c1d6a..589b8b6 100644
--- a/core/test/run-console-log.c
+++ b/core/test/run-console-log.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2014-2016 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-device.c b/core/test/run-device.c
index ca160bc..03d3d54 100644
--- a/core/test/run-device.c
+++ b/core/test/run-device.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2012-2018 IBM Corp.
*/
#include <skiboot.h>
diff --git a/core/test/run-flash-firmware-versions.c b/core/test/run-flash-firmware-versions.c
index 33baf4d..4b8a4da 100644
--- a/core/test/run-flash-firmware-versions.c
+++ b/core/test/run-flash-firmware-versions.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2018 IBM Corp.
+ * Copyright 2018-2019 IBM Corp.
*/
#include <stdlib.h>
diff --git a/core/test/run-malloc-speed.c b/core/test/run-malloc-speed.c
index bafd5af..400778a 100644
--- a/core/test/run-malloc-speed.c
+++ b/core/test/run-malloc-speed.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2015 IBM Corp.
+ * Copyright 2013-2018 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-malloc.c b/core/test/run-malloc.c
index 7e7bfcd..00ea410 100644
--- a/core/test/run-malloc.c
+++ b/core/test/run-malloc.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2013-2018 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-mem_range_is_reserved.c b/core/test/run-mem_range_is_reserved.c
index ea276b7..f34c4ec 100644
--- a/core/test/run-mem_range_is_reserved.c
+++ b/core/test/run-mem_range_is_reserved.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2015 IBM Corp.
+ * Copyright 2015-2019 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-mem_region.c b/core/test/run-mem_region.c
index fea256e..038ce27 100644
--- a/core/test/run-mem_region.c
+++ b/core/test/run-mem_region.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2013-2019 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-mem_region_init.c b/core/test/run-mem_region_init.c
index 4f849fe..beff3c2 100644
--- a/core/test/run-mem_region_init.c
+++ b/core/test/run-mem_region_init.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2013-2018 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-mem_region_next.c b/core/test/run-mem_region_next.c
index 9f1180b..b14e41d 100644
--- a/core/test/run-mem_region_next.c
+++ b/core/test/run-mem_region_next.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2015 IBM Corp.
+ * Copyright 2015-2018 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-mem_region_release_unused.c b/core/test/run-mem_region_release_unused.c
index e5811ef..f22cf19 100644
--- a/core/test/run-mem_region_release_unused.c
+++ b/core/test/run-mem_region_release_unused.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2013-2018 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-mem_region_release_unused_noalloc.c b/core/test/run-mem_region_release_unused_noalloc.c
index 99b2ff5..aa8c23a 100644
--- a/core/test/run-mem_region_release_unused_noalloc.c
+++ b/core/test/run-mem_region_release_unused_noalloc.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2013-2018 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-mem_region_reservations.c b/core/test/run-mem_region_reservations.c
index 3a8a645..daf1083 100644
--- a/core/test/run-mem_region_reservations.c
+++ b/core/test/run-mem_region_reservations.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2015 IBM Corp.
+ * Copyright 2013-2018 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-msg.c b/core/test/run-msg.c
index 8b79f17..7314ea6 100644
--- a/core/test/run-msg.c
+++ b/core/test/run-msg.c
@@ -2,6 +2,7 @@
/*
* Copyright 2013-2019 IBM Corp.
*/
+
#include <inttypes.h>
#include <stdbool.h>
#include <stddef.h>
diff --git a/core/test/run-nvram-format.c b/core/test/run-nvram-format.c
index d421880..8f2e33a 100644
--- a/core/test/run-nvram-format.c
+++ b/core/test/run-nvram-format.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2013-2019 IBM Corp.
*/
#include <stdlib.h>
diff --git a/core/test/run-pci-quirk.c b/core/test/run-pci-quirk.c
index bd5cacb..95a1aa7 100644
--- a/core/test/run-pci-quirk.c
+++ b/core/test/run-pci-quirk.c
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: Apache-2.0
+/*
+ * Copyright 2018 IBM Corp
+ */
+
#include <assert.h>
#include <stdint.h>
#include <compiler.h>
diff --git a/core/test/run-pel.c b/core/test/run-pel.c
index 72b4c32..9221594 100644
--- a/core/test/run-pel.c
+++ b/core/test/run-pel.c
@@ -1,11 +1,11 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
- *
* Test for our PEL record generation. Currently this doesn't actually
* test that the records we generate are correct, but it at least lets
* us run valgrind over the generation routines to check for buffer
* overflows, etc.
+ *
+ * Copyright 2013-2016 IBM Corp.
*/
#include <skiboot.h>
diff --git a/core/test/run-pool.c b/core/test/run-pool.c
index 1f81161..929f5ab 100644
--- a/core/test/run-pool.c
+++ b/core/test/run-pool.c
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: Apache-2.0
+/*
+ * Copyright 2014 IBM Corp
+ */
+
#include <pool.h>
#include "../pool.c"
diff --git a/core/test/run-time-utils.c b/core/test/run-time-utils.c
index 26b8a38..1b64e5a 100644
--- a/core/test/run-time-utils.c
+++ b/core/test/run-time-utils.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2015 IBM Corp.
+ * Copyright 2015-2017 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-timebase.c b/core/test/run-timebase.c
index 2771db3..264ebdf 100644
--- a/core/test/run-timebase.c
+++ b/core/test/run-timebase.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2015 IBM Corp.
+ * Copyright 2015-2016 IBM Corp.
*/
#include <stdint.h>
diff --git a/core/test/run-timer.c b/core/test/run-timer.c
index 159e007..415188c 100644
--- a/core/test/run-timer.c
+++ b/core/test/run-timer.c
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: Apache-2.0
+/*
+ * Copyright 2014-2018 IBM Corp
+ */
+
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/core/test/run-trace.c b/core/test/run-trace.c
index 7350ee5..ce0f47e 100644
--- a/core/test/run-trace.c
+++ b/core/test/run-trace.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2013-2019 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/stubs.c b/core/test/stubs.c
index 24836c4..38e3d51 100644
--- a/core/test/stubs.c
+++ b/core/test/stubs.c
@@ -1,7 +1,8 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2013-2019 IBM Corp
*/
+
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
diff --git a/make_offsets.sh b/make_offsets.sh
index 0c480be..0ce3473 100755
--- a/make_offsets.sh
+++ b/make_offsets.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: Apache-2.0
+# Copyright 2012-2019 IBM Corp
cat <<EOF
#ifndef ASM_OFFSETS_H