diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2019-07-18 12:30:00 +1000 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2019-07-26 15:08:03 +1000 |
commit | 5ef3dd30a98796359c45cbeaf1ce7c381a9120e6 (patch) | |
tree | 473cf267823efb0710d892d54e264543d1ba8a1d /platforms/astbmc | |
parent | 53baedfd19436e8cc33151a0c17cb57863f7303a (diff) | |
download | skiboot-5ef3dd30a98796359c45cbeaf1ce7c381a9120e6.zip skiboot-5ef3dd30a98796359c45cbeaf1ce7c381a9120e6.tar.gz skiboot-5ef3dd30a98796359c45cbeaf1ce7c381a9120e6.tar.bz2 |
SPDX-ify all skiboot code
Use Software Package Data Exchange (SPDX) to indicate license for each
file that is unique to skiboot.
At the same time, ensure the (C) who and years are correct.
See https://spdx.org/
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
[oliver: Added a few missing files]
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'platforms/astbmc')
-rw-r--r-- | platforms/astbmc/astbmc.h | 18 | ||||
-rw-r--r-- | platforms/astbmc/barreleye.c | 19 | ||||
-rw-r--r-- | platforms/astbmc/common.c | 18 | ||||
-rw-r--r-- | platforms/astbmc/firestone.c | 18 | ||||
-rw-r--r-- | platforms/astbmc/garrison.c | 18 | ||||
-rw-r--r-- | platforms/astbmc/habanero.c | 18 | ||||
-rw-r--r-- | platforms/astbmc/nicole.c | 15 | ||||
-rw-r--r-- | platforms/astbmc/p8dnu.c | 19 | ||||
-rw-r--r-- | platforms/astbmc/p8dtu.c | 19 | ||||
-rw-r--r-- | platforms/astbmc/p9dsu.c | 19 | ||||
-rw-r--r-- | platforms/astbmc/palmetto.c | 18 | ||||
-rw-r--r-- | platforms/astbmc/pnor.c | 17 | ||||
-rw-r--r-- | platforms/astbmc/romulus.c | 17 | ||||
-rw-r--r-- | platforms/astbmc/slots.c | 18 | ||||
-rw-r--r-- | platforms/astbmc/talos.c | 17 | ||||
-rw-r--r-- | platforms/astbmc/vesnin.c | 16 | ||||
-rw-r--r-- | platforms/astbmc/witherspoon.c | 17 | ||||
-rw-r--r-- | platforms/astbmc/zaius.c | 17 |
18 files changed, 47 insertions, 271 deletions
diff --git a/platforms/astbmc/astbmc.h b/platforms/astbmc/astbmc.h index c302b60..b9f71fc 100644 --- a/platforms/astbmc/astbmc.h +++ b/platforms/astbmc/astbmc.h @@ -1,19 +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 __ASTBMC_H #define __ASTBMC_H diff --git a/platforms/astbmc/barreleye.c b/platforms/astbmc/barreleye.c index 6cc5537..f7542d6 100644 --- a/platforms/astbmc/barreleye.c +++ b/platforms/astbmc/barreleye.c @@ -1,20 +1,9 @@ -/* Copyright 2016 Ingrasys. - * - * 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 Ingrasys. + * Copyright 2016-2019 IBM Corp. */ - #include <skiboot.h> #include <device.h> #include <console.h> diff --git a/platforms/astbmc/common.c b/platforms/astbmc/common.c index 76fa25f..85043f3 100644 --- a/platforms/astbmc/common.c +++ b/platforms/astbmc/common.c @@ -1,19 +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. */ #include <skiboot.h> #include <device.h> diff --git a/platforms/astbmc/firestone.c b/platforms/astbmc/firestone.c index 29ee377..5e30c25 100644 --- a/platforms/astbmc/firestone.c +++ b/platforms/astbmc/firestone.c @@ -1,19 +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. */ #include <skiboot.h> #include <device.h> diff --git a/platforms/astbmc/garrison.c b/platforms/astbmc/garrison.c index b931057..1b0f865 100644 --- a/platforms/astbmc/garrison.c +++ b/platforms/astbmc/garrison.c @@ -1,19 +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. */ #include <skiboot.h> #include <device.h> diff --git a/platforms/astbmc/habanero.c b/platforms/astbmc/habanero.c index 068c315..0cec64f 100644 --- a/platforms/astbmc/habanero.c +++ b/platforms/astbmc/habanero.c @@ -1,19 +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. */ #include <skiboot.h> #include <device.h> diff --git a/platforms/astbmc/nicole.c b/platforms/astbmc/nicole.c index 34954a5..6893cdd 100644 --- a/platforms/astbmc/nicole.c +++ b/platforms/astbmc/nicole.c @@ -1,17 +1,6 @@ -/** +// SPDX-License-Identifier: Apache-2.0 +/* * Copyright (c) 2019 YADRO - * - * 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. */ #include <skiboot.h> diff --git a/platforms/astbmc/p8dnu.c b/platforms/astbmc/p8dnu.c index 8d7d16b..a76fbd9 100644 --- a/platforms/astbmc/p8dnu.c +++ b/platforms/astbmc/p8dnu.c @@ -1,20 +1,9 @@ -/* Copyright 2017 Supermicro and 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 Supermicro + * Copyright 2017-2019 IBM Corp. */ - #include <skiboot.h> #include <device.h> #include <console.h> diff --git a/platforms/astbmc/p8dtu.c b/platforms/astbmc/p8dtu.c index f4a0c7f..c62223b 100644 --- a/platforms/astbmc/p8dtu.c +++ b/platforms/astbmc/p8dtu.c @@ -1,20 +1,9 @@ -/* Copyright 2016 supermicro. - * - * 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 Supermicro. + * Copyright 2016-2019 IBM Corp. */ - #include <skiboot.h> #include <device.h> #include <console.h> diff --git a/platforms/astbmc/p9dsu.c b/platforms/astbmc/p9dsu.c index 72645ec..d49f7fe 100644 --- a/platforms/astbmc/p9dsu.c +++ b/platforms/astbmc/p9dsu.c @@ -1,18 +1,7 @@ -/* Copyright 2017 Supermicro Inc. - * 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 2017 Supermicro Inc. + * Copyright 2018-2019 IBM Corp. */ #include <skiboot.h> diff --git a/platforms/astbmc/palmetto.c b/platforms/astbmc/palmetto.c index 9136d15..8cfd48a 100644 --- a/platforms/astbmc/palmetto.c +++ b/platforms/astbmc/palmetto.c @@ -1,19 +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. */ #include <skiboot.h> #include <device.h> diff --git a/platforms/astbmc/pnor.c b/platforms/astbmc/pnor.c index 6c1d287..ce0de07 100644 --- a/platforms/astbmc/pnor.c +++ b/platforms/astbmc/pnor.c @@ -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. */ #include <skiboot.h> #include <device.h> diff --git a/platforms/astbmc/romulus.c b/platforms/astbmc/romulus.c index 3e4003a..2f3a0a4 100644 --- a/platforms/astbmc/romulus.c +++ b/platforms/astbmc/romulus.c @@ -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 <skiboot.h> #include <device.h> diff --git a/platforms/astbmc/slots.c b/platforms/astbmc/slots.c index 0bd8403..2f8cf0c 100644 --- a/platforms/astbmc/slots.c +++ b/platforms/astbmc/slots.c @@ -1,18 +1,6 @@ -/* 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 +/* Copyright 2015-2018 IBM Corp. */ + #include <skiboot.h> #include <device.h> #include <console.h> diff --git a/platforms/astbmc/talos.c b/platforms/astbmc/talos.c index f4cbb76..55a3385 100644 --- a/platforms/astbmc/talos.c +++ b/platforms/astbmc/talos.c @@ -1,18 +1,7 @@ -/* Copyright 2017 IBM Corp. +// SPDX-License-Identifier: Apache-2.0 +/* + * Copyright 2017-2019 IBM Corp. * Copyright 2018-2019 Raptor Engineering, LLC - * - * 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. */ #include <skiboot.h> diff --git a/platforms/astbmc/vesnin.c b/platforms/astbmc/vesnin.c index 8ec1ebc..030944e 100644 --- a/platforms/astbmc/vesnin.c +++ b/platforms/astbmc/vesnin.c @@ -1,17 +1,7 @@ -/** +// SPDX-License-Identifier: Apache-2.0 +/* * Copyright (c) 2018 YADRO - * - * 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 2018-2019 IBM Corp. */ #include <skiboot.h> diff --git a/platforms/astbmc/witherspoon.c b/platforms/astbmc/witherspoon.c index 7dab020..8aaed97 100644 --- a/platforms/astbmc/witherspoon.c +++ b/platforms/astbmc/witherspoon.c @@ -1,18 +1,5 @@ -/* Copyright 2017-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 2017-2019 IBM Corp. */ #include <skiboot.h> #include <device.h> diff --git a/platforms/astbmc/zaius.c b/platforms/astbmc/zaius.c index ae8ca4b..ab35588 100644 --- a/platforms/astbmc/zaius.c +++ b/platforms/astbmc/zaius.c @@ -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 <skiboot.h> #include <device.h> |