diff options
| author | Roger Meier <roger@bufferoverflow.ch> | 2013-07-27 01:12:38 +0200 | 
|---|---|---|
| committer | Gerald Van Baren <vanbaren@cideas.com> | 2013-08-10 09:04:25 -0400 | 
| commit | 35084760a9f492f29434020b64f1db339bf99a23 (patch) | |
| tree | 0785e7fe12d426a0ae07f15e26d429a0fdc75558 | |
| parent | a78dac79ede7fbb4c9e816abc879655540c3f076 (diff) | |
| download | olio-uboot-2014.01-35084760a9f492f29434020b64f1db339bf99a23.tar.xz olio-uboot-2014.01-35084760a9f492f29434020b64f1db339bf99a23.zip | |
libfdt: SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause
Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
Acked-by: Wolfgang Denk <wd@denx.de>
| -rw-r--r-- | Licenses/README | 13 | ||||
| -rw-r--r-- | Licenses/bsd-2-clause.txt | 25 | ||||
| -rw-r--r-- | lib/libfdt/fdt.c | 47 | ||||
| -rw-r--r-- | lib/libfdt/fdt_empty_tree.c | 47 | ||||
| -rw-r--r-- | lib/libfdt/fdt_ro.c | 47 | ||||
| -rw-r--r-- | lib/libfdt/fdt_rw.c | 47 | ||||
| -rw-r--r-- | lib/libfdt/fdt_strerror.c | 47 | ||||
| -rw-r--r-- | lib/libfdt/fdt_sw.c | 47 | ||||
| -rw-r--r-- | lib/libfdt/fdt_wip.c | 47 | ||||
| -rw-r--r-- | lib/libfdt/libfdt_internal.h | 47 | 
10 files changed, 40 insertions, 374 deletions
| diff --git a/Licenses/README b/Licenses/README index b1a59cc22..3ed7abad6 100644 --- a/Licenses/README +++ b/Licenses/README @@ -43,10 +43,11 @@ at [2].  [1] http://spdx.org/  [2] http://spdx.org/licenses/ -Full name					SPDX Identifier	OSI Approved	File name	URI +Full name					SPDX Identifier	OSI Approved	File name		URI  ======================================================================================================================================= -GNU General Public License v2.0 only		GPL-2.0		Y		gpl-2.0.txt	http://www.gnu.org/licenses/gpl-2.0.txt -GNU General Public License v2.0 or later	GPL-2.0+	Y		gpl-2.0.txt	http://www.gnu.org/licenses/gpl-2.0.txt -GNU Library General Public License v2 or later	LGPL-2.0+	Y		lgpl-2.0.txt	http://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt -GNU Lesser General Public License v2.1 or later	LGPL-2.1+	Y		lgpl-2.1.txt	http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt -eCos license version 2.0			eCos-2.0			eCos-2.0.txt	http://www.gnu.org/licenses/ecos-license.html +GNU General Public License v2.0 only		GPL-2.0		Y		gpl-2.0.txt		http://www.gnu.org/licenses/gpl-2.0.txt +GNU General Public License v2.0 or later	GPL-2.0+	Y		gpl-2.0.txt		http://www.gnu.org/licenses/gpl-2.0.txt +GNU Library General Public License v2 or later	LGPL-2.0+	Y		lgpl-2.0.txt		http://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt +GNU Lesser General Public License v2.1 or later	LGPL-2.1+	Y		lgpl-2.1.txt		http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt +eCos license version 2.0			eCos-2.0			eCos-2.0.txt		http://www.gnu.org/licenses/ecos-license.html +BSD 2-Clause License				BSD-2-Clause	Y		bsd-2-clause.txt	https://spdx.org/licenses/BSD-2-Clause diff --git a/Licenses/bsd-2-clause.txt b/Licenses/bsd-2-clause.txt new file mode 100644 index 000000000..af697645f --- /dev/null +++ b/Licenses/bsd-2-clause.txt @@ -0,0 +1,25 @@ +Redistribution and use in source and binary forms, with or +without modification, are permitted provided that the following +conditions are met: + +1. Redistributions of source code must retain the above +   copyright notice, this list of conditions and the following +   disclaimer. +2. Redistributions in binary form must reproduce the above +   copyright notice, this list of conditions and the following +   disclaimer in the documentation and/or other materials +   provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND +CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/lib/libfdt/fdt.c b/lib/libfdt/fdt.c index 154e9a446..e146aba6e 100644 --- a/lib/libfdt/fdt.c +++ b/lib/libfdt/fdt.c @@ -1,52 +1,7 @@  /*   * libfdt - Flat Device Tree manipulation   * Copyright (C) 2006 David Gibson, IBM Corporation. - * - * libfdt is dual licensed: you can use it either under the terms of - * the GPL, or the BSD license, at your option. - * - *  a) This library is free software; you can redistribute it and/or - *     modify it under the terms of the GNU General Public License as - *     published by the Free Software Foundation; either version 2 of the - *     License, or (at your option) any later version. - * - *     This library is distributed in the hope that it will be useful, - *     but WITHOUT ANY WARRANTY; without even the implied warranty of - *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the - *     GNU General Public License for more details. - * - *     You should have received a copy of the GNU General Public - *     License along with this library; if not, write to the Free - *     Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, - *     MA 02110-1301 USA - * - * Alternatively, - * - *  b) Redistribution and use in source and binary forms, with or - *     without modification, are permitted provided that the following - *     conditions are met: - * - *     1. Redistributions of source code must retain the above - *        copyright notice, this list of conditions and the following - *        disclaimer. - *     2. Redistributions in binary form must reproduce the above - *        copyright notice, this list of conditions and the following - *        disclaimer in the documentation and/or other materials - *        provided with the distribution. - * - *     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - *     CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, - *     INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - *     MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - *     DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - *     CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - *     SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - *     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - *     LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - *     HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - *     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - *     OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, - *     EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier:	GPL-2.0+ BSD-2-Clause   */  #include "libfdt_env.h" diff --git a/lib/libfdt/fdt_empty_tree.c b/lib/libfdt/fdt_empty_tree.c index f72d13b1d..ac6c1fb04 100644 --- a/lib/libfdt/fdt_empty_tree.c +++ b/lib/libfdt/fdt_empty_tree.c @@ -1,52 +1,7 @@  /*   * libfdt - Flat Device Tree manipulation   * Copyright (C) 2012 David Gibson, IBM Corporation. - * - * libfdt is dual licensed: you can use it either under the terms of - * the GPL, or the BSD license, at your option. - * - *  a) This library is free software; you can redistribute it and/or - *     modify it under the terms of the GNU General Public License as - *     published by the Free Software Foundation; either version 2 of the - *     License, or (at your option) any later version. - * - *     This library is distributed in the hope that it will be useful, - *     but WITHOUT ANY WARRANTY; without even the implied warranty of - *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the - *     GNU General Public License for more details. - * - *     You should have received a copy of the GNU General Public - *     License along with this library; if not, write to the Free - *     Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, - *     MA 02110-1301 USA - * - * Alternatively, - * - *  b) Redistribution and use in source and binary forms, with or - *     without modification, are permitted provided that the following - *     conditions are met: - * - *     1. Redistributions of source code must retain the above - *        copyright notice, this list of conditions and the following - *        disclaimer. - *     2. Redistributions in binary form must reproduce the above - *        copyright notice, this list of conditions and the following - *        disclaimer in the documentation and/or other materials - *        provided with the distribution. - * - *     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - *     CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, - *     INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - *     MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - *     DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - *     CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - *     SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - *     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - *     LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - *     HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - *     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - *     OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, - *     EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier:	GPL-2.0+ BSD-2-Clause   */  #include "libfdt_env.h" diff --git a/lib/libfdt/fdt_ro.c b/lib/libfdt/fdt_ro.c index b65f4e23a..f2154e837 100644 --- a/lib/libfdt/fdt_ro.c +++ b/lib/libfdt/fdt_ro.c @@ -1,52 +1,7 @@  /*   * libfdt - Flat Device Tree manipulation   * Copyright (C) 2006 David Gibson, IBM Corporation. - * - * libfdt is dual licensed: you can use it either under the terms of - * the GPL, or the BSD license, at your option. - * - *  a) This library is free software; you can redistribute it and/or - *     modify it under the terms of the GNU General Public License as - *     published by the Free Software Foundation; either version 2 of the - *     License, or (at your option) any later version. - * - *     This library is distributed in the hope that it will be useful, - *     but WITHOUT ANY WARRANTY; without even the implied warranty of - *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the - *     GNU General Public License for more details. - * - *     You should have received a copy of the GNU General Public - *     License along with this library; if not, write to the Free - *     Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, - *     MA 02110-1301 USA - * - * Alternatively, - * - *  b) Redistribution and use in source and binary forms, with or - *     without modification, are permitted provided that the following - *     conditions are met: - * - *     1. Redistributions of source code must retain the above - *        copyright notice, this list of conditions and the following - *        disclaimer. - *     2. Redistributions in binary form must reproduce the above - *        copyright notice, this list of conditions and the following - *        disclaimer in the documentation and/or other materials - *        provided with the distribution. - * - *     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - *     CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, - *     INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - *     MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - *     DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - *     CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - *     SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - *     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - *     LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - *     HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - *     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - *     OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, - *     EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier:	GPL-2.0+ BSD-2-Clause   */  #include "libfdt_env.h" diff --git a/lib/libfdt/fdt_rw.c b/lib/libfdt/fdt_rw.c index aba609484..6fa4f1307 100644 --- a/lib/libfdt/fdt_rw.c +++ b/lib/libfdt/fdt_rw.c @@ -1,52 +1,7 @@  /*   * libfdt - Flat Device Tree manipulation   * Copyright (C) 2006 David Gibson, IBM Corporation. - * - * libfdt is dual licensed: you can use it either under the terms of - * the GPL, or the BSD license, at your option. - * - *  a) This library is free software; you can redistribute it and/or - *     modify it under the terms of the GNU General Public License as - *     published by the Free Software Foundation; either version 2 of the - *     License, or (at your option) any later version. - * - *     This library is distributed in the hope that it will be useful, - *     but WITHOUT ANY WARRANTY; without even the implied warranty of - *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the - *     GNU General Public License for more details. - * - *     You should have received a copy of the GNU General Public - *     License along with this library; if not, write to the Free - *     Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, - *     MA 02110-1301 USA - * - * Alternatively, - * - *  b) Redistribution and use in source and binary forms, with or - *     without modification, are permitted provided that the following - *     conditions are met: - * - *     1. Redistributions of source code must retain the above - *        copyright notice, this list of conditions and the following - *        disclaimer. - *     2. Redistributions in binary form must reproduce the above - *        copyright notice, this list of conditions and the following - *        disclaimer in the documentation and/or other materials - *        provided with the distribution. - * - *     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - *     CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, - *     INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - *     MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - *     DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - *     CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - *     SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - *     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - *     LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - *     HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - *     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - *     OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, - *     EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier:	GPL-2.0+ BSD-2-Clause   */  #include "libfdt_env.h" diff --git a/lib/libfdt/fdt_strerror.c b/lib/libfdt/fdt_strerror.c index 9b00c3a6e..2f3cc243d 100644 --- a/lib/libfdt/fdt_strerror.c +++ b/lib/libfdt/fdt_strerror.c @@ -1,52 +1,7 @@  /*   * libfdt - Flat Device Tree manipulation   * Copyright (C) 2006 David Gibson, IBM Corporation. - * - * libfdt is dual licensed: you can use it either under the terms of - * the GPL, or the BSD license, at your option. - * - *  a) This library is free software; you can redistribute it and/or - *     modify it under the terms of the GNU General Public License as - *     published by the Free Software Foundation; either version 2 of the - *     License, or (at your option) any later version. - * - *     This library is distributed in the hope that it will be useful, - *     but WITHOUT ANY WARRANTY; without even the implied warranty of - *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the - *     GNU General Public License for more details. - * - *     You should have received a copy of the GNU General Public - *     License along with this library; if not, write to the Free - *     Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, - *     MA 02110-1301 USA - * - * Alternatively, - * - *  b) Redistribution and use in source and binary forms, with or - *     without modification, are permitted provided that the following - *     conditions are met: - * - *     1. Redistributions of source code must retain the above - *        copyright notice, this list of conditions and the following - *        disclaimer. - *     2. Redistributions in binary form must reproduce the above - *        copyright notice, this list of conditions and the following - *        disclaimer in the documentation and/or other materials - *        provided with the distribution. - * - *     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - *     CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, - *     INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - *     MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - *     DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - *     CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - *     SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - *     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - *     LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - *     HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - *     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - *     OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, - *     EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier:	GPL-2.0+ BSD-2-Clause   */  #include "libfdt_env.h" diff --git a/lib/libfdt/fdt_sw.c b/lib/libfdt/fdt_sw.c index f422754de..580b57024 100644 --- a/lib/libfdt/fdt_sw.c +++ b/lib/libfdt/fdt_sw.c @@ -1,52 +1,7 @@  /*   * libfdt - Flat Device Tree manipulation   * Copyright (C) 2006 David Gibson, IBM Corporation. - * - * libfdt is dual licensed: you can use it either under the terms of - * the GPL, or the BSD license, at your option. - * - *  a) This library is free software; you can redistribute it and/or - *     modify it under the terms of the GNU General Public License as - *     published by the Free Software Foundation; either version 2 of the - *     License, or (at your option) any later version. - * - *     This library is distributed in the hope that it will be useful, - *     but WITHOUT ANY WARRANTY; without even the implied warranty of - *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the - *     GNU General Public License for more details. - * - *     You should have received a copy of the GNU General Public - *     License along with this library; if not, write to the Free - *     Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, - *     MA 02110-1301 USA - * - * Alternatively, - * - *  b) Redistribution and use in source and binary forms, with or - *     without modification, are permitted provided that the following - *     conditions are met: - * - *     1. Redistributions of source code must retain the above - *        copyright notice, this list of conditions and the following - *        disclaimer. - *     2. Redistributions in binary form must reproduce the above - *        copyright notice, this list of conditions and the following - *        disclaimer in the documentation and/or other materials - *        provided with the distribution. - * - *     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - *     CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, - *     INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - *     MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - *     DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - *     CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - *     SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - *     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - *     LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - *     HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - *     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - *     OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, - *     EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier:	GPL-2.0+ BSD-2-Clause   */  #include "libfdt_env.h" diff --git a/lib/libfdt/fdt_wip.c b/lib/libfdt/fdt_wip.c index b9e3c4a74..3f2dfa573 100644 --- a/lib/libfdt/fdt_wip.c +++ b/lib/libfdt/fdt_wip.c @@ -1,52 +1,7 @@  /*   * libfdt - Flat Device Tree manipulation   * Copyright (C) 2006 David Gibson, IBM Corporation. - * - * libfdt is dual licensed: you can use it either under the terms of - * the GPL, or the BSD license, at your option. - * - *  a) This library is free software; you can redistribute it and/or - *     modify it under the terms of the GNU General Public License as - *     published by the Free Software Foundation; either version 2 of the - *     License, or (at your option) any later version. - * - *     This library is distributed in the hope that it will be useful, - *     but WITHOUT ANY WARRANTY; without even the implied warranty of - *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the - *     GNU General Public License for more details. - * - *     You should have received a copy of the GNU General Public - *     License along with this library; if not, write to the Free - *     Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, - *     MA 02110-1301 USA - * - * Alternatively, - * - *  b) Redistribution and use in source and binary forms, with or - *     without modification, are permitted provided that the following - *     conditions are met: - * - *     1. Redistributions of source code must retain the above - *        copyright notice, this list of conditions and the following - *        disclaimer. - *     2. Redistributions in binary form must reproduce the above - *        copyright notice, this list of conditions and the following - *        disclaimer in the documentation and/or other materials - *        provided with the distribution. - * - *     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - *     CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, - *     INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - *     MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - *     DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - *     CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - *     SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - *     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - *     LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - *     HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - *     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - *     OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, - *     EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier:	GPL-2.0+ BSD-2-Clause   */  #include "libfdt_env.h" diff --git a/lib/libfdt/libfdt_internal.h b/lib/libfdt/libfdt_internal.h index 381133ba8..13cbc9af2 100644 --- a/lib/libfdt/libfdt_internal.h +++ b/lib/libfdt/libfdt_internal.h @@ -3,52 +3,7 @@  /*   * libfdt - Flat Device Tree manipulation   * Copyright (C) 2006 David Gibson, IBM Corporation. - * - * libfdt is dual licensed: you can use it either under the terms of - * the GPL, or the BSD license, at your option. - * - *  a) This library is free software; you can redistribute it and/or - *     modify it under the terms of the GNU General Public License as - *     published by the Free Software Foundation; either version 2 of the - *     License, or (at your option) any later version. - * - *     This library is distributed in the hope that it will be useful, - *     but WITHOUT ANY WARRANTY; without even the implied warranty of - *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the - *     GNU General Public License for more details. - * - *     You should have received a copy of the GNU General Public - *     License along with this library; if not, write to the Free - *     Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, - *     MA 02110-1301 USA - * - * Alternatively, - * - *  b) Redistribution and use in source and binary forms, with or - *     without modification, are permitted provided that the following - *     conditions are met: - * - *     1. Redistributions of source code must retain the above - *        copyright notice, this list of conditions and the following - *        disclaimer. - *     2. Redistributions in binary form must reproduce the above - *        copyright notice, this list of conditions and the following - *        disclaimer in the documentation and/or other materials - *        provided with the distribution. - * - *     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - *     CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, - *     INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - *     MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - *     DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - *     CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - *     SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - *     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - *     LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - *     HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - *     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - *     OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, - *     EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * SPDX-License-Identifier:	GPL-2.0+ BSD-2-Clause   */  #include <fdt.h> |