aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2019-07-26 16:42:26 +1000
committerOliver O'Halloran <oohall@gmail.com>2019-07-30 14:13:24 +1000
commit0f9371da9a45343485ac41009f2669754ce31e76 (patch)
treecfeca304617f9e12490fe8d8ba8684326d9799ac
parentba10ce128c758566347d89f05e835dc7fa923393 (diff)
downloadskiboot-0f9371da9a45343485ac41009f2669754ce31e76.zip
skiboot-0f9371da9a45343485ac41009f2669754ce31e76.tar.gz
skiboot-0f9371da9a45343485ac41009f2669754ce31e76.tar.bz2
hw: Put SPDX on new files
Convert the npu3 files to use SPDX headers. Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
-rw-r--r--hw/cache-p9.c17
-rw-r--r--hw/npu-opal.c17
-rw-r--r--hw/npu3-hw-procedures.c17
-rw-r--r--hw/npu3-nvlink.c17
-rw-r--r--hw/npu3.c17
-rw-r--r--platforms/astbmc/swift.c17
6 files changed, 18 insertions, 84 deletions
diff --git a/hw/cache-p9.c b/hw/cache-p9.c
index ea6f00b..29640cf 100644
--- a/hw/cache-p9.c
+++ b/hw/cache-p9.c
@@ -1,17 +1,6 @@
-/* Copyright 2019 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 2019 IBM Corp.
*/
#include <skiboot.h>
diff --git a/hw/npu-opal.c b/hw/npu-opal.c
index 208ec51..91ecfc2 100644
--- a/hw/npu-opal.c
+++ b/hw/npu-opal.c
@@ -1,17 +1,6 @@
-/* Copyright 2019 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 2019 IBM Corp.
*/
#include <skiboot.h>
diff --git a/hw/npu3-hw-procedures.c b/hw/npu3-hw-procedures.c
index eb74496..54f4b35 100644
--- a/hw/npu3-hw-procedures.c
+++ b/hw/npu3-hw-procedures.c
@@ -1,17 +1,6 @@
-/* Copyright 2019 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 2019 IBM Corp.
*/
#include <skiboot.h>
diff --git a/hw/npu3-nvlink.c b/hw/npu3-nvlink.c
index edc4aaa..7e7a10e 100644
--- a/hw/npu3-nvlink.c
+++ b/hw/npu3-nvlink.c
@@ -1,17 +1,6 @@
-/* Copyright 2019 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 2019 IBM Corp.
*/
#include <skiboot.h>
diff --git a/hw/npu3.c b/hw/npu3.c
index 22ccef2..e49e9be 100644
--- a/hw/npu3.c
+++ b/hw/npu3.c
@@ -1,17 +1,6 @@
-/* Copyright 2019 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 2019 IBM Corp.
*/
#include <io.h>
diff --git a/platforms/astbmc/swift.c b/platforms/astbmc/swift.c
index 502fc7e..ca612c3 100644
--- a/platforms/astbmc/swift.c
+++ b/platforms/astbmc/swift.c
@@ -1,17 +1,6 @@
-/* Copyright 2019 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 2019 IBM Corp.
*/
#include <skiboot.h>