aboutsummaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2019-07-18 12:30:00 +1000
committerOliver O'Halloran <oohall@gmail.com>2019-07-26 15:08:03 +1000
commit5ef3dd30a98796359c45cbeaf1ce7c381a9120e6 (patch)
tree473cf267823efb0710d892d54e264543d1ba8a1d /asm
parent53baedfd19436e8cc33151a0c17cb57863f7303a (diff)
downloadskiboot-5ef3dd30a98796359c45cbeaf1ce7c381a9120e6.zip
skiboot-5ef3dd30a98796359c45cbeaf1ce7c381a9120e6.tar.gz
skiboot-5ef3dd30a98796359c45cbeaf1ce7c381a9120e6.tar.bz2
SPDX-ify all skiboot code
Use Software Package Data Exchange (SPDX) to indicate license for each file that is unique to skiboot. At the same time, ensure the (C) who and years are correct. See https://spdx.org/ Signed-off-by: Stewart Smith <stewart@linux.ibm.com> [oliver: Added a few missing files] Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'asm')
-rw-r--r--asm/asm-offsets.c16
-rw-r--r--asm/cvc_entry.S1
-rw-r--r--asm/dummy_map.S1
-rw-r--r--asm/head.S17
-rw-r--r--asm/kernel-wrapper.S14
-rw-r--r--asm/misc.S17
-rw-r--r--asm/real_map.S18
7 files changed, 16 insertions, 68 deletions
diff --git a/asm/asm-offsets.c b/asm/asm-offsets.c
index 0aea93d..e458405 100644
--- a/asm/asm-offsets.c
+++ b/asm/asm-offsets.c
@@ -1,17 +1,5 @@
-/* Copyright 2013-2014 IBM Corp.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- * implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
+/* Copyright 2013-2019 IBM Corp.
*/
#include <stddef.h>
diff --git a/asm/cvc_entry.S b/asm/cvc_entry.S
index 069ed09..1296e88 100644
--- a/asm/cvc_entry.S
+++ b/asm/cvc_entry.S
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: Apache-2.0
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
diff --git a/asm/dummy_map.S b/asm/dummy_map.S
index 19a8d62..cb8f9df 100644
--- a/asm/dummy_map.S
+++ b/asm/dummy_map.S
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: Apache-2.0
.section ".sym_map","a"
.byte 0
diff --git a/asm/head.S b/asm/head.S
index 18a9c12..ff88a74 100644
--- a/asm/head.S
+++ b/asm/head.S
@@ -1,17 +1,8 @@
-/* Copyright 2013-2014 IBM Corp.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
+// SPDX-License-Identifier: Apache-2.0
+/*
+ * OPAL Entry points (and related code)
*
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- * implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Copyright 2013-2019 IBM Corp.
*/
#include <asm-utils.h>
diff --git a/asm/kernel-wrapper.S b/asm/kernel-wrapper.S
index 2ab4d67..27ff47c 100644
--- a/asm/kernel-wrapper.S
+++ b/asm/kernel-wrapper.S
@@ -1,17 +1,5 @@
+// SPDX-License-Identifier: Apache-2.0
/* Copyright 2013-2014 IBM Corp.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- * implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
*/
diff --git a/asm/misc.S b/asm/misc.S
index 223fd3d..647f60b 100644
--- a/asm/misc.S
+++ b/asm/misc.S
@@ -1,17 +1,8 @@
-/* Copyright 2013-2014 IBM Corp.
+// SPDX-License-Identifier: Apache-2.0
+/*
+ * Misc asm functions
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- * implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Copyright 2013-2014 IBM Corp.
*/
#include <asm-utils.h>
diff --git a/asm/real_map.S b/asm/real_map.S
index fbbf2cc..4dfb71a 100644
--- a/asm/real_map.S
+++ b/asm/real_map.S
@@ -1,20 +1,8 @@
-/* Copyright 2013-2014 IBM Corp.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- * implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
+/*
+ * Copyright 2013-2014 IBM Corp.
*/
-
.section ".sym_map","a"
.incbin "skiboot.tmp.map"