[PATCH v2] tools/libfdt/fdt_rw: fix SPDX-License-Identifier
Max Merchel
Max.Merchel at ew.tq-group.com
Tue Aug 26 08:30:29 CEST 2025
Currently, the terms of both licenses (GPL 2.0 and BSD-2-Clause) must be
met.
However, before switching to the SPDX license identifier, the license
information in the file begins with:
"libfdt is dual licensed: you can use it either under the terms of
the GPL, or the BSD license, at your option."
Therefore, the missing "OR" between the licenses is added.
Fixes: 3508476 ("libfdt: SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause")
Signed-off-by: Max Merchel <Max.Merchel at ew.tq-group.com>
---
changes v2:
- commit message
- correct typo BSD-2-Clause
- change from sync to fix
- add information why this is a valid license change
- add Fixes: 3508476 ("libfdt: SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause")
- remove link to dtc repo
- add Masahiro Yamad as cc
- add Roger Meieras as to (Autor of fixed patch)
tools/libfdt/fdt_rw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/libfdt/fdt_rw.c b/tools/libfdt/fdt_rw.c
index 7189f014295..3d3395b125b 100644
--- a/tools/libfdt/fdt_rw.c
+++ b/tools/libfdt/fdt_rw.c
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause */
+// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
#include "fdt_host.h"
#include "../../scripts/dtc/libfdt/fdt_rw.c"
--
2.43.0
More information about the U-Boot
mailing list