From 5ef3dd30a98796359c45cbeaf1ce7c381a9120e6 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Thu, 18 Jul 2019 12:30:00 +1000 Subject: 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 [oliver: Added a few missing files] Signed-off-by: Oliver O'Halloran --- include/affinity.h | 20 +++----------------- include/asm-utils.h | 17 ++--------------- include/ast.h | 18 +++--------------- include/bitmap.h | 17 ++--------------- include/bitutils.h | 17 ++--------------- include/bt.h | 17 ++--------------- include/buddy.h | 19 ++++--------------- include/capp.h | 17 ++--------------- include/cec.h | 17 ++--------------- include/centaur.h | 17 ++--------------- include/chip.h | 17 ++--------------- include/chiptod.h | 22 +++++----------------- include/cmpxchg.h | 17 ++--------------- include/compiler.h | 17 ++--------------- include/config.h | 17 ++--------------- include/console.h | 17 ++--------------- include/cpu.h | 17 ++--------------- include/debug_descriptor.h | 17 ++--------------- include/device.h | 17 ++--------------- include/dio-p9.h | 18 ++---------------- include/direct-controls.h | 17 ++--------------- include/dts.h | 17 ++--------------- include/elf-abi.h | 17 ++--------------- include/elf.h | 17 ++--------------- include/errorlog.h | 17 ++--------------- include/fsi-master.h | 17 ++--------------- include/fsp-attn.h | 17 ++--------------- include/fsp-elog.h | 18 +++--------------- include/fsp-leds.h | 22 +++------------------- include/fsp-mdst-table.h | 18 ++---------------- include/fsp-sysparam.h | 18 +++--------------- include/fsp.h | 21 ++++----------------- include/hiomap.h | 17 ++--------------- include/hostservices.h | 17 ++--------------- include/i2c.h | 17 ++--------------- include/imc.h | 18 ++---------------- include/interrupts.h | 17 ++--------------- include/inttypes.h | 19 +++---------------- include/io.h | 17 ++--------------- include/ipmi.h | 17 ++--------------- include/lock.h | 17 ++--------------- include/lpc-mbox.h | 17 ++--------------- include/lpc.h | 17 ++--------------- include/mem-map.h | 17 ++--------------- include/mem_region-malloc.h | 17 ++--------------- include/mem_region.h | 17 ++--------------- include/npu-regs.h | 17 ++--------------- include/npu.h | 17 ++--------------- include/npu2-regs.h | 17 ++--------------- include/npu2.h | 17 ++--------------- include/nvram.h | 17 ++--------------- include/nx.h | 17 ++--------------- include/occ.h | 17 ++--------------- include/op-panel.h | 17 ++--------------- include/opal-api.h | 17 ++--------------- include/opal-internal.h | 18 ++++-------------- include/opal-msg.h | 18 ++---------------- include/opal.h | 17 ++--------------- include/pci-cfg.h | 20 ++++---------------- include/pci-quirk.h | 17 ++--------------- include/pci-slot.h | 17 ++--------------- include/pci-virt.h | 17 ++--------------- include/pci.h | 17 ++--------------- include/pel.h | 18 +++--------------- include/phb3-capp.h | 17 ++--------------- include/phb3-regs.h | 18 ++---------------- include/phb3.h | 17 ++--------------- include/phb4-capp.h | 17 ++--------------- include/phb4-regs.h | 17 ++--------------- include/phb4.h | 19 ++----------------- include/phys-map.h | 17 ++--------------- include/platform.h | 17 ++--------------- include/pool.h | 3 +++ include/powercap.h | 17 ++--------------- include/prd-fw-msg.h | 18 ++---------------- include/processor.h | 17 ++--------------- include/psi.h | 20 +++----------------- include/psr.h | 17 ++--------------- include/rtc.h | 17 ++--------------- include/sbe-p8.h | 18 +++--------------- include/sbe-p9.h | 17 ++--------------- include/sensor.h | 17 ++--------------- include/sfc-ctrl.h | 18 +++--------------- include/skiboot-valgrind.h | 17 ++--------------- include/skiboot.h | 17 ++--------------- include/spcn.h | 20 ++------------------ include/stack.h | 17 ++--------------- include/time-utils.h | 17 ++--------------- include/timebase.h | 20 ++++---------------- include/timer.h | 3 +++ include/trace.h | 17 ++--------------- include/trace_types.h | 19 +++++-------------- include/types.h | 17 ++--------------- include/vas.h | 17 ++--------------- include/vpd.h | 17 ++--------------- include/xive.h | 18 +++--------------- include/xscom-p8-regs.h | 5 +++++ include/xscom-p9-regs.h | 5 +++++ include/xscom.h | 17 ++--------------- 99 files changed, 233 insertions(+), 1449 deletions(-) (limited to 'include') diff --git a/include/affinity.h b/include/affinity.h index eba26db..fe952bf 100644 --- a/include/affinity.h +++ b/include/affinity.h @@ -1,23 +1,9 @@ -/* 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 /* - * * All functions in charge of generating the associativity/affinity * properties in the device-tree + * + * Copyright 2013-2014 IBM Corp. */ #ifndef __AFFINITY_H diff --git a/include/asm-utils.h b/include/asm-utils.h index e94a143..2d26545 100644 --- a/include/asm-utils.h +++ b/include/asm-utils.h @@ -1,18 +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. */ #ifndef __ASM_UTILS_H #define __ASM_UTILS_H diff --git a/include/ast.h b/include/ast.h index 5c46cf2..2720ee1 100644 --- a/include/ast.h +++ b/include/ast.h @@ -1,18 +1,6 @@ -/* 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. */ + #ifndef __AST_H #define __AST_H diff --git a/include/bitmap.h b/include/bitmap.h index f3510f7..ba31b01 100644 --- a/include/bitmap.h +++ b/include/bitmap.h @@ -1,18 +1,5 @@ -/* Copyright 2016 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 2016-2017 IBM Corp. */ #ifndef __BITMAP_H #define __BITMAP_H diff --git a/include/bitutils.h b/include/bitutils.h index d6d1f88..b34ac11 100644 --- a/include/bitutils.h +++ b/include/bitutils.h @@ -1,18 +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-2016 IBM Corp. */ #ifndef __BITUTILS_H #define __BITUTILS_H diff --git a/include/bt.h b/include/bt.h index 1763d9f..f6655d9 100644 --- a/include/bt.h +++ b/include/bt.h @@ -1,18 +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-2015 IBM Corp. */ #ifndef __BT_H #define __BT_H diff --git a/include/buddy.h b/include/buddy.h index fa97eb0..a8414f5 100644 --- a/include/buddy.h +++ b/include/buddy.h @@ -1,21 +1,10 @@ -/* Copyright 2016 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 +/* * Simple power-of-two buddy allocation mechanism. * + * Copyright 2016 IBM Corp. */ + #ifndef __BUDDY_H #define __BUDDY_H diff --git a/include/capp.h b/include/capp.h index cc70e44..b099a16 100644 --- a/include/capp.h +++ b/include/capp.h @@ -1,18 +1,5 @@ -/* Copyright 2013-2016 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. */ #ifndef __CAPP_H #define __CAPP_H diff --git a/include/cec.h b/include/cec.h index 97da17a..22da563 100644 --- a/include/cec.h +++ b/include/cec.h @@ -1,18 +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-2015 IBM Corp. */ #ifndef __CEC_H #define __CEC_H diff --git a/include/centaur.h b/include/centaur.h index 7a50bee..9b60a21 100644 --- a/include/centaur.h +++ b/include/centaur.h @@ -1,18 +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-2016 IBM Corp. */ #ifndef __CENTAUR_H #define __CENTAUR_H diff --git a/include/chip.h b/include/chip.h index f94149b..9bddd38 100644 --- a/include/chip.h +++ b/include/chip.h @@ -1,18 +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. */ #ifndef __CHIP_H #define __CHIP_H diff --git a/include/chiptod.h b/include/chiptod.h index 1a78980..85a23df 100644 --- a/include/chiptod.h +++ b/include/chiptod.h @@ -1,26 +1,14 @@ -/* 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 +/* + * The ChipTOD is the HW facility that maintains a synchronized + * time base across the fabric. * - * 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. */ #ifndef __CHIPTOD_H #define __CHIPTOD_H -/* The ChipTOD is the HW facility that maintains a synchronized - * time base across the fabric. - */ - enum chiptod_topology { chiptod_topo_unknown = -1, chiptod_topo_primary = 0, diff --git a/include/cmpxchg.h b/include/cmpxchg.h index 28911c0..3541a41 100644 --- a/include/cmpxchg.h +++ b/include/cmpxchg.h @@ -1,18 +1,5 @@ -/* Copyright 2017 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 2017 IBM Corp. */ #ifndef __CMPXCHG_H #define __CMPXCHG_H diff --git a/include/compiler.h b/include/compiler.h index 9a4602e..7d6dda8 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -1,18 +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. */ #ifndef __COMPILER_H #define __COMPILER_H diff --git a/include/config.h b/include/config.h index 7059e39..d7a64b7 100644 --- a/include/config.h +++ b/include/config.h @@ -1,18 +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. */ #ifndef __CONFIG_H #define __CONFIG_H diff --git a/include/console.h b/include/console.h index 94138af..26602b7 100644 --- a/include/console.h +++ b/include/console.h @@ -1,18 +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-2018 IBM Corp. */ #ifndef __CONSOLE_H #define __CONSOLE_H diff --git a/include/cpu.h b/include/cpu.h index 011b12b..cda7864 100644 --- a/include/cpu.h +++ b/include/cpu.h @@ -1,18 +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. */ #ifndef __CPU_H #define __CPU_H diff --git a/include/debug_descriptor.h b/include/debug_descriptor.h index 0a4d17c..774c360 100644 --- a/include/debug_descriptor.h +++ b/include/debug_descriptor.h @@ -1,18 +1,5 @@ -/* Copyright 2013-2018 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. */ #ifndef __DEBUG_DESCRIPTOR_H #define __DEBUG_DESCRIPTOR_H diff --git a/include/device.h b/include/device.h index a447dcd..25325ec 100644 --- a/include/device.h +++ b/include/device.h @@ -1,18 +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-2018 IBM Corp. */ #ifndef __DEVICE_H #define __DEVICE_H diff --git a/include/dio-p9.h b/include/dio-p9.h index 65aed2d..06563bf 100644 --- a/include/dio-p9.h +++ b/include/dio-p9.h @@ -1,19 +1,5 @@ - -/* 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. */ #ifndef __DIO_H #define __DIO_H diff --git a/include/direct-controls.h b/include/direct-controls.h index 9df1549..8c7b356 100644 --- a/include/direct-controls.h +++ b/include/direct-controls.h @@ -1,18 +1,5 @@ -/* Copyright 2017 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 2017 IBM Corp. */ #ifndef __DIRECT_CONTROLS_H #define __DIRECT_CONTROLS_H diff --git a/include/dts.h b/include/dts.h index 30188ac..2b54054 100644 --- a/include/dts.h +++ b/include/dts.h @@ -1,18 +1,5 @@ -/* Copyright 2013-2015 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-2017 IBM Corp. */ #ifndef __DTS_H #define __DTS_H diff --git a/include/elf-abi.h b/include/elf-abi.h index e8397f7..827f2af 100644 --- a/include/elf-abi.h +++ b/include/elf-abi.h @@ -1,18 +1,5 @@ -/* Copyright 2017 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 2017 IBM Corp. */ #ifndef __ELF_ABI_H #define __ELF_ABI_H diff --git a/include/elf.h b/include/elf.h index 7d12e5a..93524bb 100644 --- a/include/elf.h +++ b/include/elf.h @@ -1,18 +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-2015 IBM Corp. */ #ifndef __ELF_H #define __ELF_H diff --git a/include/errorlog.h b/include/errorlog.h index 6da9664..2d93bf7 100644 --- a/include/errorlog.h +++ b/include/errorlog.h @@ -1,18 +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-2018 IBM Corp. */ #ifndef __ERRORLOG_H #define __ERRORLOG_H diff --git a/include/fsi-master.h b/include/fsi-master.h index e727214..62035a4 100644 --- a/include/fsi-master.h +++ b/include/fsi-master.h @@ -1,18 +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-2014 IBM Corp. */ #ifndef __FSI_MASTER_H #define __FSI_MASTER_H diff --git a/include/fsp-attn.h b/include/fsp-attn.h index bc09fcc..4399ead 100644 --- a/include/fsp-attn.h +++ b/include/fsp-attn.h @@ -1,18 +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-2015 IBM Corp. */ #ifndef __FSP_ATTN_H #define __FSP_ATTN_H diff --git a/include/fsp-elog.h b/include/fsp-elog.h index eb9c28f..f24251d 100644 --- a/include/fsp-elog.h +++ b/include/fsp-elog.h @@ -1,18 +1,6 @@ -/* 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-2016 IBM Corp. */ + #include #include #include diff --git a/include/fsp-leds.h b/include/fsp-leds.h index c5a33ac..57b3d1f 100644 --- a/include/fsp-leds.h +++ b/include/fsp-leds.h @@ -1,24 +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 /* * SPCN based LED location code and other information + * + * Copyright 2013-2016 IBM Corp. */ #ifndef __FSP_LEDS_H diff --git a/include/fsp-mdst-table.h b/include/fsp-mdst-table.h index 5989cdb..7f0ce14 100644 --- a/include/fsp-mdst-table.h +++ b/include/fsp-mdst-table.h @@ -1,19 +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-2015 IBM Corp. */ #ifndef __FSPMDST_H #define __FSPMDST_H diff --git a/include/fsp-sysparam.h b/include/fsp-sysparam.h index 1275776..b107f18 100644 --- a/include/fsp-sysparam.h +++ b/include/fsp-sysparam.h @@ -1,18 +1,6 @@ -/* 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-2018 IBM Corp. */ + #ifndef __FSP_SYSPARAM_H #define __FSP_SYSPARAM_H diff --git a/include/fsp.h b/include/fsp.h index 0df7f93..b4c1759 100644 --- a/include/fsp.h +++ b/include/fsp.h @@ -1,23 +1,10 @@ -/* 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 /* * IBM System P FSP (Flexible Service Processor) + * + * Copyright 2013-2019 IBM Corp. */ + #ifndef __FSP_H #define __FSP_H diff --git a/include/hiomap.h b/include/hiomap.h index 3270554..3b3f7a9 100644 --- a/include/hiomap.h +++ b/include/hiomap.h @@ -1,18 +1,5 @@ -/* Copyright 2018 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 2018 IBM Corp. */ #ifndef __HIOMAP_H #define __HIOMAP_H diff --git a/include/hostservices.h b/include/hostservices.h index 06c5fe7..205de84 100644 --- a/include/hostservices.h +++ b/include/hostservices.h @@ -1,18 +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. */ #ifndef __HOSTSERVICES_H #define __HOSTSERVICES_H diff --git a/include/i2c.h b/include/i2c.h index e530683..e68d499 100644 --- a/include/i2c.h +++ b/include/i2c.h @@ -1,18 +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. */ #ifndef __I2C_H #define __I2C_H diff --git a/include/imc.h b/include/imc.h index 9b65824..bfc28bc 100644 --- a/include/imc.h +++ b/include/imc.h @@ -1,19 +1,5 @@ -/* Copyright 2016 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 2016-2019 IBM Corp. */ /* * In-Memory Collection (IMC) Counters : * Power9 has IMC instrumentation support with which several diff --git a/include/interrupts.h b/include/interrupts.h index 7024fac..d1ee5c4 100644 --- a/include/interrupts.h +++ b/include/interrupts.h @@ -1,18 +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. */ #ifndef __INTERRUPTS_H #define __INTERRUPTS_H diff --git a/include/inttypes.h b/include/inttypes.h index 8e640ca..57bd732 100644 --- a/include/inttypes.h +++ b/include/inttypes.h @@ -1,23 +1,10 @@ -/* Copyright 2015 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 /* This file exists because a bunch of files are built as part of * unit tests as well as skiboot and inttypes.h is part of libc rather * than gcc, so to get the magic to work when we don't have libc sitting * around, we get to rewrite inttypes.h. + * + * Copyright 2015 IBM Corp. */ #ifndef __SKIBOOT_INTTYPES_H diff --git a/include/io.h b/include/io.h index c056c37..c6203a2 100644 --- a/include/io.h +++ b/include/io.h @@ -1,18 +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-2017 IBM Corp. */ #ifndef __IO_H #define __IO_H diff --git a/include/ipmi.h b/include/ipmi.h index 5310b57..4f51347 100644 --- a/include/ipmi.h +++ b/include/ipmi.h @@ -1,18 +1,5 @@ -/* Copyright 2013-2016 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. */ #ifndef __IPMI_H #define __IPMI_H diff --git a/include/lock.h b/include/lock.h index e08ec08..04bc9f9 100644 --- a/include/lock.h +++ b/include/lock.h @@ -1,18 +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. */ #ifndef __LOCK_H #define __LOCK_H diff --git a/include/lpc-mbox.h b/include/lpc-mbox.h index 8ecf0c8..37ec341 100644 --- a/include/lpc-mbox.h +++ b/include/lpc-mbox.h @@ -1,18 +1,5 @@ -/* Copyright 2017 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 2017-2018 IBM Corp. */ #ifndef __LPC_MBOX_H #define __LPC_MBOX_H diff --git a/include/lpc.h b/include/lpc.h index 83b6c9d..58cfe6b 100644 --- a/include/lpc.h +++ b/include/lpc.h @@ -1,18 +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. */ #ifndef __LPC_H #define __LPC_H diff --git a/include/mem-map.h b/include/mem-map.h index fc535e5..4d06b64 100644 --- a/include/mem-map.h +++ b/include/mem-map.h @@ -1,18 +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. */ #ifndef __MEM_MAP_H #define __MEM_MAP_H diff --git a/include/mem_region-malloc.h b/include/mem_region-malloc.h index 41e19de..4350c56 100644 --- a/include/mem_region-malloc.h +++ b/include/mem_region-malloc.h @@ -1,18 +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. */ #ifndef __MEM_REGION_MALLOC_H #define __MEM_REGION_MALLOC_H diff --git a/include/mem_region.h b/include/mem_region.h index d9e490a..65eda42 100644 --- a/include/mem_region.h +++ b/include/mem_region.h @@ -1,18 +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-2018 IBM Corp. */ #ifndef __MEMORY_REGION #define __MEMORY_REGION diff --git a/include/npu-regs.h b/include/npu-regs.h index 0ccc40f..87d4499 100644 --- a/include/npu-regs.h +++ b/include/npu-regs.h @@ -1,18 +1,5 @@ -/* Copyright 2013-2015 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-2018 IBM Corp. */ #ifndef __NPU_REGS_H #define __NPU_REGS_H diff --git a/include/npu.h b/include/npu.h index a76acdf..ed905e2 100644 --- a/include/npu.h +++ b/include/npu.h @@ -1,18 +1,5 @@ -/* Copyright 2013-2015 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-2017 IBM Corp. */ #ifndef __NPU_H #define __NPU_H diff --git a/include/npu2-regs.h b/include/npu2-regs.h index 00a72e6..847fc2c 100644 --- a/include/npu2-regs.h +++ b/include/npu2-regs.h @@ -1,18 +1,5 @@ -/* Copyright 2013-2016 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. */ #ifndef __NPU2_REGS_H #define __NPU2_REGS_H diff --git a/include/npu2.h b/include/npu2.h index 5b2a436..b63eba8 100644 --- a/include/npu2.h +++ b/include/npu2.h @@ -1,18 +1,5 @@ -/* Copyright 2013-2016 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. */ #ifndef __NPU2_H #define __NPU2_H diff --git a/include/nvram.h b/include/nvram.h index a018a11..b056829 100644 --- a/include/nvram.h +++ b/include/nvram.h @@ -1,18 +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. */ #ifndef __NVRAM_H #define __NVRAM_H diff --git a/include/nx.h b/include/nx.h index dcaf20f..675d17a 100644 --- a/include/nx.h +++ b/include/nx.h @@ -1,18 +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. */ #ifndef __NX_H #define __NX_H diff --git a/include/occ.h b/include/occ.h index 7ba6be8..0030af5 100644 --- a/include/occ.h +++ b/include/occ.h @@ -1,18 +1,5 @@ -/* Copyright 2017 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 2017-2019 IBM Corp. */ #include diff --git a/include/op-panel.h b/include/op-panel.h index 557e750..04c52ba 100644 --- a/include/op-panel.h +++ b/include/op-panel.h @@ -1,18 +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. */ #ifndef __OP_PANEL_H #define __OP_PANEL_H diff --git a/include/opal-api.h b/include/opal-api.h index 0b0ae19..782666d 100644 --- a/include/opal-api.h +++ b/include/opal-api.h @@ -1,18 +1,5 @@ -/* Copyright 2013-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 2013-2019 IBM Corp. */ #ifndef __OPAL_API_H #define __OPAL_API_H diff --git a/include/opal-internal.h b/include/opal-internal.h index 448f4b5..fd2187f 100644 --- a/include/opal-internal.h +++ b/include/opal-internal.h @@ -1,23 +1,13 @@ -/* 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 +/* + * Internal header for OPAL API related things in skiboot * - * 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. */ #ifndef __OPAL_INTERNAL_H #define __OPAL_INTERNAL_H -/****** Internal header for OPAL API related things in skiboot **********/ #include diff --git a/include/opal-msg.h b/include/opal-msg.h index bfe148b..0361833 100644 --- a/include/opal-msg.h +++ b/include/opal-msg.h @@ -1,19 +1,5 @@ -/* Copyright 2013-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 2013-2019 IBM Corp. */ #ifndef __OPALMSG_H #define __OPALMSG_H diff --git a/include/opal.h b/include/opal.h index 6fe9f8c..a702655 100644 --- a/include/opal.h +++ b/include/opal.h @@ -1,18 +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-2015 IBM Corp. */ #ifndef __OPAL_H #define __OPAL_H diff --git a/include/pci-cfg.h b/include/pci-cfg.h index 6061584..0830723 100644 --- a/include/pci-cfg.h +++ b/include/pci-cfg.h @@ -1,22 +1,10 @@ -/* 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 /* * PCI Configuration space definitions + * + * Copyright 2013-2017 IBM Corp. */ + #ifndef __PCI_CFG_H #define __PCI_CFG_H diff --git a/include/pci-quirk.h b/include/pci-quirk.h index 1883248..784970c 100644 --- a/include/pci-quirk.h +++ b/include/pci-quirk.h @@ -1,18 +1,5 @@ -/* Copyright 2016 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 2016-2017 IBM Corp. */ #ifndef __PCI_QUIRK_H #define __PCI_QUIRK_H diff --git a/include/pci-slot.h b/include/pci-slot.h index 7c5fd60..6e7dc1c 100644 --- a/include/pci-slot.h +++ b/include/pci-slot.h @@ -1,18 +1,5 @@ -/* Copyright 2013-2016 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-2018 IBM Corp. */ #ifndef __PCI_SLOT_H #define __PCI_SLOT_H diff --git a/include/pci-virt.h b/include/pci-virt.h index 7c787cf..508baf8 100644 --- a/include/pci-virt.h +++ b/include/pci-virt.h @@ -1,18 +1,5 @@ -/* Copyright 2013-2016 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-2016 IBM Corp. */ #ifndef __PCI_VIRT_H #define __PCI_VIRT_H diff --git a/include/pci.h b/include/pci.h index c10d794..c7c15d0 100644 --- a/include/pci.h +++ b/include/pci.h @@ -1,18 +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. */ #ifndef __PCI_H #define __PCI_H diff --git a/include/pel.h b/include/pel.h index 1213c43..19361d3 100644 --- a/include/pel.h +++ b/include/pel.h @@ -1,18 +1,6 @@ -/* 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. */ + #ifndef __PEL_H #define __PEL_H diff --git a/include/phb3-capp.h b/include/phb3-capp.h index 3dab4ab..d2e814d 100644 --- a/include/phb3-capp.h +++ b/include/phb3-capp.h @@ -1,18 +1,5 @@ -/* Copyright 2013-2017 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-2017 IBM Corp. */ #ifndef __PHB3_CAPP_H #define __PHB3_CAPP_H diff --git a/include/phb3-regs.h b/include/phb3-regs.h index 5a3cea6..d79af7e 100644 --- a/include/phb3-regs.h +++ b/include/phb3-regs.h @@ -1,23 +1,9 @@ -/* 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-2016 IBM Corp. */ #ifndef __PHB3_REGS_H #define __PHB3_REGS_H - /* * PHB registers */ diff --git a/include/phb3.h b/include/phb3.h index bc46da7..249a8b2 100644 --- a/include/phb3.h +++ b/include/phb3.h @@ -1,18 +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-2018 IBM Corp. */ #ifndef __PHB3_H #define __PHB3_H diff --git a/include/phb4-capp.h b/include/phb4-capp.h index 2f309d4..bea29fd 100644 --- a/include/phb4-capp.h +++ b/include/phb4-capp.h @@ -1,18 +1,5 @@ -/* Copyright 2013-2017 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-2018 IBM Corp. */ #ifndef __PHB4_CAPP_H #define __PHB4_CAPP_H diff --git a/include/phb4-regs.h b/include/phb4-regs.h index 8dd8cdc..d2fc357 100644 --- a/include/phb4-regs.h +++ b/include/phb4-regs.h @@ -1,18 +1,5 @@ -/* Copyright 2013-2016 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. */ #ifndef __PHB4_REGS_H #define __PHB4_REGS_H diff --git a/include/phb4.h b/include/phb4.h index c52a840..af2e3ed 100644 --- a/include/phb4.h +++ b/include/phb4.h @@ -1,21 +1,6 @@ -/* Copyright 2013-2016 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. */ -/* -*/ #ifndef __PHB4_H #define __PHB4_H diff --git a/include/phys-map.h b/include/phys-map.h index 0cf48b6..6fd8cf5 100644 --- a/include/phys-map.h +++ b/include/phys-map.h @@ -1,18 +1,5 @@ -/* Copyright 2017 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 2017-2019 IBM Corp. */ #ifndef __PHYS_MAP_H #define __PHYS_MAP_H diff --git a/include/platform.h b/include/platform.h index da27c03..ee22752 100644 --- a/include/platform.h +++ b/include/platform.h @@ -1,18 +1,5 @@ -/* Copyright 2013-2016 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. */ #ifndef __PLATFORM_H #define __PLATFORM_H diff --git a/include/pool.h b/include/pool.h index 11730a9..41081ca 100644 --- a/include/pool.h +++ b/include/pool.h @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 +/* Copyright 2014 IBM Corp. */ + #ifndef __POOL_H #define __POOL_H diff --git a/include/powercap.h b/include/powercap.h index ec5e126..a45e63e 100644 --- a/include/powercap.h +++ b/include/powercap.h @@ -1,18 +1,5 @@ -/* Copyright 2017 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 2017 IBM Corp. */ #ifndef __POWERCAP_H #define __POWERCAP_H diff --git a/include/prd-fw-msg.h b/include/prd-fw-msg.h index 9333a30..9c9cbdf 100644 --- a/include/prd-fw-msg.h +++ b/include/prd-fw-msg.h @@ -1,19 +1,5 @@ -/* Copyright 2017 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 2017-2019 IBM Corp. */ #ifndef __PRD_FW_MSG_H #define __PRD_FW_MSG_H diff --git a/include/processor.h b/include/processor.h index b759752..352fd1e 100644 --- a/include/processor.h +++ b/include/processor.h @@ -1,18 +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. */ #ifndef __PROCESSOR_H #define __PROCESSOR_H diff --git a/include/psi.h b/include/psi.h index 1aca1af..9836e35 100644 --- a/include/psi.h +++ b/include/psi.h @@ -1,22 +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 /* * IBM System P PSI (Processor Service Interface) + * + * Copyright 2013-2019 IBM Corp. */ #ifndef __PSI_H #define __PSI_H diff --git a/include/psr.h b/include/psr.h index 92c0aa5..6997943 100644 --- a/include/psr.h +++ b/include/psr.h @@ -1,18 +1,5 @@ -/* Copyright 2017 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 2017 IBM Corp. */ #ifndef __PSR_H #define __PSR_H diff --git a/include/rtc.h b/include/rtc.h index a993fd4..1887003 100644 --- a/include/rtc.h +++ b/include/rtc.h @@ -1,18 +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-2014 IBM Corp. */ #ifndef __RTC_H #define __RTC_H diff --git a/include/sbe-p8.h b/include/sbe-p8.h index 785c2cd..50a7a55 100644 --- a/include/sbe-p8.h +++ b/include/sbe-p8.h @@ -1,18 +1,6 @@ -/* Copyright 2013-2018 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-2018 IBM Corp. */ + #ifndef __SBE_P8_H #define __SBE_P8_H diff --git a/include/sbe-p9.h b/include/sbe-p9.h index 5ad0422..779c799 100644 --- a/include/sbe-p9.h +++ b/include/sbe-p9.h @@ -1,18 +1,5 @@ -/* Copyright 2017-2018 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 2017-2019 IBM Corp. */ #ifndef __SBE_P9_H #define __SBE_P9_H diff --git a/include/sensor.h b/include/sensor.h index 40b275a..a79e1de 100644 --- a/include/sensor.h +++ b/include/sensor.h @@ -1,18 +1,5 @@ -/* Copyright 2013-2015 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-2017 IBM Corp. */ #ifndef __SENSOR_H #define __SENSOR_H diff --git a/include/sfc-ctrl.h b/include/sfc-ctrl.h index 8ff9780..72da8b7 100644 --- a/include/sfc-ctrl.h +++ b/include/sfc-ctrl.h @@ -1,18 +1,6 @@ -/* 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. */ + #ifndef SFC_CTRL_H #define SFC_CTRL_H diff --git a/include/skiboot-valgrind.h b/include/skiboot-valgrind.h index bdeaa8f..5b3a27f 100644 --- a/include/skiboot-valgrind.h +++ b/include/skiboot-valgrind.h @@ -1,18 +1,5 @@ -/* Copyright 2017 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 2017 IBM Corp. */ #ifndef __SKIBOOT_VALGRIND_H #define __SKIBOOT_VALGRIND_H diff --git a/include/skiboot.h b/include/skiboot.h index 1b3bacb..9b7942f 100644 --- a/include/skiboot.h +++ b/include/skiboot.h @@ -1,18 +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. */ #ifndef __SKIBOOT_H #define __SKIBOOT_H diff --git a/include/spcn.h b/include/spcn.h index 0df9163..bec7134 100644 --- a/include/spcn.h +++ b/include/spcn.h @@ -1,21 +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-2016 IBM Corp. */ #ifndef __SPCN_H #define __SPCN_H diff --git a/include/stack.h b/include/stack.h index 004beb0..9a1d18b 100644 --- a/include/stack.h +++ b/include/stack.h @@ -1,18 +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. */ #ifndef __STACKFRAME_H #define __STACKFRAME_H diff --git a/include/time-utils.h b/include/time-utils.h index e0a9a98..3fdb03c 100644 --- a/include/time-utils.h +++ b/include/time-utils.h @@ -1,18 +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-2015 IBM Corp. */ #ifndef __TIME_UTILS_H #define __TIME_UTILS_H diff --git a/include/timebase.h b/include/timebase.h index 1e30bca..d7469c3 100644 --- a/include/timebase.h +++ b/include/timebase.h @@ -1,24 +1,12 @@ -/* 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 /* * Timebase helpers. * * Note: Only use after the TODs are in sync ! + * + * Copyright 2013-2016 IBM Corp. */ + #ifndef __TIME_H #define __TIME_H diff --git a/include/timer.h b/include/timer.h index 116b9ac..59f963d 100644 --- a/include/timer.h +++ b/include/timer.h @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 +/* Copyright 2014-2015 IBM Corp. */ + #ifndef __TIMER_H #define __TIMER_H diff --git a/include/trace.h b/include/trace.h index 665817a..43c6a9d 100644 --- a/include/trace.h +++ b/include/trace.h @@ -1,18 +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. */ #ifndef __TRACE_H #define __TRACE_H diff --git a/include/trace_types.h b/include/trace_types.h index a525a00..54228b9 100644 --- a/include/trace_types.h +++ b/include/trace_types.h @@ -1,19 +1,10 @@ -/* Copyright 2013-2014 IBM Corp. +// SPDX-License-Identifier: Apache-2.0 +/* + * API for kernel to read trace buffer. * - * 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-2019 IBM Corp. */ -/* API for kernel to read trace buffer. */ + #ifndef __TRACE_TYPES_H #define __TRACE_TYPES_H diff --git a/include/types.h b/include/types.h index 07a9db6..a7a45f5 100644 --- a/include/types.h +++ b/include/types.h @@ -1,18 +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-2015 IBM Corp. */ #ifndef __TYPES_H #define __TYPES_H diff --git a/include/vas.h b/include/vas.h index f8c7add..9f761be 100644 --- a/include/vas.h +++ b/include/vas.h @@ -1,18 +1,5 @@ -/* Copyright 2013-2016 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-2018 IBM Corp. */ #ifndef __VAS_H #define __VAS_H diff --git a/include/vpd.h b/include/vpd.h index bf66a12..ec1ec95 100644 --- a/include/vpd.h +++ b/include/vpd.h @@ -1,18 +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. */ #ifndef __VPD_H #define __VPD_H diff --git a/include/xive.h b/include/xive.h index acc696a..4100e71 100644 --- a/include/xive.h +++ b/include/xive.h @@ -1,18 +1,6 @@ -/* Copyright 2016 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 2016-2018 IBM Corp. */ + #ifndef __XIVE_H__ #define __XIVE_H__ diff --git a/include/xscom-p8-regs.h b/include/xscom-p8-regs.h index 3523272..cd4e31f 100644 --- a/include/xscom-p8-regs.h +++ b/include/xscom-p8-regs.h @@ -1,3 +1,8 @@ +// SPDX-License-Identifier: Apache-2.0 +/* + * Copyright 2013-2019 IBM Corp. + */ + #ifndef __XSCOM_P8_REGS_H__ #define __XSCOM_P8_REGS_H__ diff --git a/include/xscom-p9-regs.h b/include/xscom-p9-regs.h index 5137d91..b322605 100644 --- a/include/xscom-p9-regs.h +++ b/include/xscom-p9-regs.h @@ -1,3 +1,8 @@ +// SPDX-License-Identifier: Apache-2.0 +/* + * Copyright 2016-2019 IBM Corp. + */ + #ifndef __XSCOM_P9_REGS_H__ #define __XSCOM_P9_REGS_H__ diff --git a/include/xscom.h b/include/xscom.h index 649de67..1f89ba9 100644 --- a/include/xscom.h +++ b/include/xscom.h @@ -1,18 +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. */ #ifndef __XSCOM_H #define __XSCOM_H -- cgit v1.1