Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scripts/dtc: Update to upstream version v1.5.0-30-g702c1b6c0e73

Pull in SPDX tag conversion from upstream dtc. This will replace the
conversion done in the kernel tree copy in v5.2-rc2.

This adds the following commits from upstream:

702c1b6c0e73 README.license: Update to reflect SPDX tag usage
4097bbffcf1d dtc: Add GPLv2 SPDX tags to files missing license text
94f87cd5b7c5 libfdt: Add dual GPL/BSD SPDX tags to files missing license text
c4ffc05574b1 tests: Replace license boilerplate with SPDX tags
a5ac29baacd2 pylibfdt: Replace dual GPLv2/BSD license boilerplate with SPDX tags
7fb0f4db2eb7 libfdt: Replace GPL/BSD boilerplate/reference with SPDX tags
acfe84f2c47e dtc: Replace GPLv2 boilerplate/reference with SPDX tags

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Rob Herring <robh@kernel.org>

+31 -833
+1
scripts/dtc/Makefile.dtc
··· 1 + # SPDX-License-Identifier: GPL-2.0-or-later 1 2 # Makefile.dtc 2 3 # 3 4 # This is not a complete Makefile of itself. Instead, it is designed to
+1 -16
scripts/dtc/checks.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later 1 2 /* 2 3 * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2007. 3 - * 4 - * 5 - * This program is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU General Public License as 7 - * published by the Free Software Foundation; either version 2 of the 8 - * License, or (at your option) any later version. 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 - * General Public License for more details. 14 - * 15 - * You should have received a copy of the GNU General Public License 16 - * along with this program; if not, write to the Free Software 17 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 18 - * USA 19 4 */ 20 5 21 6 #include "dtc.h"
+1 -16
scripts/dtc/data.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later 1 2 /* 2 3 * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. 3 - * 4 - * 5 - * This program is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU General Public License as 7 - * published by the Free Software Foundation; either version 2 of the 8 - * License, or (at your option) any later version. 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 - * General Public License for more details. 14 - * 15 - * You should have received a copy of the GNU General Public License 16 - * along with this program; if not, write to the Free Software 17 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 18 - * USA 19 4 */ 20 5 21 6 #include "dtc.h"
+1 -16
scripts/dtc/dtc-lexer.l
··· 1 + /* SPDX-License-Identifier: GPL-2.0-or-later */ 1 2 /* 2 3 * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. 3 - * 4 - * 5 - * This program is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU General Public License as 7 - * published by the Free Software Foundation; either version 2 of the 8 - * License, or (at your option) any later version. 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 - * General Public License for more details. 14 - * 15 - * You should have received a copy of the GNU General Public License 16 - * along with this program; if not, write to the Free Software 17 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 18 - * USA 19 4 */ 20 5 21 6 %option noyywrap nounput noinput never-interactive
+1 -16
scripts/dtc/dtc-parser.y
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later 1 2 /* 2 3 * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. 3 - * 4 - * 5 - * This program is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU General Public License as 7 - * published by the Free Software Foundation; either version 2 of the 8 - * License, or (at your option) any later version. 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 - * General Public License for more details. 14 - * 15 - * You should have received a copy of the GNU General Public License 16 - * along with this program; if not, write to the Free Software 17 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 18 - * USA 19 4 */ 20 5 %{ 21 6 #include <stdio.h>
+1 -16
scripts/dtc/dtc.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later 1 2 /* 2 3 * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. 3 - * 4 - * 5 - * This program is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU General Public License as 7 - * published by the Free Software Foundation; either version 2 of the 8 - * License, or (at your option) any later version. 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 - * General Public License for more details. 14 - * 15 - * You should have received a copy of the GNU General Public License 16 - * along with this program; if not, write to the Free Software 17 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 18 - * USA 19 4 */ 20 5 21 6 #include <sys/stat.h>
+1 -16
scripts/dtc/dtc.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-or-later */ 1 2 #ifndef DTC_H 2 3 #define DTC_H 3 4 4 5 /* 5 6 * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. 6 - * 7 - * 8 - * This program is free software; you can redistribute it and/or 9 - * modify it under the terms of the GNU General Public License as 10 - * published by the Free Software Foundation; either version 2 of the 11 - * License, or (at your option) any later version. 12 - * 13 - * This program is distributed in the hope that it will be useful, 14 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 - * General Public License for more details. 17 - * 18 - * You should have received a copy of the GNU General Public License 19 - * along with this program; if not, write to the Free Software 20 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 21 - * USA 22 7 */ 23 8 24 9 #include <stdio.h>
+1 -16
scripts/dtc/flattree.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later 1 2 /* 2 3 * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. 3 - * 4 - * 5 - * This program is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU General Public License as 7 - * published by the Free Software Foundation; either version 2 of the 8 - * License, or (at your option) any later version. 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 - * General Public License for more details. 14 - * 15 - * You should have received a copy of the GNU General Public License 16 - * along with this program; if not, write to the Free Software 17 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 18 - * USA 19 4 */ 20 5 21 6 #include "dtc.h"
+1 -16
scripts/dtc/fstree.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later 1 2 /* 2 3 * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. 3 - * 4 - * 5 - * This program is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU General Public License as 7 - * published by the Free Software Foundation; either version 2 of the 8 - * License, or (at your option) any later version. 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 - * General Public License for more details. 14 - * 15 - * You should have received a copy of the GNU General Public License 16 - * along with this program; if not, write to the Free Software 17 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 18 - * USA 19 4 */ 20 5 21 6 #include "dtc.h"
+1
scripts/dtc/libfdt/Makefile.libfdt
··· 1 + # SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) 1 2 # Makefile.libfdt 2 3 # 3 4 # This is not a complete Makefile of itself. Instead, it is designed to
+1 -46
scripts/dtc/libfdt/fdt.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) 1 2 /* 2 3 * libfdt - Flat Device Tree manipulation 3 4 * Copyright (C) 2006 David Gibson, IBM Corporation. 4 - * 5 - * libfdt is dual licensed: you can use it either under the terms of 6 - * the GPL, or the BSD license, at your option. 7 - * 8 - * a) This library is free software; you can redistribute it and/or 9 - * modify it under the terms of the GNU General Public License as 10 - * published by the Free Software Foundation; either version 2 of the 11 - * License, or (at your option) any later version. 12 - * 13 - * This library is distributed in the hope that it will be useful, 14 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 - * GNU General Public License for more details. 17 - * 18 - * You should have received a copy of the GNU General Public 19 - * License along with this library; if not, write to the Free 20 - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 21 - * MA 02110-1301 USA 22 - * 23 - * Alternatively, 24 - * 25 - * b) Redistribution and use in source and binary forms, with or 26 - * without modification, are permitted provided that the following 27 - * conditions are met: 28 - * 29 - * 1. Redistributions of source code must retain the above 30 - * copyright notice, this list of conditions and the following 31 - * disclaimer. 32 - * 2. Redistributions in binary form must reproduce the above 33 - * copyright notice, this list of conditions and the following 34 - * disclaimer in the documentation and/or other materials 35 - * provided with the distribution. 36 - * 37 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 38 - * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 39 - * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 40 - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 41 - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 42 - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 43 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 44 - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 45 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 46 - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 47 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 48 - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 49 - * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 50 5 */ 51 6 #include "libfdt_env.h" 52 7
+1 -46
scripts/dtc/libfdt/fdt.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ 1 2 #ifndef FDT_H 2 3 #define FDT_H 3 4 /* 4 5 * libfdt - Flat Device Tree manipulation 5 6 * Copyright (C) 2006 David Gibson, IBM Corporation. 6 7 * Copyright 2012 Kim Phillips, Freescale Semiconductor. 7 - * 8 - * libfdt is dual licensed: you can use it either under the terms of 9 - * the GPL, or the BSD license, at your option. 10 - * 11 - * a) This library is free software; you can redistribute it and/or 12 - * modify it under the terms of the GNU General Public License as 13 - * published by the Free Software Foundation; either version 2 of the 14 - * License, or (at your option) any later version. 15 - * 16 - * This library is distributed in the hope that it will be useful, 17 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 - * GNU General Public License for more details. 20 - * 21 - * You should have received a copy of the GNU General Public 22 - * License along with this library; if not, write to the Free 23 - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 24 - * MA 02110-1301 USA 25 - * 26 - * Alternatively, 27 - * 28 - * b) Redistribution and use in source and binary forms, with or 29 - * without modification, are permitted provided that the following 30 - * conditions are met: 31 - * 32 - * 1. Redistributions of source code must retain the above 33 - * copyright notice, this list of conditions and the following 34 - * disclaimer. 35 - * 2. Redistributions in binary form must reproduce the above 36 - * copyright notice, this list of conditions and the following 37 - * disclaimer in the documentation and/or other materials 38 - * provided with the distribution. 39 - * 40 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 41 - * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 42 - * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 43 - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 44 - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 45 - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 46 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 47 - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 48 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 49 - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 50 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 51 - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 52 - * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 53 8 */ 54 9 55 10 #ifndef __ASSEMBLY__
+1 -46
scripts/dtc/libfdt/fdt_addresses.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) 1 2 /* 2 3 * libfdt - Flat Device Tree manipulation 3 4 * Copyright (C) 2014 David Gibson <david@gibson.dropbear.id.au> 4 5 * Copyright (C) 2018 embedded brains GmbH 5 - * 6 - * libfdt is dual licensed: you can use it either under the terms of 7 - * the GPL, or the BSD license, at your option. 8 - * 9 - * a) This library is free software; you can redistribute it and/or 10 - * modify it under the terms of the GNU General Public License as 11 - * published by the Free Software Foundation; either version 2 of the 12 - * License, or (at your option) any later version. 13 - * 14 - * This library is distributed in the hope that it will be useful, 15 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 - * GNU General Public License for more details. 18 - * 19 - * You should have received a copy of the GNU General Public 20 - * License along with this library; if not, write to the Free 21 - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 22 - * MA 02110-1301 USA 23 - * 24 - * Alternatively, 25 - * 26 - * b) Redistribution and use in source and binary forms, with or 27 - * without modification, are permitted provided that the following 28 - * conditions are met: 29 - * 30 - * 1. Redistributions of source code must retain the above 31 - * copyright notice, this list of conditions and the following 32 - * disclaimer. 33 - * 2. Redistributions in binary form must reproduce the above 34 - * copyright notice, this list of conditions and the following 35 - * disclaimer in the documentation and/or other materials 36 - * provided with the distribution. 37 - * 38 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 39 - * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 40 - * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 41 - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 42 - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 43 - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 44 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 45 - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 46 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 47 - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 48 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 49 - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 50 - * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 51 6 */ 52 7 #include "libfdt_env.h" 53 8
+1 -46
scripts/dtc/libfdt/fdt_empty_tree.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) 1 2 /* 2 3 * libfdt - Flat Device Tree manipulation 3 4 * Copyright (C) 2012 David Gibson, IBM Corporation. 4 - * 5 - * libfdt is dual licensed: you can use it either under the terms of 6 - * the GPL, or the BSD license, at your option. 7 - * 8 - * a) This library is free software; you can redistribute it and/or 9 - * modify it under the terms of the GNU General Public License as 10 - * published by the Free Software Foundation; either version 2 of the 11 - * License, or (at your option) any later version. 12 - * 13 - * This library is distributed in the hope that it will be useful, 14 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 - * GNU General Public License for more details. 17 - * 18 - * You should have received a copy of the GNU General Public 19 - * License along with this library; if not, write to the Free 20 - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 21 - * MA 02110-1301 USA 22 - * 23 - * Alternatively, 24 - * 25 - * b) Redistribution and use in source and binary forms, with or 26 - * without modification, are permitted provided that the following 27 - * conditions are met: 28 - * 29 - * 1. Redistributions of source code must retain the above 30 - * copyright notice, this list of conditions and the following 31 - * disclaimer. 32 - * 2. Redistributions in binary form must reproduce the above 33 - * copyright notice, this list of conditions and the following 34 - * disclaimer in the documentation and/or other materials 35 - * provided with the distribution. 36 - * 37 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 38 - * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 39 - * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 40 - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 41 - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 42 - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 43 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 44 - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 45 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 46 - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 47 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 48 - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 49 - * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 50 5 */ 51 6 #include "libfdt_env.h" 52 7
+1 -46
scripts/dtc/libfdt/fdt_overlay.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) 1 2 /* 2 3 * libfdt - Flat Device Tree manipulation 3 4 * Copyright (C) 2016 Free Electrons 4 5 * Copyright (C) 2016 NextThing Co. 5 - * 6 - * libfdt is dual licensed: you can use it either under the terms of 7 - * the GPL, or the BSD license, at your option. 8 - * 9 - * a) This library is free software; you can redistribute it and/or 10 - * modify it under the terms of the GNU General Public License as 11 - * published by the Free Software Foundation; either version 2 of the 12 - * License, or (at your option) any later version. 13 - * 14 - * This library is distributed in the hope that it will be useful, 15 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 - * GNU General Public License for more details. 18 - * 19 - * You should have received a copy of the GNU General Public 20 - * License along with this library; if not, write to the Free 21 - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 22 - * MA 02110-1301 USA 23 - * 24 - * Alternatively, 25 - * 26 - * b) Redistribution and use in source and binary forms, with or 27 - * without modification, are permitted provided that the following 28 - * conditions are met: 29 - * 30 - * 1. Redistributions of source code must retain the above 31 - * copyright notice, this list of conditions and the following 32 - * disclaimer. 33 - * 2. Redistributions in binary form must reproduce the above 34 - * copyright notice, this list of conditions and the following 35 - * disclaimer in the documentation and/or other materials 36 - * provided with the distribution. 37 - * 38 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 39 - * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 40 - * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 41 - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 42 - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 43 - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 44 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 45 - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 46 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 47 - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 48 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 49 - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 50 - * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 51 6 */ 52 7 #include "libfdt_env.h" 53 8
+1 -46
scripts/dtc/libfdt/fdt_ro.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) 1 2 /* 2 3 * libfdt - Flat Device Tree manipulation 3 4 * Copyright (C) 2006 David Gibson, IBM Corporation. 4 - * 5 - * libfdt is dual licensed: you can use it either under the terms of 6 - * the GPL, or the BSD license, at your option. 7 - * 8 - * a) This library is free software; you can redistribute it and/or 9 - * modify it under the terms of the GNU General Public License as 10 - * published by the Free Software Foundation; either version 2 of the 11 - * License, or (at your option) any later version. 12 - * 13 - * This library is distributed in the hope that it will be useful, 14 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 - * GNU General Public License for more details. 17 - * 18 - * You should have received a copy of the GNU General Public 19 - * License along with this library; if not, write to the Free 20 - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 21 - * MA 02110-1301 USA 22 - * 23 - * Alternatively, 24 - * 25 - * b) Redistribution and use in source and binary forms, with or 26 - * without modification, are permitted provided that the following 27 - * conditions are met: 28 - * 29 - * 1. Redistributions of source code must retain the above 30 - * copyright notice, this list of conditions and the following 31 - * disclaimer. 32 - * 2. Redistributions in binary form must reproduce the above 33 - * copyright notice, this list of conditions and the following 34 - * disclaimer in the documentation and/or other materials 35 - * provided with the distribution. 36 - * 37 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 38 - * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 39 - * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 40 - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 41 - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 42 - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 43 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 44 - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 45 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 46 - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 47 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 48 - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 49 - * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 50 5 */ 51 6 #include "libfdt_env.h" 52 7
+1 -46
scripts/dtc/libfdt/fdt_rw.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) 1 2 /* 2 3 * libfdt - Flat Device Tree manipulation 3 4 * Copyright (C) 2006 David Gibson, IBM Corporation. 4 - * 5 - * libfdt is dual licensed: you can use it either under the terms of 6 - * the GPL, or the BSD license, at your option. 7 - * 8 - * a) This library is free software; you can redistribute it and/or 9 - * modify it under the terms of the GNU General Public License as 10 - * published by the Free Software Foundation; either version 2 of the 11 - * License, or (at your option) any later version. 12 - * 13 - * This library is distributed in the hope that it will be useful, 14 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 - * GNU General Public License for more details. 17 - * 18 - * You should have received a copy of the GNU General Public 19 - * License along with this library; if not, write to the Free 20 - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 21 - * MA 02110-1301 USA 22 - * 23 - * Alternatively, 24 - * 25 - * b) Redistribution and use in source and binary forms, with or 26 - * without modification, are permitted provided that the following 27 - * conditions are met: 28 - * 29 - * 1. Redistributions of source code must retain the above 30 - * copyright notice, this list of conditions and the following 31 - * disclaimer. 32 - * 2. Redistributions in binary form must reproduce the above 33 - * copyright notice, this list of conditions and the following 34 - * disclaimer in the documentation and/or other materials 35 - * provided with the distribution. 36 - * 37 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 38 - * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 39 - * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 40 - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 41 - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 42 - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 43 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 44 - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 45 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 46 - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 47 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 48 - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 49 - * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 50 5 */ 51 6 #include "libfdt_env.h" 52 7
+1 -45
scripts/dtc/libfdt/fdt_strerror.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) 1 2 /* 2 3 * libfdt - Flat Device Tree manipulation 3 4 * Copyright (C) 2006 David Gibson, IBM Corporation. 4 - * 5 - * libfdt is dual licensed: you can use it either under the terms of 6 - * the GPL, or the BSD license, at your option. 7 - * 8 - * a) This library is free software; you can redistribute it and/or 9 - * modify it under the terms of the GNU General Public License as 10 - * published by the Free Software Foundation; either version 2 of the 11 - * License, or (at your option) any later version. 12 - * 13 - * This library is distributed in the hope that it will be useful, 14 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 - * GNU General Public License for more details. 17 - * 18 - * You should have received a copy of the GNU General Public 19 - * License along with this library; if not, write to the Free 20 - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 21 - * MA 02110-1301 USA 22 - * 23 - * Alternatively, 24 - * 25 - * b) Redistribution and use in source and binary forms, with or 26 - * without modification, are permitted provided that the following 27 - * conditions are met: 28 - * 29 - * 1. Redistributions of source code must retain the above 30 - * copyright notice, this list of conditions and the following 31 - * disclaimer. 32 - * 2. Redistributions in binary form must reproduce the above 33 - * copyright notice, this list of conditions and the following 34 - * disclaimer in the documentation and/or other materials 35 - * provided with the distribution. 36 - * 37 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 38 - * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 39 - * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 40 - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 41 - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 42 - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 43 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 44 - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 45 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 46 - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 47 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 48 - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 49 5 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 50 6 */ 51 7 #include "libfdt_env.h"
+1 -46
scripts/dtc/libfdt/fdt_sw.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) 1 2 /* 2 3 * libfdt - Flat Device Tree manipulation 3 4 * Copyright (C) 2006 David Gibson, IBM Corporation. 4 - * 5 - * libfdt is dual licensed: you can use it either under the terms of 6 - * the GPL, or the BSD license, at your option. 7 - * 8 - * a) This library is free software; you can redistribute it and/or 9 - * modify it under the terms of the GNU General Public License as 10 - * published by the Free Software Foundation; either version 2 of the 11 - * License, or (at your option) any later version. 12 - * 13 - * This library is distributed in the hope that it will be useful, 14 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 - * GNU General Public License for more details. 17 - * 18 - * You should have received a copy of the GNU General Public 19 - * License along with this library; if not, write to the Free 20 - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 21 - * MA 02110-1301 USA 22 - * 23 - * Alternatively, 24 - * 25 - * b) Redistribution and use in source and binary forms, with or 26 - * without modification, are permitted provided that the following 27 - * conditions are met: 28 - * 29 - * 1. Redistributions of source code must retain the above 30 - * copyright notice, this list of conditions and the following 31 - * disclaimer. 32 - * 2. Redistributions in binary form must reproduce the above 33 - * copyright notice, this list of conditions and the following 34 - * disclaimer in the documentation and/or other materials 35 - * provided with the distribution. 36 - * 37 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 38 - * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 39 - * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 40 - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 41 - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 42 - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 43 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 44 - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 45 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 46 - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 47 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 48 - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 49 - * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 50 5 */ 51 6 #include "libfdt_env.h" 52 7
+1 -46
scripts/dtc/libfdt/fdt_wip.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) 1 2 /* 2 3 * libfdt - Flat Device Tree manipulation 3 4 * Copyright (C) 2006 David Gibson, IBM Corporation. 4 - * 5 - * libfdt is dual licensed: you can use it either under the terms of 6 - * the GPL, or the BSD license, at your option. 7 - * 8 - * a) This library is free software; you can redistribute it and/or 9 - * modify it under the terms of the GNU General Public License as 10 - * published by the Free Software Foundation; either version 2 of the 11 - * License, or (at your option) any later version. 12 - * 13 - * This library is distributed in the hope that it will be useful, 14 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 - * GNU General Public License for more details. 17 - * 18 - * You should have received a copy of the GNU General Public 19 - * License along with this library; if not, write to the Free 20 - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 21 - * MA 02110-1301 USA 22 - * 23 - * Alternatively, 24 - * 25 - * b) Redistribution and use in source and binary forms, with or 26 - * without modification, are permitted provided that the following 27 - * conditions are met: 28 - * 29 - * 1. Redistributions of source code must retain the above 30 - * copyright notice, this list of conditions and the following 31 - * disclaimer. 32 - * 2. Redistributions in binary form must reproduce the above 33 - * copyright notice, this list of conditions and the following 34 - * disclaimer in the documentation and/or other materials 35 - * provided with the distribution. 36 - * 37 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 38 - * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 39 - * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 40 - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 41 - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 42 - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 43 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 44 - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 45 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 46 - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 47 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 48 - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 49 - * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 50 5 */ 51 6 #include "libfdt_env.h" 52 7
+1 -46
scripts/dtc/libfdt/libfdt.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ 1 2 #ifndef LIBFDT_H 2 3 #define LIBFDT_H 3 4 /* 4 5 * libfdt - Flat Device Tree manipulation 5 6 * Copyright (C) 2006 David Gibson, IBM Corporation. 6 - * 7 - * libfdt is dual licensed: you can use it either under the terms of 8 - * the GPL, or the BSD license, at your option. 9 - * 10 - * a) This library is free software; you can redistribute it and/or 11 - * modify it under the terms of the GNU General Public License as 12 - * published by the Free Software Foundation; either version 2 of the 13 - * License, or (at your option) any later version. 14 - * 15 - * This library is distributed in the hope that it will be useful, 16 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - * GNU General Public License for more details. 19 - * 20 - * You should have received a copy of the GNU General Public 21 - * License along with this library; if not, write to the Free 22 - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 23 - * MA 02110-1301 USA 24 - * 25 - * Alternatively, 26 - * 27 - * b) Redistribution and use in source and binary forms, with or 28 - * without modification, are permitted provided that the following 29 - * conditions are met: 30 - * 31 - * 1. Redistributions of source code must retain the above 32 - * copyright notice, this list of conditions and the following 33 - * disclaimer. 34 - * 2. Redistributions in binary form must reproduce the above 35 - * copyright notice, this list of conditions and the following 36 - * disclaimer in the documentation and/or other materials 37 - * provided with the distribution. 38 - * 39 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 40 - * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 41 - * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 42 - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 43 - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 44 - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 45 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 46 - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 47 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 48 - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 49 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 50 - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 51 - * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 52 7 */ 53 8 54 9 #include "libfdt_env.h"
+1 -46
scripts/dtc/libfdt/libfdt_env.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ 1 2 #ifndef LIBFDT_ENV_H 2 3 #define LIBFDT_ENV_H 3 4 /* 4 5 * libfdt - Flat Device Tree manipulation 5 6 * Copyright (C) 2006 David Gibson, IBM Corporation. 6 7 * Copyright 2012 Kim Phillips, Freescale Semiconductor. 7 - * 8 - * libfdt is dual licensed: you can use it either under the terms of 9 - * the GPL, or the BSD license, at your option. 10 - * 11 - * a) This library is free software; you can redistribute it and/or 12 - * modify it under the terms of the GNU General Public License as 13 - * published by the Free Software Foundation; either version 2 of the 14 - * License, or (at your option) any later version. 15 - * 16 - * This library is distributed in the hope that it will be useful, 17 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 - * GNU General Public License for more details. 20 - * 21 - * You should have received a copy of the GNU General Public 22 - * License along with this library; if not, write to the Free 23 - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 24 - * MA 02110-1301 USA 25 - * 26 - * Alternatively, 27 - * 28 - * b) Redistribution and use in source and binary forms, with or 29 - * without modification, are permitted provided that the following 30 - * conditions are met: 31 - * 32 - * 1. Redistributions of source code must retain the above 33 - * copyright notice, this list of conditions and the following 34 - * disclaimer. 35 - * 2. Redistributions in binary form must reproduce the above 36 - * copyright notice, this list of conditions and the following 37 - * disclaimer in the documentation and/or other materials 38 - * provided with the distribution. 39 - * 40 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 41 - * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 42 - * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 43 - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 44 - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 45 - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 46 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 47 - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 48 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 49 - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 50 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 51 - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 52 - * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 53 8 */ 54 9 55 10 #include <stdbool.h>
+1 -46
scripts/dtc/libfdt/libfdt_internal.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ 1 2 #ifndef LIBFDT_INTERNAL_H 2 3 #define LIBFDT_INTERNAL_H 3 4 /* 4 5 * libfdt - Flat Device Tree manipulation 5 6 * Copyright (C) 2006 David Gibson, IBM Corporation. 6 - * 7 - * libfdt is dual licensed: you can use it either under the terms of 8 - * the GPL, or the BSD license, at your option. 9 - * 10 - * a) This library is free software; you can redistribute it and/or 11 - * modify it under the terms of the GNU General Public License as 12 - * published by the Free Software Foundation; either version 2 of the 13 - * License, or (at your option) any later version. 14 - * 15 - * This library is distributed in the hope that it will be useful, 16 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - * GNU General Public License for more details. 19 - * 20 - * You should have received a copy of the GNU General Public 21 - * License along with this library; if not, write to the Free 22 - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 23 - * MA 02110-1301 USA 24 - * 25 - * Alternatively, 26 - * 27 - * b) Redistribution and use in source and binary forms, with or 28 - * without modification, are permitted provided that the following 29 - * conditions are met: 30 - * 31 - * 1. Redistributions of source code must retain the above 32 - * copyright notice, this list of conditions and the following 33 - * disclaimer. 34 - * 2. Redistributions in binary form must reproduce the above 35 - * copyright notice, this list of conditions and the following 36 - * disclaimer in the documentation and/or other materials 37 - * provided with the distribution. 38 - * 39 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 40 - * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 41 - * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 42 - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 43 - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 44 - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 45 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 46 - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 47 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 48 - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 49 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 50 - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 51 - * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 52 7 */ 53 8 #include <fdt.h> 54 9
+1 -16
scripts/dtc/livetree.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later 1 2 /* 2 3 * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. 3 - * 4 - * 5 - * This program is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU General Public License as 7 - * published by the Free Software Foundation; either version 2 of the 8 - * License, or (at your option) any later version. 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 - * General Public License for more details. 14 - * 15 - * You should have received a copy of the GNU General Public License 16 - * along with this program; if not, write to the Free Software 17 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 18 - * USA 19 4 */ 20 5 21 6 #include "dtc.h"
+1 -15
scripts/dtc/srcpos.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later 1 2 /* 2 3 * Copyright 2007 Jon Loeliger, Freescale Semiconductor, Inc. 3 - * 4 - * This program is free software; you can redistribute it and/or 5 - * modify it under the terms of the GNU General Public License as 6 - * published by the Free Software Foundation; either version 2 of the 7 - * License, or (at your option) any later version. 8 - * 9 - * This program is distributed in the hope that it will be useful, 10 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 - * General Public License for more details. 13 - * 14 - * You should have received a copy of the GNU General Public License 15 - * along with this program; if not, write to the Free Software 16 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 17 - * USA 18 4 */ 19 5 20 6 #define _GNU_SOURCE
+1 -15
scripts/dtc/srcpos.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-or-later */ 1 2 /* 2 3 * Copyright 2007 Jon Loeliger, Freescale Semiconductor, Inc. 3 - * 4 - * This program is free software; you can redistribute it and/or 5 - * modify it under the terms of the GNU General Public License as 6 - * published by the Free Software Foundation; either version 2 of the 7 - * License, or (at your option) any later version. 8 - * 9 - * This program is distributed in the hope that it will be useful, 10 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 - * General Public License for more details. 13 - * 14 - * You should have received a copy of the GNU General Public License 15 - * along with this program; if not, write to the Free Software 16 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 17 - * USA 18 4 */ 19 5 20 6 #ifndef SRCPOS_H
+1 -16
scripts/dtc/treesource.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later 1 2 /* 2 3 * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. 3 - * 4 - * 5 - * This program is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU General Public License as 7 - * published by the Free Software Foundation; either version 2 of the 8 - * License, or (at your option) any later version. 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 - * General Public License for more details. 14 - * 15 - * You should have received a copy of the GNU General Public License 16 - * along with this program; if not, write to the Free Software 17 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 18 - * USA 19 4 */ 20 5 21 6 #include "dtc.h"
+1 -15
scripts/dtc/util.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later 1 2 /* 2 3 * Copyright 2011 The Chromium Authors, All Rights Reserved. 3 4 * Copyright 2008 Jon Loeliger, Freescale Semiconductor, Inc. 4 5 * 5 6 * util_is_printable_string contributed by 6 7 * Pantelis Antoniou <pantelis.antoniou AT gmail.com> 7 - * 8 - * This program is free software; you can redistribute it and/or 9 - * modify it under the terms of the GNU General Public License as 10 - * published by the Free Software Foundation; either version 2 of the 11 - * License, or (at your option) any later version. 12 - * 13 - * This program is distributed in the hope that it will be useful, 14 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 - * General Public License for more details. 17 - * 18 - * You should have received a copy of the GNU General Public License 19 - * along with this program; if not, write to the Free Software 20 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 21 - * USA 22 8 */ 23 9 24 10 #include <ctype.h>
+1 -15
scripts/dtc/util.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-or-later */ 1 2 #ifndef UTIL_H 2 3 #define UTIL_H 3 4 ··· 9 8 /* 10 9 * Copyright 2011 The Chromium Authors, All Rights Reserved. 11 10 * Copyright 2008 Jon Loeliger, Freescale Semiconductor, Inc. 12 - * 13 - * This program is free software; you can redistribute it and/or 14 - * modify it under the terms of the GNU General Public License as 15 - * published by the Free Software Foundation; either version 2 of the 16 - * License, or (at your option) any later version. 17 - * 18 - * This program is distributed in the hope that it will be useful, 19 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 - * General Public License for more details. 22 - * 23 - * You should have received a copy of the GNU General Public License 24 - * along with this program; if not, write to the Free Software 25 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 26 - * USA 27 11 */ 28 12 29 13 #ifdef __GNUC__
+1 -1
scripts/dtc/version_gen.h
··· 1 - #define DTC_VERSION "DTC 1.5.0-g87963ee2" 1 + #define DTC_VERSION "DTC 1.5.0-g702c1b6c"
+1 -15
scripts/dtc/yamltree.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later 1 2 /* 2 3 * (C) Copyright Linaro, Ltd. 2018 3 4 * (C) Copyright Arm Holdings. 2017 4 5 * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. 5 - * 6 - * This program is free software; you can redistribute it and/or 7 - * modify it under the terms of the GNU General Public License as 8 - * published by the Free Software Foundation; either version 2 of the 9 - * License, or (at your option) any later version. 10 - * 11 - * This program is distributed in the hope that it will be useful, 12 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 - * General Public License for more details. 15 - * 16 - * You should have received a copy of the GNU General Public License 17 - * along with this program; if not, write to the Free Software 18 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 19 - * USA 20 6 */ 21 7 22 8 #include <stdlib.h>