SPDX: Convert tags to Linux Kernel style
Subsystems (13)
cover SPDX: Convert tags to Linux Kernel style
As per the emails I had sent before on this subject, I've converted our SPDX tags to Linux Kernel style. What this means, to quote from the kernel's Documentation/process/license-rules.rst file is:
2. Style:
The SPDX license identifier is added in form of a comment. The comment style depends on the file type::
C source: // SPDX-License-Identifier: <SPDX License Expression>
C header: /* SPDX-License-Identifier: <SPDX License Expression> */
ASM: /* SPDX-License-Identifier: <SPDX License Expression> */
scripts: # SPDX-License-Identifier: <SPDX License Expression>
.rst: .. SPDX-License-Identifier: <SPDX License Expression>
.dts{i}: // SPDX-License-Identifier: <SPDX License Expression>
Where, yes, the C source comments are not our usual style. But I believe that cross-project consistency is important and will further help us when we fixup some of our from Linux but un-tagged-currently files. I'm posting these patches currently for posterity as I will be pushing them both shortly (they have build tested the world successfully). I'm also not going to approve 1/2 to the ML as it's huge and I frankly expect Google to tell me I can't send it. The commit log is:
commit 83d290c56fab2d38cd1ab4c4cc7099559c1d5046
Author: Tom Rini <[email protected]> Date: Sun May 6 17:58:06 2018 -0400
SPDX: Convert all of our single license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us.
In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style.
This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one.
And I think the above summarizes things well. I am posting 2/2 for posterity as it contains no functional changes but to repeat what the commit log says, we go from "LICENSE-A LICENSE-B" to "LICENSE-A OR LICENSE-B" which allows for useful expressions to be made.
Signature · 1 line
Tom
PATCH 2/2 SPDX: Convert all of our multiple license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us.
In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style.
This commit changes all instances where we have multiple licenses (in these cases, dual license) declared in the SPDX-License-Identifier tag. In this case we change from listing "LICENSE-A LICENSE-B" or "LICENSE-A or LICENSE-B" or "(LICENSE-A OR LICENSE-B)" to "LICENSE-A OR LICENSE-B" as per the Linux Kernel style document. Note that parenthesis are allowed so when they were used before we continue to use them.
--- arch/arm/dts/bk4r1.dts | 3 +-- arch/arm/dts/fsl-ls1012a-frdm.dts | 3 +-- arch/arm/dts/fsl-ls1012a-frdm.dtsi | 3 +-- arch/arm/dts/fsl-ls1012a-qds.dts | 3 +-- arch/arm/dts/fsl-ls1012a-qds.dtsi | 3 +-- arch/arm/dts/fsl-ls1012a-rdb.dts | 3 +-- arch/arm/dts/fsl-ls1012a-rdb.dtsi | 3 +-- arch/arm/dts/fsl-ls1012a.dtsi | 3 +-- arch/arm/dts/fsl-ls1043a-qds-duart.dts | 3 +-- arch/arm/dts/fsl-ls1043a-qds-lpuart.dts | 3 +-- arch/arm/dts/fsl-ls1043a-qds.dtsi | 3 +-- arch/arm/dts/fsl-ls1043a-rdb.dts | 3 +-- arch/arm/dts/fsl-ls1043a.dtsi | 3 +-- arch/arm/dts/fsl-ls1046a-qds-duart.dts | 3 +-- arch/arm/dts/fsl-ls1046a-qds-lpuart.dts | 3 +-- arch/arm/dts/fsl-ls1046a-qds.dtsi | 3 +-- arch/arm/dts/fsl-ls1046a-rdb.dts | 3 +-- arch/arm/dts/fsl-ls1046a.dtsi | 3 +-- arch/arm/dts/fsl-ls1088a-qds.dts | 3 +-- arch/arm/dts/fsl-ls1088a-rdb.dts | 3 +-- arch/arm/dts/fsl-ls1088a.dtsi | 3 +-- arch/arm/dts/fsl-ls2080a-qds.dts | 3 +-- arch/arm/dts/fsl-ls2080a-rdb.dts | 3 +-- arch/arm/dts/fsl-ls2080a.dtsi | 3 +-- arch/arm/dts/fsl-ls2081a-rdb.dts | 3 +-- arch/arm/dts/fsl-ls2088a-rdb-qspi.dts | 3 +-- arch/arm/dts/imx53-cx9020.dts | 3 +-- arch/arm/dts/imx7-colibri.dts | 3 +-- arch/arm/dts/meson-gxl-mali.dtsi | 3 +-- arch/arm/dts/meson-gxl-s905x-khadas-vim.dts | 3 +-- arch/arm/dts/meson-gxl-s905x-libretech-cc.dts | 3 +-- arch/arm/dts/meson-gxl-s905x-p212.dtsi | 3 +-- arch/arm/dts/pcm052.dts | 3 +-- arch/arm/dts/rk3188-radxarock.dts | 3 +-- arch/arm/dts/rk3188.dtsi | 3 +-- arch/arm/dts/rk3229-evb.dts | 3 +-- arch/arm/dts/rk3288-evb.dts | 3 +-- arch/arm/dts/rk3288-evb.dtsi | 3 +-- arch/arm/dts/rk3288-fennec.dts | 3 +-- arch/arm/dts/rk3288-firefly.dts | 3 +-- arch/arm/dts/rk3288-firefly.dtsi | 3 +-- arch/arm/dts/rk3288-miqi.dts | 3 +-- arch/arm/dts/rk3288-miqi.dtsi | 3 +-- arch/arm/dts/rk3288-popmetal.dts | 3 +-- arch/arm/dts/rk3288-tinker.dts | 3 +-- arch/arm/dts/rk3368-geekbox-u-boot.dtsi | 3 +-- arch/arm/dts/rk3368-lion-u-boot.dtsi | 3 +-- arch/arm/dts/rk3368-lion.dts | 3 +-- arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 3 +-- arch/arm/dts/rk3368-sheep-u-boot.dtsi | 3 +-- arch/arm/dts/rk3399-puma-ddr1333.dts | 3 +-- arch/arm/dts/rk3399-puma-ddr1600.dts | 3 +-- arch/arm/dts/rk3399-puma-ddr1866.dts | 3 +-- arch/arm/dts/rk3399-puma.dtsi | 3 +-- arch/arm/dts/rk3xxx.dtsi | 3 +-- arch/arm/dts/socfpga_arria10_socdk_sdmmc_handoff.dtsi | 3 +-- arch/arm/dts/stm32mp15-ddr.dtsi | 3 +-- arch/arm/dts/stm32mp15-ddr3-2x4Gb-1066-binG.dtsi | 3 +-- arch/arm/dts/stm32mp157-u-boot.dtsi | 3 +-- arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 3 +-- arch/arm/dts/sun4i-a10-inet-3f.dts | 3 +-- arch/arm/dts/sun4i-a10-inet-3w.dts | 3 +-- arch/arm/dts/sun5i-a13-ampe-a76.dts | 3 +-- arch/arm/dts/sun5i-a13-inet-86vs.dts | 3 +-- arch/arm/dts/sun6i-a31-mixtile-loftq.dts | 3 +-- arch/arm/dts/sun7i-a20-ainol-aw1.dts | 3 +-- arch/arm/dts/sun7i-a20-m5.dts | 3 +-- arch/arm/dts/sun7i-a20-yones-toptech-bd1078.dts | 3 +-- arch/arm/dts/sun8i-h3-libretech-all-h3-cc.dts | 3 +-- arch/arm/dts/thunderx-88xx.dts | 3 +-- arch/arm/dts/thunderx-88xx.dtsi | 3 +-- arch/arm/dts/uniphier-pro5-4kbox.dts | 3 +-- arch/arm/dts/vf-colibri.dtsi | 3 +-- arch/arm/dts/vf.dtsi | 3 +-- arch/arm/dts/vf500-colibri.dts | 3 +-- arch/arm/dts/vf610-colibri.dts | 3 +-- arch/arm/dts/vf610-twr.dts | 3 +-- arch/arm/lib/crt0_aarch64_efi.S | 2 +- arch/arm/lib/crt0_arm_efi.S | 3 +-- arch/arm/mach-stm32mp/Makefile | 3 +-- arch/arm/mach-stm32mp/config.mk | 3 +-- arch/arm/mach-stm32mp/cpu.c | 3 +-- arch/arm/mach-stm32mp/dram_init.c | 3 +-- arch/arm/mach-stm32mp/include/mach/ddr.h | 3 +-- arch/arm/mach-stm32mp/include/mach/stm32.h | 3 +-- arch/arm/mach-stm32mp/include/mach/sys_proto.h | 3 +-- arch/arm/mach-stm32mp/spl.c | 3 +-- arch/arm/mach-stm32mp/syscon.c | 3 +-- arch/x86/include/asm/sfi.h | 3 +-- board/Arcturus/ucp1020/cmd_arc.c | 3 +-- board/intel/edison/config.mk | 3 +-- board/st/stm32mp1/Makefile | 3 +-- board/st/stm32mp1/README | 3 +-- board/st/stm32mp1/board.c | 3 +-- board/st/stm32mp1/spl.c | 3 +-- board/st/stm32mp1/stm32mp1.c | 3 +-- board/theobroma-systems/lion_rk3368/fit_spl_atf.its | 3 +-- board/theobroma-systems/puma_rk3399/fit_spl_atf.its | 3 +-- common/spl/spl_ubi.c | 3 +-- drivers/clk/clk_stm32mp1.c | 3 +-- drivers/mtd/ubispl/ubi-wrapper.h | 3 +-- drivers/mtd/ubispl/ubispl.c | 3 +-- drivers/mtd/ubispl/ubispl.h | 3 +-- drivers/power/pmic/stpmu1.c | 3 +-- drivers/ram/stm32mp1/Makefile | 3 +-- drivers/ram/stm32mp1/stm32mp1_ddr.c | 3 +-- drivers/ram/stm32mp1/stm32mp1_ddr.h | 3 +-- drivers/ram/stm32mp1/stm32mp1_ddr_regs.h | 3 +-- drivers/ram/stm32mp1/stm32mp1_ram.c | 3 +-- drivers/usb/gadget/f_mass_storage.c | 3 +-- include/api_public.h | 3 +-- include/configs/stm32mp1.h | 3 +-- include/miiphy.h | 3 +-- include/power/stpmu1.h | 3 +-- include/ubispl.h | 3 +-- lib/libfdt/fdt_region.c | 2 +- lib/libfdt/fdt_ro.c | 2 +- lib/lz4_wrapper.c | 3 +-- scripts/dtc/pylibfdt/libfdt.i_shipped | 3 +-- tools/relocate-rela.c | 3 +-- tools/stm32image.c | 3 +-- 121 files changed, 121 insertions(+), 239 deletions(-)
arch/arm/dts/bk4r1.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2016 Toradex AG - * - * SPDX-License-Identifier: GPL-2.0+ or X11 */ /dts-v1/;
arch/arm/dts/fsl-ls1012a-frdm.dts +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Device Tree file for Freescale Layerscape-1012A family SoC. * * Copyright 2016, Freescale Semiconductor - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/fsl-ls1012a-frdm.dtsi +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Device Tree file for Freescale Layerscape-1012A family SoC. * * Copyright 2016, Freescale Semiconductor - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /include/ "fsl-ls1012a.dtsi"
arch/arm/dts/fsl-ls1012a-qds.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2016 Freescale Semiconductor - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/fsl-ls1012a-qds.dtsi +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2016 Freescale Semiconductor - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /include/ "fsl-ls1012a.dtsi"
arch/arm/dts/fsl-ls1012a-rdb.dts +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Device Tree file for Freescale Layerscape-1012A family SoC. * * Copyright 2016, Freescale Semiconductor - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/fsl-ls1012a-rdb.dtsi +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Device Tree Include file for Freescale Layerscape-1012A family SoC. * * Copyright 2016, Freescale Semiconductor - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /include/ "fsl-ls1012a.dtsi"
arch/arm/dts/fsl-ls1012a.dtsi +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2016 Freescale Semiconductor - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /include/ "skeleton64.dtsi"
arch/arm/dts/fsl-ls1043a-qds-duart.dts +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Device Tree file for Freescale Layerscape-1043A family SoC. * * Copyright (C) 2015, Freescale Semiconductor - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/fsl-ls1043a-qds-lpuart.dts +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Device Tree file for Freescale Layerscape-1043A family SoC. * * Copyright (C) 2015, Freescale Semiconductor - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/fsl-ls1043a-qds.dtsi +1 -2
@@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Device Tree Include file for Freescale Layerscape-1043A family SoC. * * Copyright (C) 2015, Freescale Semiconductor * * Mingkai Hu <[email protected]> - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /include/ "fsl-ls1043a.dtsi"
arch/arm/dts/fsl-ls1043a-rdb.dts +1 -2
@@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Device Tree Include file for Freescale Layerscape-1043A family SoC. * * Copyright (C) 2015, Freescale Semiconductor * * Mingkai Hu <[email protected]> - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/fsl-ls1043a.dtsi +1 -2
@@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Device Tree Include file for Freescale Layerscape-1043A family SoC. * * Copyright (C) 2014-2015, Freescale Semiconductor * * Mingkai Hu <[email protected]> - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /include/ "skeleton64.dtsi"
arch/arm/dts/fsl-ls1046a-qds-duart.dts +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Device Tree file for Freescale Layerscape-1046A family SoC. * * Copyright (C) 2016, Freescale Semiconductor - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/fsl-ls1046a-qds-lpuart.dts +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Device Tree file for Freescale Layerscape-1046A family SoC. * * Copyright (C) 2016, Freescale Semiconductor - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/fsl-ls1046a-qds.dtsi +1 -2
@@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Device Tree Include file for Freescale Layerscape-1046A family SoC. * * Copyright (C) 2016, Freescale Semiconductor * * Mingkai Hu <[email protected]> - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /include/ "fsl-ls1046a.dtsi"
arch/arm/dts/fsl-ls1046a-rdb.dts +1 -2
@@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Device Tree Include file for Freescale Layerscape-1046A family SoC. * * Copyright 2016, Freescale Semiconductor * * Mingkai Hu <[email protected]> - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/fsl-ls1046a.dtsi +1 -2
@@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Device Tree Include file for Freescale Layerscape-1046A family SoC. * * Copyright (C) 2016, Freescale Semiconductor * * Mingkai Hu <[email protected]> - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /include/ "skeleton64.dtsi"
arch/arm/dts/fsl-ls1088a-qds.dts +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * NXP ls1088a QDS board device tree source * * Copyright 2017 NXP - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/fsl-ls1088a-rdb.dts +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * NXP ls1088a RDB board device tree source * * Copyright 2017 NXP - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/fsl-ls1088a.dtsi +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * NXP ls1088a SOC common device tree source * * Copyright 2017 NXP - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ / {
arch/arm/dts/fsl-ls2080a-qds.dts +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Freescale ls2080a QDS board device tree source * * Copyright 2013-2015 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/fsl-ls2080a-rdb.dts +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Freescale ls2080a RDB board device tree source * * Copyright 2013-2015 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/fsl-ls2080a.dtsi +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Freescale ls2080a SOC common device tree source * * Copyright 2013-2015 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ / {
arch/arm/dts/fsl-ls2081a-rdb.dts +1 -2
@@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * NXP LS2081A RDB board device tree source for QSPI-boot * * Author: Priyanka Jain <[email protected]> * * Copyright 2017 NXP - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/fsl-ls2088a-rdb-qspi.dts +1 -2
@@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * NXP ls2080a RDB board device tree source for QSPI-boot * * Author: Priyanka Jain <[email protected]> * * Copyright 2017 NXP - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/imx53-cx9020.dts +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2016 Beckhoff Automation * Copyright 2011 Freescale Semiconductor, Inc. * Copyright 2011 Linaro Ltd. - * - * SPDX-License-Identifier: GPL-2.0+ or X11 */ /dts-v1/;
arch/arm/dts/imx7-colibri.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2016 Toradex AG - * - * SPDX-License-Identifier: GPL-2.0+ or X11 */ /dts-v1/;
arch/arm/dts/meson-gxl-mali.dtsi +1 -2
@@ -1,8 +1,7 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (c) 2017 BayLibre SAS * Author: Neil Armstrong <[email protected]> - * - * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ &apb {
arch/arm/dts/meson-gxl-s905x-khadas-vim.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (c) 2017 Martin Blumenstingl <[email protected]>. - * - * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ /dts-v1/;
arch/arm/dts/meson-gxl-s905x-libretech-cc.dts +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (c) 2017 BayLibre, SAS. * Author: Neil Armstrong <[email protected]> * Author: Jerome Brunet <[email protected]> - * - * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ /dts-v1/;
arch/arm/dts/meson-gxl-s905x-p212.dtsi +1 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (c) 2016 Martin Blumenstingl <[email protected]>. * Based on meson-gx-p23x-q20x.dtsi:
@@ -5,8 +6,6 @@ * Author: Carlo Caione <[email protected]> * - Copyright (c) 2016 BayLibre, SAS. * Author: Neil Armstrong <[email protected]> - * - * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ /* Common DTSI for devices which are based on the P212 reference board. */
arch/arm/dts/pcm052.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2016 Toradex AG - * - * SPDX-License-Identifier: GPL-2.0+ or X11 */ /dts-v1/;
arch/arm/dts/rk3188-radxarock.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright (c) 2013 Heiko Stuebner <[email protected]> - * - * SPDX-License-Identifier: GPL-2.0+ or X11 */ /dts-v1/;
arch/arm/dts/rk3188.dtsi +1 -2
@@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright (c) 2013 MundoReader S.L. * Author: Heiko Stuebner <[email protected]> - * - * SPDX-License-Identifier: GPL-2.0+ or X11 */ #include <dt-bindings/gpio/gpio.h>
arch/arm/dts/rk3229-evb.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * (C) Copyright 2017 Rockchip Electronics Co., Ltd. - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/rk3288-evb.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * (C) Copyright 2016 Rockchip Electronics Co., Ltd - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/rk3288-evb.dtsi +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * (C) Copyright 2016 Rockchip Electronics Co., Ltd - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ #include "rk3288.dtsi"
arch/arm/dts/rk3288-fennec.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * (C) Copyright 2016 Rockchip Electronics Co., Ltd - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/rk3288-firefly.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright (c) 2014, 2015 FUKAUMI Naoki <[email protected]> - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/rk3288-firefly.dtsi +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright (c) 2014, 2015 FUKAUMI Naoki <[email protected]> - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ #include "rk3288.dtsi"
arch/arm/dts/rk3288-miqi.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * (C) Copyright 2016 Rockchip Electronics Co., Ltd - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/rk3288-miqi.dtsi +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright (c) 2016 Heiko Stuebner <[email protected]> - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ #include "rk3288.dtsi"
arch/arm/dts/rk3288-popmetal.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * (C) Copyright 2016 Rockchip Electronics Co., Ltd - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/rk3288-tinker.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * (C) Copyright 2016 Rockchip Electronics Co., Ltd - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/rk3368-geekbox-u-boot.dtsi +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ &pinctrl {
arch/arm/dts/rk3368-lion-u-boot.dtsi +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ / {
arch/arm/dts/rk3368-lion.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/rk3368-px5-evb-u-boot.dtsi +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ &pinctrl {
arch/arm/dts/rk3368-sheep-u-boot.dtsi +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ &pinctrl {
arch/arm/dts/rk3399-puma-ddr1333.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/rk3399-puma-ddr1600.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/rk3399-puma-ddr1866.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
arch/arm/dts/rk3399-puma.dtsi +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ #include <dt-bindings/pwm/pwm.h>
arch/arm/dts/rk3xxx.dtsi +1 -2
@@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright (c) 2013 MundoReader S.L. * Author: Heiko Stuebner <[email protected]> - * - * SPDX-License-Identifier: GPL-2.0+ or X11 */ #include <dt-bindings/interrupt-controller/irq.h>
arch/arm/dts/socfpga_arria10_socdk_sdmmc_handoff.dtsi +1 -2
@@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright (C) 2016-2017 Intel Corporation * - * SPDX-License-Identifier: GPL-2.0 X11 - * *<auto-generated> * This code was generated by a tool based on * handoffs from both Qsys and Quartus.
arch/arm/dts/stm32mp15-ddr.dtsi +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause /* * Copyright : STMicroelectronics 2018 - * - * SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ / {
arch/arm/dts/stm32mp15-ddr3-2x4Gb-1066-binG.dtsi +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause /* * Copyright (C) 2018, STMicroelectronics - All Rights Reserved - * - * SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ /* STM32MP157C ED1 and ED2 BOARD configuration
arch/arm/dts/stm32mp157-u-boot.dtsi +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause /* * Copyright : STMicroelectronics 2018 - * - * SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ / {
arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause /* * Copyright : STMicroelectronics 2018 - * - * SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #include <dt-bindings/clock/stm32mp1-clksrc.h>
arch/arm/dts/sun4i-a10-inet-3f.dts +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2015 Hans de Goede <[email protected]> * * Minimal dts file for the iNet 3F for u-boot only - * - * SPDX-License-Identifier: GPL-2.0+ or X11 */ /dts-v1/;
arch/arm/dts/sun4i-a10-inet-3w.dts +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2015 Hans de Goede <[email protected]> * * Minimal dts file for the iNet 3W for u-boot only - * - * SPDX-License-Identifier: GPL-2.0+ or X11 */ /dts-v1/;
arch/arm/dts/sun5i-a13-ampe-a76.dts +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2015 Hans de Goede <[email protected]> * * Minimal dts file for the Ampe A76 for u-boot only - * - * SPDX-License-Identifier: GPL-2.0+ or X11 */ /dts-v1/;
arch/arm/dts/sun5i-a13-inet-86vs.dts +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2015 Hans de Goede <[email protected]> * * Minimal dts file for the iNet 86VS for u-boot only - * - * SPDX-License-Identifier: GPL-2.0+ or X11 */ /dts-v1/;
arch/arm/dts/sun6i-a31-mixtile-loftq.dts +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2015 Hans de Goede <[email protected]> * * Minimal dts file for the Mixtile LOFT-Q for u-boot only - * - * SPDX-License-Identifier: GPL-2.0+ or X11 */ /dts-v1/;
arch/arm/dts/sun7i-a20-ainol-aw1.dts +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2015 Hans de Goede <[email protected]> * * Minimal dts file for the Ainol AW1 for u-boot only - * - * SPDX-License-Identifier: GPL-2.0+ or X11 */ /dts-v1/;
arch/arm/dts/sun7i-a20-m5.dts +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2015 Hans de Goede <[email protected]> * * Minimal dts file for the Mele M5 for u-boot only - * - * SPDX-License-Identifier: GPL-2.0+ or X11 */ /dts-v1/;
arch/arm/dts/sun7i-a20-yones-toptech-bd1078.dts +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2015 Hans de Goede <[email protected]> * * Minimal dts file for the Yones Toptech BD1078 for u-boot only - * - * SPDX-License-Identifier: GPL-2.0+ or X11 */ /dts-v1/;
arch/arm/dts/sun8i-h3-libretech-all-h3-cc.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (C) 2017 Chen-Yu Tsai <[email protected]> - * - * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ /dts-v1/;
arch/arm/dts/thunderx-88xx.dts +1 -2
@@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Cavium Thunder DTS file - Thunder board description * * Copyright (C) 2014, Cavium Inc. * - * SPDX-License-Identifier: GPL-2.0+ or X11 - * */ /dts-v1/;
arch/arm/dts/thunderx-88xx.dtsi +1 -2
@@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Cavium Thunder DTS file - Thunder SoC description * * Copyright (C) 2014, Cavium Inc. * - * SPDX-License-Identifier: GPL-2.0+ or X11 - * */ / {
arch/arm/dts/uniphier-pro5-4kbox.dts +1 -2
@@ -1,10 +1,9 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Device Tree Source for UniPhier Pro5 4KBOX Board (EVB-Pro5-4KBOX-M-V0) * * Copyright (C) 2015-2016 Socionext Inc. * Author: Masahiro Yamada <[email protected]> - * - * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ /dts-v1/;
arch/arm/dts/vf-colibri.dtsi +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2014 Toradex AG - * - * SPDX-License-Identifier: GPL-2.0+ or X11 */ #include "vf.dtsi"
arch/arm/dts/vf.dtsi +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2013 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ or X11 */ /include/ "skeleton.dtsi" #include <dt-bindings/gpio/gpio.h>
arch/arm/dts/vf500-colibri.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2014 Toradex AG - * - * SPDX-License-Identifier: GPL-2.0+ or X11 */ /dts-v1/;
arch/arm/dts/vf610-colibri.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2014 Toradex AG - * - * SPDX-License-Identifier: GPL-2.0+ or X11 */ /dts-v1/;
arch/arm/dts/vf610-twr.dts +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2016 Toradex AG - * - * SPDX-License-Identifier: GPL-2.0+ or X11 */ /dts-v1/;
arch/arm/lib/crt0_aarch64_efi.S +1 -1
@@ -1,9 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ OR BSD-2-Clause */ /* * crt0-efi-aarch64.S - PE/COFF header for aarch64 EFI applications * * Copright (C) 2014 Linaro Ltd. <[email protected]> * - * SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause * * This file is taken and modified from the gnu-efi project. */
arch/arm/lib/crt0_arm_efi.S +1 -2
@@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ OR BSD-2-Clause */ /* * crt0-efi-arm.S - PE/COFF header for ARM EFI applications * * Copright (C) 2014 Linaro Ltd. <[email protected]> * - * SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause - * * This file is taken and modified from the gnu-efi project. */
arch/arm/mach-stm32mp/Makefile +1 -2
@@ -1,8 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause # # Copyright (C) 2018, STMicroelectronics - All Rights Reserved # -# SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause -# obj-y += cpu.o obj-y += dram_init.o
arch/arm/mach-stm32mp/config.mk +1 -2
@@ -1,8 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause # # Copyright (C) 2018, STMicroelectronics - All Rights Reserved # -# SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause -# ALL-$(CONFIG_SPL_BUILD) += spl/u-boot-spl.stm32
arch/arm/mach-stm32mp/cpu.c +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause /* * Copyright (C) 2018, STMicroelectronics - All Rights Reserved -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #include <common.h> #include <clk.h>
arch/arm/mach-stm32mp/dram_init.c +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause /* * Copyright (C) 2018, STMicroelectronics - All Rights Reserved -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #include <common.h>
arch/arm/mach-stm32mp/include/mach/ddr.h +1 -2
@@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ /* * Copyright (C) 2018, STMicroelectronics - All Rights Reserved -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #ifndef __MACH_STM32MP_DDR_H_
arch/arm/mach-stm32mp/include/mach/stm32.h +1 -2
@@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ /* * Copyright (C) 2018, STMicroelectronics - All Rights Reserved -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #ifndef _MACH_STM32_H_
arch/arm/mach-stm32mp/include/mach/sys_proto.h +1 -2
@@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ /* * Copyright (C) 2015-2017, STMicroelectronics - All Rights Reserved -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #define CPU_STMP32MP15x 0x500
arch/arm/mach-stm32mp/spl.c +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause /* * Copyright (C) 2018, STMicroelectronics - All Rights Reserved -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #include <common.h>
arch/arm/mach-stm32mp/syscon.c +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause /* * Copyright (C) 2018, STMicroelectronics - All Rights Reserved -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #include <common.h>
arch/x86/include/asm/sfi.h +1 -2
@@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ /* * Copyright(c) 2009 Intel Corporation. All rights reserved. -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #ifndef _LINUX_SFI_H
board/Arcturus/ucp1020/cmd_arc.c +1 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause /* * Command for accessing Arcturus factory environment. *
@@ -5,8 +6,6 @@* http://www.arcturusnetworks.com/products/ucp1020/ * by Oleksandr G Zhadan et al. * -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause -* */ #include <common.h>
board/intel/edison/config.mk +1 -2
@@ -1,9 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause # # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. # Copyright (c) 2017 Intel Corporation # -# SPDX-License-Identifier: GPL-2.0 BSD-3-Clause -# # Add 4096 bytes of zeroes to u-boot.bin quiet_cmd_mkalign_eds = EDSALGN $@
board/st/stm32mp1/Makefile +1 -2
@@ -1,8 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause # # Copyright (C) 2018, STMicroelectronics - All Rights Reserved # -# SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause -# ifdef CONFIG_SPL_BUILD obj-y += spl.o
board/st/stm32mp1/README +1 -2
@@ -1,8 +1,7 @@ +SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause # # Copyright (C) 2018 STMicroelectronics - All Rights Reserved # -# SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause -# U-Boot on STMicroelectronics STM32MP1 ======================================
board/st/stm32mp1/board.c +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause /* * Copyright (C) 2018, STMicroelectronics - All Rights Reserved -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #include <common.h>
board/st/stm32mp1/spl.c +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause /* * Copyright (C) 2018, STMicroelectronics - All Rights Reserved -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #include <config.h>
board/st/stm32mp1/stm32mp1.c +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause /* * Copyright (C) 2018, STMicroelectronics - All Rights Reserved -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #include <config.h> #include <common.h>
board/theobroma-systems/lion_rk3368/fit_spl_atf.its +1 -2
@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ OR X11 */ /* * Copyright (C) 2017 Theobroma Systems Design und Consulting GmbH * * Minimal dts for a SPL FIT image payload. - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
board/theobroma-systems/puma_rk3399/fit_spl_atf.its +1 -2
@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ OR X11 */ /* * Copyright (C) 2017 Theobroma Systems Design und Consulting GmbH * * Minimal dts for a SPL FIT image payload. - * - * SPDX-License-Identifier: GPL-2.0+ X11 */ /dts-v1/;
common/spl/spl_ubi.c +1 -2
@@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause /* * Copyright (C) 2016 * Ladislav Michl <[email protected]> -* -* SPDX-License-Identifier: GPL 2.0+ BSD-3-Clause */ #include <common.h>
drivers/clk/clk_stm32mp1.c +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause /* * Copyright (C) 2018, STMicroelectronics - All Rights Reserved -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #include <common.h>
drivers/mtd/ubispl/ubi-wrapper.h +1 -2
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL 2.0+ OR BSD-3-Clause */ /* * The parts taken from the kernel implementation are: *
@@ -6,8 +7,6 @@* UBISPL specific defines: * * Copyright (c) Thomas Gleixner <[email protected]> -* -* SPDX-License-Identifier: GPL 2.0+ BSD-3-Clause */ /*
drivers/mtd/ubispl/ubispl.c +1 -2
@@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause /* * Copyright (c) Thomas Gleixner <[email protected]> * * The parts taken from the kernel implementation are: * * Copyright (c) International Business Machines Corp., 2006 -* -* SPDX-License-Identifier: GPL 2.0+ BSD-3-Clause */ #include <common.h>
drivers/mtd/ubispl/ubispl.h +1 -2
@@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL 2.0+ OR BSD-3-Clause */ /* * Copyright (c) Thomas Gleixner <[email protected]> -* -* SPDX-License-Identifier: GPL 2.0+ BSD-3-Clause */ #ifndef _UBOOT_MTD_UBISPL_H
drivers/power/pmic/stpmu1.c +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause /* * Copyright (C) 2018, STMicroelectronics - All Rights Reserved -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #include <common.h>
drivers/ram/stm32mp1/Makefile +1 -2
@@ -1,8 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause # # Copyright (C) 2018, STMicroelectronics - All Rights Reserved # -# SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause -# obj-y += stm32mp1_ram.o obj-y += stm32mp1_ddr.o
drivers/ram/stm32mp1/stm32mp1_ddr.c +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause /* * Copyright (C) 2018, STMicroelectronics - All Rights Reserved -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #include <common.h>
drivers/ram/stm32mp1/stm32mp1_ddr.h +1 -2
@@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ /* * Copyright (C) 2018, STMicroelectronics - All Rights Reserved -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #ifndef _RAM_STM32MP1_DDR_H
drivers/ram/stm32mp1/stm32mp1_ddr_regs.h +1 -2
@@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ /* * Copyright (C) 2018, STMicroelectronics - All Rights Reserved -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #ifndef _RAM_STM32MP1_DDR_REGS_H
drivers/ram/stm32mp1/stm32mp1_ram.c +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause /* * Copyright (C) 2018, STMicroelectronics - All Rights Reserved -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #include <common.h>
drivers/usb/gadget/f_mass_storage.c +1 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause /* * f_mass_storage.c -- Mass Storage USB Composite Function *
@@ -5,8 +6,6 @@* Copyright (C) 2009 Samsung Electronics * Author: Michal Nazarewicz <[email protected]> * All rights reserved. -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ /*
include/api_public.h +1 -2
@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ OR BSD-2-Clause */ /* * (C) Copyright 2007-2008 Semihalf * * Written by: Rafal Jaworowski <[email protected]> -* -* SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause */ #ifndef _API_PUBLIC_H_
include/configs/stm32mp1.h +1 -2
@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ /* * Copyright (C) 2018, STMicroelectronics - All Rights Reserved * * Configuration settings for the STM32MP15x CPU -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #ifndef __CONFIG_H
include/miiphy.h +1 -2
@@ -1,6 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0 OR IBM-pibs */ /* -* SPDX-License-Identifier: GPL-2.0 IBM-pibs -* * Additions (C) Copyright 2009 Industrie Dial Face S.p.A. */ /*----------------------------------------------------------------------------+
include/power/stpmu1.h +1 -2
@@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ /* * Copyright (C) 2018, STMicroelectronics - All Rights Reserved -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #ifndef __PMIC_STPMU1_H_
include/ubispl.h +1 -2
@@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL 2.0+ OR BSD-3-Clause */ /* * Copyright (c) Thomas Gleixner <[email protected]> -* -* SPDX-License-Identifier: GPL 2.0+ BSD-3-Clause */ #ifndef __UBOOT_UBISPL_H#define __UBOOT_UBISPL_H
lib/libfdt/fdt_region.c +1 -1
@@ -1,8 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-2-Clause /* * libfdt - Flat Device Tree manipulation * Copyright (C) 2013 Google, Inc * Written by Simon Glass <[email protected]> -* SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause */ #include <linux/libfdt_env.h>
lib/libfdt/fdt_ro.c +1 -1
@@ -1,7 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-2-Clause /* * libfdt - Flat Device Tree manipulation * Copyright (C) 2006 David Gibson, IBM Corporation. -* SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause */ #include <linux/libfdt_env.h>
lib/lz4_wrapper.c +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL 2.0+ OR BSD-3-Clause /* * Copyright 2015 Google Inc. -* -* SPDX-License-Identifier: GPL 2.0+ BSD-3-Clause */ #include <common.h>
scripts/dtc/pylibfdt/libfdt.i_shipped +1 -2
@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ OR BSD-2-Clause */ /* * pylibfdt - Flat Device Tree manipulation in Python * Copyright (C) 2017 Google, Inc. * Written by Simon Glass <[email protected]> - * - * SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause */ %module libfdt
tools/relocate-rela.c +1 -2
@@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-2-Clause /* * Copyright 2013 Freescale Semiconductor, Inc. * -* SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause -* * 64-bit and little-endian target only until we need to support a different * arch that needs this. */
tools/stm32image.c +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause /* * Copyright (C) 2018, STMicroelectronics - All Rights Reserved -* -* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #include <image.h>
Signature · 1 line
2.7.4
Fabio Estevam
reviewerPATCH 2/2 SPDX: Convert all of our multiple license tags to Linux Kernel style
Hi Tom,
arch/arm/dts/bk4r1.dts line 1
Quoted 6 lines · Tom Rini
arch/arm/dts/bk4r1.dts +1
-0@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11
I don't see a single occurrence of 'GPL-2.0+ OR X11' in the kernel tree.
It seems that people use 'GPL-2.0+ OR MIT' instead.
PATCH 2/2 SPDX: Convert all of our multiple license tags to Linux Kernel style
Quoted 13 lines · Fabio Estevam
Hi Tom,
arch/arm/dts/bk4r1.dts line 1
Quoted 6 lines · Tom Rini
arch/arm/dts/bk4r1.dts +1
-0@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR X11I don't see a single occurrence of 'GPL-2.0+ OR X11' in the kernel tree.
Quoted 1 line
It seems that people use 'GPL-2.0+ OR MIT' instead.
They do, and on IRC someone was commenting on this as well. This is however what the current tag uses and for a strict conversion patch I don't feel I should change things. Thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180507/442988da/attachment.sig>
Fabio Estevam
reviewerPATCH 2/2 SPDX: Convert all of our multiple license tags to Linux Kernel style
Quoted 7 lines · Tom Rini
Quoted 3 lines
I don't see a single occurrence of 'GPL-2.0+ OR X11' in the kernel tree.
It seems that people use 'GPL-2.0+ OR MIT' instead.
They do, and on IRC someone was commenting on this as well. This is however what the current tag uses and for a strict conversion patch I don't feel I should change things. Thanks!
Ok, it makes sense. This could be adapted later if needed.
Thanks for doing this.
PATCH 2/2 SPDX: Convert all of our multiple license tags to Linux Kernel style
In reply to Tom RiniQuoted 11 lines · Tom Rini
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us.
In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style.
Quoted 8 lines
This commit changes all instances where we have multiple licenses (in these cases, dual license) declared in the SPDX-License-Identifier tag. In this case we change from listing "LICENSE-A LICENSE-B" or "LICENSE-A or LICENSE-B" or "(LICENSE-A OR LICENSE-B)" to "LICENSE-A OR LICENSE-B" as per the Linux Kernel style document. Note that parenthesis are allowed so when they were used before we continue to use them.
Signed-off-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180507/19f49986/attachment.sig>
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/2 SPDX: Convert all of our single license tags to Linux Kernel style
Quoted 11 lines · Tom Rini
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us.
In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style.
Quoted 6 lines
This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one.
Signed-off-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180507/80475ad8/attachment.sig>
cover SPDX: Convert tags to Linux Kernel style
In reply to Tom RiniQuoted 45 lines · Tom Rini
As per the emails I had sent before on this subject, I've converted our SPDX tags to Linux Kernel style. What this means, to quote from the kernel's
Documentation/process/license-rules.rstfile is:
2. Style:The SPDX license identifier is added in form of a comment. The comment style depends on the file type::
C source: // SPDX-License-Identifier: <SPDX License Expression>
C header: /* SPDX-License-Identifier: <SPDX License Expression> */
ASM: /* SPDX-License-Identifier: <SPDX License Expression> */
scripts: # SPDX-License-Identifier: <SPDX License Expression>
.rst: .. SPDX-License-Identifier: <SPDX License Expression>
.dts{i}: // SPDX-License-Identifier: <SPDX License Expression>Where, yes, the C source comments are not our usual style. But I believe that cross-project consistency is important and will further help us when we fixup some of our from Linux but un-tagged-currently files. I'm posting these patches currently for posterity as I will be pushing them both shortly (they have build tested the world successfully). I'm also not going to approve 1/2 to the ML as it's huge and I frankly expect Google to tell me I can't send it. The commit log is:
commit
83d290c56fab2d38cd1ab4c4cc7099559c1d5046Author: Tom Rini <[email protected]> Date: Sun May 6 17:58:06 2018 -0400SPDX: Convert all of our single license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us.
In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style.
This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one.
Quoted 7 lines
Signed-off-by Tom Rini <[email protected]>And I think the above summarizes things well. I am posting 2/2 for posterity as it contains no functional changes but to repeat what the commit log says, we go from "LICENSE-A LICENSE-B" to "LICENSE-A OR LICENSE-B" which allows for useful expressions to be made.
Hello Tom,
thanks for picking up this tedious task.
Unfortunately you missed some files, e.g.
include/efi_driver.h:6: * SPDX-License-Identifier: GPL-2.0+ include/efi_loader.h:6: * SPDX-License-Identifier: GPL-2.0+
include/asm-generic/pe.h:9: * SPDX-License-Identifier: GPL-2.0+include/pe.h:8: * SPDX-License-Identifier: GPL-2.0+include/charset.h:6: * SPDX-License-Identifier: GPL-2.0+include/efi_selftest.h:6: * SPDX-License-Identifier: GPL-2.0+lib/efi_driver/efi_uclass.c:6: * SPDX-License-Identifier: GPL-2.0+lib/efi_driver/efi_block_device.c:6: * SPDX-License-Identifier:
GPL-2.0+ lib/efi_selftest/efi_miniapp_file_image_return.h:6: *
SPDX-License-Identifier: GPL-2.0+ lib/efi_selftest/efi_selftest_disk_image.h:6: *
SPDX-License-Identifier: GPL-2.0+lib/efi_selftest/efi_miniapp_file_image_exit.h:6: *
SPDX-License-Identifier: GPL-2.0+lib/charset.c:6: * SPDX-License-Identifier: GPL-2.0+lib/efi_loader/efi_device_path_utilities.c:6: *
SPDX-License-Identifier: GPL-2.0+lib/efi_loader/efi_image_loader.c:8: * SPDX-License-Identifier:
GPL-2.0+lib/efi_loader/efi_variable.c:6: * SPDX-License-Identifier: GPL-2.0+lib/efi_loader/efi_bootmgr.c:6: * SPDX-License-Identifier: GPL-2.0+
lib/efi_loader/efi_net.c:6: * SPDX-License-Identifier: GPL-2.0+ lib/efi_loader/efi_gop.c:6: * SPDX-License-Identifier: GPL-2.0+
lib/efi_loader/efi_smbios.c:6: * SPDX-License-Identifier: GPL-2.0+lib/efi_loader/efi_console.c:6: * SPDX-License-Identifier: GPL-2.0+lib/efi_loader/efi_disk.c:6: * SPDX-License-Identifier: GPL-2.0+lib/efi_loader/efi_watchdog.c:6: * SPDX-License-Identifier: GPL-2.0+lib/efi_loader/efi_memory.c:6: * SPDX-License-Identifier: GPL-2.0+lib/efi_loader/efi_boottime.c:6: * SPDX-License-Identifier: GPL-2.0+lib/efi_loader/efi_file.c:6: * SPDX-License-Identifier: GPL-2.0+lib/efi_loader/efi_runtime.c:6: * SPDX-License-Identifier: GPL-2.0+lib/efi_loader/efi_device_path_to_text.c:6: * SPDX-License-Identifier:
GPL-2.0+arch/arm/mach-rmobile/include/mach/ehci-rmobile.h:5: *
SPDX-License-Identifier: GPL-2.0arch/arm/thumb1/include/asm/proc-armv/system.h:11: *
SPDX-License-Identifier: GPL-2.0+cmd/bootefi.c:6: * SPDX-License-Identifier: GPL-2.0+drivers/net/vsc9953.c:4: * SPDX-License-Identifier: GPL-2.0+drivers/usb/host/ehci-rmobile.c:7: * SPDX-License-Identifier: GPL-2.0
Best regards
Heinrich
cover SPDX: Convert tags to Linux Kernel style
Quoted 54 lines · Heinrich Schuchardt
Quoted 45 lines · Tom Rini
As per the emails I had sent before on this subject, I've converted our SPDX tags to Linux Kernel style. What this means, to quote from the kernel's
Documentation/process/license-rules.rstfile is:
2. Style:The SPDX license identifier is added in form of a comment. The comment style depends on the file type::
C source: // SPDX-License-Identifier: <SPDX License Expression>
C header: /* SPDX-License-Identifier: <SPDX License Expression> */
ASM: /* SPDX-License-Identifier: <SPDX License Expression> */
scripts: # SPDX-License-Identifier: <SPDX License Expression>
.rst: .. SPDX-License-Identifier: <SPDX License Expression>
.dts{i}: // SPDX-License-Identifier: <SPDX License Expression>Where, yes, the C source comments are not our usual style. But I believe that cross-project consistency is important and will further help us when we fixup some of our from Linux but un-tagged-currently files. I'm posting these patches currently for posterity as I will be pushing them both shortly (they have build tested the world successfully). I'm also not going to approve 1/2 to the ML as it's huge and I frankly expect Google to tell me I can't send it. The commit log is:
commit
83d290c56fab2d38cd1ab4c4cc7099559c1d5046Author: Tom Rini <[email protected]> Date: Sun May 6 17:58:06 2018 -0400SPDX: Convert all of our single license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us.
In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style.
This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one.
Quoted 7 lines
Signed-off-by Tom Rini <[email protected]>And I think the above summarizes things well. I am posting 2/2 for posterity as it contains no functional changes but to repeat what the commit log says, we go from "LICENSE-A LICENSE-B" to "LICENSE-A OR LICENSE-B" which allows for useful expressions to be made.
Quoted 7 lines
Hello Tom,
thanks for picking up this tedious task.
Unfortunately you missed some files, e.g.
include/efi_driver.h:6: * SPDX-License-Identifier: GPL-2.0+
A-yup, I didn't grep on ' *[[:blank:]]+SPDX-..' just a single space. I'll do a fixup shortly and post that. Consider it an after the fact additional reason to use the format that checkpatch.pl will catch (And that I run before every push). Thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180507/adc50375/attachment.sig>