Skip to content

Commit 12869ec

Browse files
committed
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>
1 parent 1bdd445 commit 12869ec

31 files changed

Lines changed: 31 additions & 833 deletions

‎scripts/dtc/Makefile.dtc‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: GPL-2.0-or-later
12
# Makefile.dtc
23
#
34
# This is not a complete Makefile of itself. Instead, it is designed to

‎scripts/dtc/checks.c‎

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/*
23
* (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
194
*/
205

216
#include "dtc.h"

‎scripts/dtc/data.c‎

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/*
23
* (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
194
*/
205

216
#include "dtc.h"

‎scripts/dtc/dtc-lexer.l‎

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
1+
/* SPDX-License-Identifier: GPL-2.0-or-later */
12
/*
23
* (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
194
*/
205

216
%option noyywrap nounput noinput never-interactive

‎scripts/dtc/dtc-parser.y‎

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/*
23
* (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
194
*/
205
%{
216
#include <stdio.h>

‎scripts/dtc/dtc.c‎

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/*
23
* (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
194
*/
205

216
#include <sys/stat.h>

‎scripts/dtc/dtc.h‎

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,9 @@
1+
/* SPDX-License-Identifier: GPL-2.0-or-later */
12
#ifndef DTC_H
23
#define DTC_H
34

45
/*
56
* (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
227
*/
238

249
#include <stdio.h>

‎scripts/dtc/flattree.c‎

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/*
23
* (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
194
*/
205

216
#include "dtc.h"

‎scripts/dtc/fstree.c‎

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/*
23
* (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
194
*/
205

216
#include "dtc.h"

‎scripts/dtc/libfdt/Makefile.libfdt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
12
# Makefile.libfdt
23
#
34
# This is not a complete Makefile of itself. Instead, it is designed to

0 commit comments

Comments
 (0)