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 /hdata/test | |
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 'hdata/test')
-rw-r--r-- | hdata/test/Makefile.check | 1 | ||||
-rwxr-xr-x | hdata/test/dtdiff_wrap.sh | 5 | ||||
-rw-r--r-- | hdata/test/hdata_to_dt.c | 19 | ||||
-rw-r--r-- | hdata/test/stubs.c | 18 |
4 files changed, 13 insertions, 30 deletions
diff --git a/hdata/test/Makefile.check b/hdata/test/Makefile.check index 368fcba..4c579ae 100644 --- a/hdata/test/Makefile.check +++ b/hdata/test/Makefile.check @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # -*-Makefile-*- HDATA_TEST := hdata/test/hdata_to_dt diff --git a/hdata/test/dtdiff_wrap.sh b/hdata/test/dtdiff_wrap.sh index 75c18ba..e746e25 100755 --- a/hdata/test/dtdiff_wrap.sh +++ b/hdata/test/dtdiff_wrap.sh @@ -1,8 +1,11 @@ #!/bin/bash - +# SPDX-License-Identifier: Apache-2.0 +# # Takes /dev/stdin as dtb, saves to file, does dtdiff # Also runs parameter through a dts->dtb->dts conversion # in order to work around dtc bugs. +# +# Copyright 2018 IBM Corp. T=$(mktemp) cp /dev/stdin $T.dtb diff --git a/hdata/test/hdata_to_dt.c b/hdata/test/hdata_to_dt.c index 8692177..56c0429 100644 --- a/hdata/test/hdata_to_dt.c +++ b/hdata/test/hdata_to_dt.c @@ -1,19 +1,10 @@ -/* 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 +// SPDX-License-Identifier: Apache-2.0 +/* + * Given a hdata dump, output the device tree. * - * 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. */ -/* Given a hdata dump, output the device tree. */ + #include <sys/types.h> #include <sys/stat.h> #include <sys/mman.h> diff --git a/hdata/test/stubs.c b/hdata/test/stubs.c index 3637633..1d924b6 100644 --- a/hdata/test/stubs.c +++ b/hdata/test/stubs.c @@ -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. */ + #include <stdlib.h> #include <stdio.h> #include <stdarg.h> |