Skip to contentSkip to conversation

treewide: SPDXify files without license statement

PATCH Applied Ahmad Fatoum 4 participants 15 messages Jan 3, 2022 – Jan 5, 2022 Page 2 of 2

Subsystems (65)
lore
Share & tools
lore
#8 lore raw

PATCH 8/11 arch: add SPDX-License-Identifier to all headers

In reply to Ahmad Fatoum

Record GPL-2.0-only as license for all files lacking an explicit license statement.

---
 arch/arm/boards/archosg9/archos_features.h                  | 2 ++
 arch/arm/boards/archosg9/mux.h                              | 2 ++
 arch/arm/boards/at91rm9200ek/config.h                       | 2 ++
 arch/arm/boards/beaglebone/beaglebone.h                     | 2 ++
 arch/arm/boards/ebv-socrates/sequencer_auto.h               | 2 ++
 arch/arm/boards/ebv-socrates/sequencer_defines.h            | 2 ++
 arch/arm/boards/friendlyarm-mini6410/config.h               | 2 ++
 arch/arm/boards/friendlyarm-tiny210/config.h                | 2 ++
 arch/arm/boards/friendlyarm-tiny6410/config.h               | 2 ++
 arch/arm/boards/raspberry-pi/lowlevel.h                     | 2 ++
 arch/arm/boards/skov-imx6/version.h                         | 2 ++
 arch/arm/cpu/entry.h                                        | 2 ++
 arch/arm/cpu/mmu-common.h                                   | 4 +++-
 arch/arm/cpu/mmu.h                                          | 2 ++
 arch/arm/cpu/mmu_64.h                                       | 1 +
 arch/arm/include/asm/armlinux.h                             | 2 ++
 arch/arm/include/asm/asm-offsets.h                          | 4 +++-
 arch/arm/include/asm/assembler64.h                          | 4 +++-
 arch/arm/include/asm/barebox-arm-head.h                     | 2 ++
 arch/arm/include/asm/bitops.h                               | 2 ++
 arch/arm/include/asm/bitsperlong.h                          | 2 ++
 arch/arm/include/asm/byteorder.h                            | 2 ++
 arch/arm/include/asm/cache.h                                | 2 ++
 arch/arm/include/asm/common.h                               | 2 ++
 arch/arm/include/asm/cputype.h                              | 2 ++
 arch/arm/include/asm/elf.h                                  | 2 ++
 arch/arm/include/asm/gic.h                                  | 2 ++
 arch/arm/include/asm/hardware/arm_timer.h                   | 2 ++
 arch/arm/include/asm/io.h                                   | 2 ++
 arch/arm/include/asm/linkage.h                              | 2 ++
 arch/arm/include/asm/memory.h                               | 2 ++
 arch/arm/include/asm/mmu.h                                  | 2 ++
 arch/arm/include/asm/module.h                               | 2 ++
 arch/arm/include/asm/posix_types.h                          | 2 ++
 arch/arm/include/asm/sections.h                             | 2 ++
 arch/arm/include/asm/secure.h                               | 2 ++
 arch/arm/include/asm/semihosting.h                          | 2 ++
 arch/arm/include/asm/stacktrace.h                           | 2 ++
 arch/arm/include/asm/string.h                               | 2 ++
 arch/arm/include/asm/swab.h                                 | 2 ++
 arch/arm/include/asm/syscounter.h                           | 4 +++-
 arch/arm/include/asm/system.h                               | 2 ++
 arch/arm/include/asm/system_info.h                          | 2 ++
 arch/arm/include/asm/types.h                                | 2 ++
 arch/arm/include/asm/unaligned.h                            | 2 ++
 arch/arm/mach-at91/include/mach/at91sam926x.h               | 2 ++
 arch/arm/mach-at91/include/mach/barebox-arm-head.h          | 2 ++
 arch/arm/mach-at91/include/mach/early_udelay.h              | 2 ++
 arch/arm/mach-at91/include/mach/sama5d2_ll.h                | 2 ++
 arch/arm/mach-at91/include/mach/xload.h                     | 2 ++
 arch/arm/mach-clps711x/include/mach/devices.h               | 2 ++
 arch/arm/mach-ep93xx/include/mach/barebox.lds.h             | 1 +
 arch/arm/mach-imx/include/mach/atf.h                        | 2 ++
 arch/arm/mach-imx/include/mach/bbu.h                        | 2 ++
 arch/arm/mach-imx/include/mach/ccm.h                        | 4 +++-
 arch/arm/mach-imx/include/mach/clock.h                      | 2 ++
 arch/arm/mach-imx/include/mach/debug_ll.h                   | 2 ++
 arch/arm/mach-imx/include/mach/devices-imx1.h               | 2 ++
 arch/arm/mach-imx/include/mach/devices-imx21.h              | 1 +
 arch/arm/mach-imx/include/mach/devices-imx25.h              | 1 +
 arch/arm/mach-imx/include/mach/devices-imx27.h              | 1 +
 arch/arm/mach-imx/include/mach/devices-imx31.h              | 1 +
 arch/arm/mach-imx/include/mach/devices-imx35.h              | 1 +
 arch/arm/mach-imx/include/mach/devices-imx50.h              | 1 +
 arch/arm/mach-imx/include/mach/devices-imx51.h              | 1 +
 arch/arm/mach-imx/include/mach/devices-imx53.h              | 1 +
 arch/arm/mach-imx/include/mach/devices-imx6.h               | 2 ++
 arch/arm/mach-imx/include/mach/devices.h                    | 1 +
 arch/arm/mach-imx/include/mach/esdctl-v4.h                  | 2 ++
 arch/arm/mach-imx/include/mach/esdctl.h                     | 2 ++
 arch/arm/mach-imx/include/mach/generic.h                    | 2 ++
 arch/arm/mach-imx/include/mach/habv3-imx25-gencsf.h         | 2 ++
 arch/arm/mach-imx/include/mach/habv4-imx6-gencsf-template.h | 2 ++
 arch/arm/mach-imx/include/mach/habv4-imx6-gencsf.h          | 1 +
 arch/arm/mach-imx/include/mach/habv4-imx6ull-gencsf.h       | 1 +
 arch/arm/mach-imx/include/mach/habv4-imx8-gencsf.h          | 2 ++
 arch/arm/mach-imx/include/mach/imx-gpio.h                   | 2 ++
 arch/arm/mach-imx/include/mach/imx-header.h                 | 2 ++
 arch/arm/mach-imx/include/mach/imx-nand.h                   | 2 ++
 arch/arm/mach-imx/include/mach/imx-pll.h                    | 2 ++
 arch/arm/mach-imx/include/mach/imx1-regs.h                  | 2 ++
 arch/arm/mach-imx/include/mach/imx21-regs.h                 | 2 ++
 arch/arm/mach-imx/include/mach/imx25-fusemap.h              | 2 ++
 arch/arm/mach-imx/include/mach/imx27-regs.h                 | 2 ++
 arch/arm/mach-imx/include/mach/imx5.h                       | 2 ++
 arch/arm/mach-imx/include/mach/imx50-regs.h                 | 2 ++
 arch/arm/mach-imx/include/mach/imx51-regs.h                 | 2 ++
 arch/arm/mach-imx/include/mach/imx53-regs.h                 | 2 ++
 arch/arm/mach-imx/include/mach/imx6-fusemap.h               | 2 ++
 arch/arm/mach-imx/include/mach/imx6-mmdc.h                  | 2 ++
 arch/arm/mach-imx/include/mach/imx6-regs.h                  | 2 ++
 arch/arm/mach-imx/include/mach/imx6.h                       | 2 ++
 arch/arm/mach-imx/include/mach/imx7-ccm-regs.h              | 2 ++
 arch/arm/mach-imx/include/mach/imx7-regs.h                  | 2 ++
 arch/arm/mach-imx/include/mach/imx7.h                       | 4 +++-
 arch/arm/mach-imx/include/mach/imx8m-ccm-regs.h             | 2 ++
 arch/arm/mach-imx/include/mach/imx8m-regs.h                 | 2 ++
 arch/arm/mach-imx/include/mach/imx8mm-regs.h                | 2 ++
 arch/arm/mach-imx/include/mach/imx8mp-regs.h                | 2 ++
 arch/arm/mach-imx/include/mach/imx8mq-regs.h                | 2 ++
 arch/arm/mach-imx/include/mach/imx8mq.h                     | 2 ++
 arch/arm/mach-imx/include/mach/imx_cpu_types.h              | 2 ++
 arch/arm/mach-imx/include/mach/imxfb.h                      | 2 ++
 arch/arm/mach-imx/include/mach/iomux-mx1.h                  | 2 ++
 arch/arm/mach-imx/include/mach/iomux-mx8m.h                 | 2 ++
 arch/arm/mach-imx/include/mach/iomux-v1.h                   | 2 ++
 arch/arm/mach-imx/include/mach/ocotp-fusemap.h              | 2 ++
 arch/arm/mach-imx/include/mach/ocotp.h                      | 2 ++
 arch/arm/mach-imx/include/mach/reset-reason.h               | 2 ++
 arch/arm/mach-imx/include/mach/revision.h                   | 2 ++
 arch/arm/mach-imx/include/mach/spi.h                        | 1 +
 arch/arm/mach-imx/include/mach/usb.h                        | 2 ++
 arch/arm/mach-imx/include/mach/vf610-ddrmc.h                | 2 ++
 arch/arm/mach-imx/include/mach/vf610-fusemap.h              | 2 ++
 arch/arm/mach-imx/include/mach/vf610.h                      | 2 ++
 arch/arm/mach-imx/include/mach/weim.h                       | 2 ++
 arch/arm/mach-imx/include/mach/xload.h                      | 2 ++
 arch/arm/mach-layerscape/include/mach/bbu.h                 | 4 +++-
 arch/arm/mach-layerscape/include/mach/debug_ll.h            | 2 ++
 arch/arm/mach-layerscape/include/mach/errata.h              | 2 ++
 arch/arm/mach-layerscape/include/mach/layerscape.h          | 2 ++
 arch/arm/mach-layerscape/include/mach/lowlevel.h            | 2 ++
 arch/arm/mach-layerscape/include/mach/xload.h               | 2 ++
 arch/arm/mach-mvebu/include/mach/barebox-arm-head.h         | 2 ++
 arch/arm/mach-mvebu/include/mach/bbu.h                      | 2 ++
 arch/arm/mach-mxs/include/mach/debug_ll.h                   | 2 ++
 arch/arm/mach-mxs/include/mach/devices.h                    | 2 ++
 arch/arm/mach-mxs/include/mach/imx23.h                      | 4 +++-
 arch/arm/mach-mxs/include/mach/imx28.h                      | 4 +++-
 arch/arm/mach-mxs/include/mach/power.h                      | 2 ++
 arch/arm/mach-mxs/include/mach/revision.h                   | 2 ++
 arch/arm/mach-mxs/include/mach/usb.h                        | 2 ++
 arch/arm/mach-nomadik/include/mach/fsmc.h                   | 2 ++
 arch/arm/mach-nomadik/include/mach/nand.h                   | 2 ++
 arch/arm/mach-omap/include/mach/am33xx-generic.h            | 2 ++
 arch/arm/mach-omap/include/mach/am3xxx-silicon.h            | 4 +++-
 arch/arm/mach-omap/include/mach/bbu.h                       | 2 ++
 arch/arm/mach-omap/include/mach/devices.h                   | 2 ++
 arch/arm/mach-omap/include/mach/generic.h                   | 2 ++
 arch/arm/mach-omap/include/mach/mcspi.h                     | 2 ++
 arch/arm/mach-omap/include/mach/omap-fb.h                   | 2 ++
 arch/arm/mach-omap/include/mach/omap3-devices.h             | 2 ++
 arch/arm/mach-omap/include/mach/omap3-generic.h             | 2 ++
 arch/arm/mach-omap/include/mach/omap4-clock.h               | 2 ++
 arch/arm/mach-omap/include/mach/omap4-devices.h             | 2 ++
 arch/arm/mach-omap/include/mach/omap4-generic.h             | 2 ++
 arch/arm/mach-omap/include/mach/omap4_twl6030_mmc.h         | 2 ++
 arch/arm/mach-pxa/include/mach/mci_pxa2xx.h                 | 2 ++
 arch/arm/mach-pxa/include/mach/mfp-pxa27x.h                 | 2 ++
 arch/arm/mach-pxa/include/mach/mfp-pxa2xx.h                 | 2 ++
 arch/arm/mach-pxa/include/mach/mfp-pxa3xx.h                 | 2 ++
 arch/arm/mach-pxa/include/mach/pxa25x-regs.h                | 2 ++
 arch/arm/mach-pxa/include/mach/pxa27x-regs.h                | 2 ++
 arch/arm/mach-pxa/include/mach/pxafb.h                      | 2 ++
 arch/arm/mach-pxa/include/mach/regs-intc.h                  | 2 ++
 arch/arm/mach-pxa/include/mach/regs-lcd.h                   | 2 ++
 arch/arm/mach-pxa/include/mach/regs-ost.h                   | 2 ++
 arch/arm/mach-pxa/include/mach/udc_pxa2xx.h                 | 2 ++
 arch/arm/mach-rockchip/include/mach/atf.h                   | 2 ++
 arch/arm/mach-rockchip/include/mach/bbu.h                   | 2 ++
 arch/arm/mach-rockchip/include/mach/debug_ll.h              | 2 ++
 arch/arm/mach-rockchip/include/mach/rk3568-regs.h           | 2 ++
 arch/arm/mach-rockchip/include/mach/rockchip.h              | 2 ++
 arch/arm/mach-samsung/include/mach/bbu.h                    | 2 ++
 arch/arm/mach-socfpga/include/mach/arria10-xload.h          | 2 ++
 arch/arm/mach-socfpga/include/mach/barebox-arm-head.h       | 2 ++
 arch/arm/mach-socfpga/include/mach/cyclone5-regs.h          | 2 ++
 arch/arm/mach-socfpga/include/mach/cyclone5-sdram-config.h  | 2 ++
 arch/arm/mach-socfpga/include/mach/debug_ll.h               | 2 ++
 arch/arm/mach-socfpga/include/mach/generic.h                | 2 ++
 arch/arm/mach-socfpga/include/mach/lowlevel.h               | 2 ++
 arch/arm/mach-socfpga/include/mach/pll_config.h             | 2 ++
 arch/arm/mach-stm32mp/include/mach/bbu.h                    | 2 ++
 arch/arm/mach-stm32mp/include/mach/bsec.h                   | 2 ++
 arch/arm/mach-stm32mp/include/mach/debug_ll.h               | 2 ++
 arch/arm/mach-stm32mp/include/mach/entry.h                  | 2 ++
 arch/arm/mach-stm32mp/include/mach/smc.h                    | 2 ++
 arch/arm/mach-uemd/include/mach/hardware.h                  | 2 ++
 arch/arm/mach-versatile/include/mach/init.h                 | 1 +
 arch/arm/mach-zynq/include/mach/debug_ll.h                  | 2 ++
 arch/arm/mach-zynq/include/mach/zynq-flash-header.h         | 2 ++
 arch/mips/include/asm/asm-offsets.h                         | 2 ++
 arch/mips/include/asm/bitsperlong.h                         | 2 ++
 arch/mips/include/asm/cache.h                               | 2 ++
 arch/mips/include/asm/cpu.h                                 | 2 ++
 arch/mips/include/asm/dma-mapping.h                         | 2 ++
 arch/mips/include/asm/io.h                                  | 2 ++
 arch/mips/include/asm/memory.h                              | 2 ++
 arch/mips/include/asm/mmu.h                                 | 2 ++
 arch/mips/mach-ar231x/include/mach/pbl_macros.h             | 2 ++
 arch/mips/mach-ath79/include/mach/pbl_ll_init_ar9344_1.1.h  | 2 ++
 arch/mips/mach-ath79/include/mach/pbl_ll_init_qca4531.h     | 2 ++
 arch/mips/mach-ath79/include/mach/pbl_macros.h              | 2 ++
 arch/mips/mach-loongson/include/mach/pbl_macros.h           | 2 ++
 arch/mips/mach-malta/include/mach/mach-gt64120.h            | 2 ++
 arch/mips/mach-xburst/include/mach/devices.h                | 2 ++
 arch/openrisc/boards/generic/config.h                       | 1 +
 arch/openrisc/include/asm/bitsperlong.h                     | 2 ++
 arch/openrisc/include/asm/byteorder.h                       | 2 ++
 arch/openrisc/include/asm/common.h                          | 2 ++
 arch/openrisc/include/asm/linkage.h                         | 2 ++
 arch/openrisc/include/asm/mmu.h                             | 2 ++
 arch/openrisc/include/asm/posix_types.h                     | 2 ++
 arch/openrisc/include/asm/sections.h                        | 2 ++
 arch/openrisc/include/asm/string.h                          | 2 ++
 arch/openrisc/include/asm/swab.h                            | 2 ++
 arch/powerpc/include/asm/atomic.h                           | 2 ++
 arch/powerpc/include/asm/bitops.h                           | 2 ++
 arch/powerpc/include/asm/bitsperlong.h                      | 2 ++
 arch/powerpc/include/asm/cache.h                            | 2 ++
 arch/powerpc/include/asm/common.h                           | 2 ++
 arch/powerpc/include/asm/io.h                               | 2 ++
 arch/powerpc/include/asm/mmu.h                              | 2 ++
 arch/powerpc/include/asm/module.h                           | 2 ++
 arch/powerpc/include/asm/pci_io.h                           | 2 ++
 arch/powerpc/include/asm/posix_types.h                      | 2 ++
 arch/powerpc/include/asm/processor.h                        | 2 ++
 arch/powerpc/include/asm/ptrace.h                           | 2 ++
 arch/powerpc/include/asm/sections.h                         | 2 ++
 arch/powerpc/include/asm/sigcontext.h                       | 2 ++
 arch/powerpc/include/asm/signal.h                           | 2 ++
 arch/powerpc/include/asm/status_led.h                       | 2 ++
 arch/powerpc/include/asm/string.h                           | 2 ++
 arch/powerpc/include/asm/types.h                            | 2 ++
 arch/powerpc/include/asm/unaligned.h                        | 2 ++
 arch/powerpc/mach-mpc5xxx/include/mach/clock.h              | 2 ++
 arch/powerpc/mach-mpc5xxx/include/mach/sdma.h               | 2 ++
 arch/powerpc/mach-mpc85xx/include/mach/clock.h              | 2 ++
 arch/powerpc/mach-mpc85xx/include/mach/mpc85xx.h            | 2 ++
 arch/riscv/include/asm/asm-offsets.h                        | 2 ++
 arch/riscv/include/asm/bitsperlong.h                        | 2 ++
 arch/riscv/include/asm/byteorder.h                          | 2 ++
 arch/riscv/include/asm/io.h                                 | 2 ++
 arch/riscv/include/asm/mmu.h                                | 2 ++
 arch/riscv/include/asm/posix_types.h                        | 2 ++
 arch/riscv/include/asm/swab.h                               | 2 ++
 arch/riscv/include/asm/types.h                              | 2 ++
 arch/riscv/include/asm/unaligned.h                          | 2 ++
 arch/sandbox/include/asm/bitsperlong.h                      | 2 ++
 arch/sandbox/include/asm/byteorder.h                        | 2 ++
 arch/sandbox/include/asm/common.h                           | 2 ++
 arch/sandbox/include/asm/elf.h                              | 2 ++
 arch/sandbox/include/asm/io.h                               | 2 ++
 arch/sandbox/include/asm/mmu.h                              | 2 ++
 arch/sandbox/include/asm/posix_types.h                      | 2 ++
 arch/sandbox/include/asm/sections.h                         | 2 ++
 arch/sandbox/include/asm/string.h                           | 2 ++
 arch/sandbox/include/asm/swab.h                             | 2 ++
 arch/sandbox/include/asm/types.h                            | 2 ++
 arch/sandbox/include/asm/unaligned.h                        | 2 ++
 arch/sandbox/mach-sandbox/include/mach/hostfile.h           | 2 ++
 arch/sandbox/mach-sandbox/include/mach/linux.h              | 2 ++
 arch/x86/include/asm/bitsperlong.h                          | 2 ++
 arch/x86/include/asm/elf.h                                  | 2 ++
 arch/x86/include/asm/io.h                                   | 2 ++
 arch/x86/include/asm/linkage.h                              | 2 ++
 arch/x86/include/asm/mmu.h                                  | 2 ++
 arch/x86/include/asm/posix_types.h                          | 2 ++
 arch/x86/include/asm/sections.h                             | 2 ++
 arch/x86/include/asm/swab.h                                 | 2 ++
 arch/x86/include/asm/types.h                                | 2 ++
 arch/x86/include/asm/unaligned.h                            | 2 ++
 arch/x86/mach-efi/include/mach/debug_ll.h                   | 2 ++
 263 files changed, 520 insertions(+), 10 deletions(-)
arch/arm/boards/archosg9/archos_features.h +2 -0
index 5769c6c668be..f46b9e9eb884 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ARCHOS_FEATURES_H
 #define __ARCHOS_FEATURES_H
 
arch/arm/boards/archosg9/mux.h +2 -0
index 4ee541587172..d4b0c9da861d 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _MUX_H
 #define _MUX_H
 
arch/arm/boards/at91rm9200ek/config.h +2 -0
index 5f4f6fe1ae2f..a3a0be18ec91 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
arch/arm/boards/beaglebone/beaglebone.h +2 -0
index a4f48e5b0bb0..9f1f9066993c 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __BOARD_BEAGLEBONE_H
 #define __BOARD_BEAGLEBONE_H
 
arch/arm/boards/ebv-socrates/sequencer_auto.h +2 -0
index 59aa9cf816ee..d52e19548a8a 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #define __RW_MGR_ac_mrs1 0x04
 #define __RW_MGR_ac_mrs3 0x06
 #define __RW_MGR_ac_write_bank_0_col_0_nodata_wl_1 0x1C
arch/arm/boards/ebv-socrates/sequencer_defines.h +2 -0
index 1ebbc4801148..bef98641aa2a 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _SEQUENCER_DEFINES_H_
 #define _SEQUENCER_DEFINES_H_
 
arch/arm/boards/friendlyarm-mini6410/config.h +2 -0
index ee38192041ef..87b6ea4a297f 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /* FriendlyARM Mini6410 specific global settings */
 
 #ifndef _MINI6410_CONFIG_H_
arch/arm/boards/friendlyarm-tiny210/config.h +2 -0
index 86aedf0a640e..7437e6bdddb4 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #define S5PCXX_CLOCK_REFERENCE 24000000
 
 #define set_pll(mdiv, pdiv, sdiv)	(1<<31 | mdiv<<16 | pdiv<<8 | sdiv)
arch/arm/boards/friendlyarm-tiny6410/config.h +2 -0
index 04f68579edc4..22692a30253a 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /* FriendlyARM Tiny6410 specific global settings */
 
 #ifndef _TINY6410_CONFIG_H_
arch/arm/boards/raspberry-pi/lowlevel.h +2 -0
index 9ef9135b2d06..eacf973fb6fa 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ARCH_ARM_BOARDS_LOWLEVEL_H__
 #define __ARCH_ARM_BOARDS_LOWLEVEL_H__
 
arch/arm/boards/skov-imx6/version.h +2 -0
index 008410490be3..a5d205fe2e0d 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __SKOV_VERSION_H
 #define __SKOV_VERSION_H
 
arch/arm/cpu/entry.h +2 -0
index 18110eadf3a1..ba0d3a25feab 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ENTRY_H__
 #define __ENTRY_H__
 
arch/arm/cpu/mmu-common.h +3 -1
index 0a33b138e168..ed7d5bc3168f 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ARM_MMU_COMMON_H
 #define __ARM_MMU_COMMON_H
 
@@ -17,4 +19,4 @@ static inline void arm_mmu_not_initialized_error(void)
 	panic("MMU not initialized\n");
 }
 
-#endif
\ No newline at end of file
+#endif
arch/arm/cpu/mmu.h +2 -0
index c85e0ea05033..d48522d166f7 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ARM_MMU_H
 #define __ARM_MMU_H
 
arch/arm/cpu/mmu_64.h +1 -0
index 9bbb62fc6ba7..e4d81dace41f 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #include "mmu-common.h"
 
arch/arm/include/asm/armlinux.h +2 -0
index 6af98968fa57..8d8e05105b08 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ARCH_ARMLINUX_H
 #define __ARCH_ARMLINUX_H
 
arch/arm/include/asm/asm-offsets.h +3 -1
index 2f84e8399624..33db5a47e5c2 100644
@@ -1 +1,3 @@
-#include <generated/asm-offsets.h>
\ No newline at end of file
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <generated/asm-offsets.h>
arch/arm/include/asm/assembler64.h +3 -1
index 26182aa5f687..615b25767180 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARCH_ASSEMBLY_H
 #define __ASM_ARCH_ASSEMBLY_H
 
@@ -18,4 +20,4 @@
 	b.eq	\el1_label
 .endm
 
-#endif /* __ASM_ARCH_ASSEMBLY_H */
\ No newline at end of file
+#endif /* __ASM_ARCH_ASSEMBLY_H */
arch/arm/include/asm/barebox-arm-head.h +2 -0
index 187d12c9fc8d..fcb7e31d8531 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARM_HEAD_H
 #define __ASM_ARM_HEAD_H
 
arch/arm/include/asm/bitops.h +2 -0
index d8a4d9b66743..2d0d300da2eb 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * Copyright 1995, Russell King.
  * Various bits and pieces copyrights include:
arch/arm/include/asm/bitsperlong.h +2 -0
index 6dc0bb0c13b2..bf000a04ccde 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm-generic/bitsperlong.h>
arch/arm/include/asm/byteorder.h +2 -0
index c3489f1e1fc6..751dc0e53090 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  *  linux/include/asm-arm/byteorder.h
  *
arch/arm/include/asm/cache.h +2 -0
index 9ebe80dc89bc..b63776a74ada 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_CACHE_H
 #define __ASM_CACHE_H
 
arch/arm/include/asm/common.h +2 -0
index 1e2729d521ae..9832a6a4d202 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARM_COMMON_H
 #define __ASM_ARM_COMMON_H
 
arch/arm/include/asm/cputype.h +2 -0
index f39939bd44da..7dc027c1741b 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARM_CPUTYPE_H
 #define __ASM_ARM_CPUTYPE_H
 
arch/arm/include/asm/elf.h +2 -0
index 3def5676999b..486275a3361d 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASMARM_ELF_H
 #define __ASMARM_ELF_H
 
arch/arm/include/asm/gic.h +2 -0
index f83f52814107..d7e4c3cbf0b4 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __GIC_H__
 #define __GIC_H__
 
arch/arm/include/asm/hardware/arm_timer.h +2 -0
index 8a58390a1949..7911628ba7f0 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARM_HARDWARE_ARM_TIMER_H
 #define __ASM_ARM_HARDWARE_ARM_TIMER_H
 
arch/arm/include/asm/io.h +2 -0
index 0507db1a9cf8..1c0f522d1d44 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARM_IO_H
 #define __ASM_ARM_IO_H
 
arch/arm/include/asm/linkage.h +2 -0
index 5a25632b1bc0..728ebe6f6fc0 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_LINKAGE_H
 #define __ASM_LINKAGE_H
 
arch/arm/include/asm/memory.h +2 -0
index 2279306179af..2b454fa67309 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARM_MEMORY_H
 #define __ASM_ARM_MEMORY_H
 
arch/arm/include/asm/mmu.h +2 -0
index 417808bfcce1..fd8e93f7a3b1 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_MMU_H
 #define __ASM_MMU_H
 
arch/arm/include/asm/module.h +2 -0
index 3ce39bf82b61..a4473ff8b61c 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_ARM_MODULE_H
 #define _ASM_ARM_MODULE_H
 
arch/arm/include/asm/posix_types.h +2 -0
index 22cae6230ceb..feaed4247135 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm-generic/posix_types.h>
arch/arm/include/asm/sections.h +2 -0
index 8ab01f2b71e8..15b1a6482a5b 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_SECTIONS_H
 #define __ASM_SECTIONS_H
 
arch/arm/include/asm/secure.h +2 -0
index e0c262372395..fd10c47c6a20 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARM_SECURE_H
 #define __ASM_ARM_SECURE_H
 
arch/arm/include/asm/semihosting.h +2 -0
index b478dadb3afa..9e1606c4aeaa 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARM_SEMIHOSTING_H
 #define __ASM_ARM_SEMIHOSTING_H
 
arch/arm/include/asm/stacktrace.h +2 -0
index 602e79ced451..bbcd2a5f8e45 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_STACKTRACE_H
 #define __ASM_STACKTRACE_H
 
arch/arm/include/asm/string.h +2 -0
index cd79f6340245..2322b846b29b 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARM_STRING_H
 #define __ASM_ARM_STRING_H
 
arch/arm/include/asm/swab.h +2 -0
index 379543783130..8dbde9b30771 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  *  arch/arm/include/asm/byteorder.h
  *
arch/arm/include/asm/syscounter.h +3 -1
index a644cfaad6b4..16d52269e370 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_SYSCNT_H_
 #define _ASM_SYSCNT_H_
 
@@ -21,4 +23,4 @@ static inline u32 syscnt_get_cntfrq(void __iomem *syscnt)
 	return readl(syscnt + SYSCNT_CNTFID(0));
 }
 
-#endif
\ No newline at end of file
+#endif
arch/arm/include/asm/system.h +2 -0
index a0180f2df8e3..9e880015331d 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARM_SYSTEM_H
 #define __ASM_ARM_SYSTEM_H
 
arch/arm/include/asm/system_info.h +2 -0
index 1e3dfc845c8d..c7f998774812 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARM_SYSTEM_INFO_H
 #define __ASM_ARM_SYSTEM_INFO_H
 
arch/arm/include/asm/types.h +2 -0
index 22b96426559e..4adc815bf370 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARM_TYPES_H
 #define __ASM_ARM_TYPES_H
 
arch/arm/include/asm/unaligned.h +2 -0
index 44593a894903..b63d39da7f55 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_ARM_UNALIGNED_H
 #define _ASM_ARM_UNALIGNED_H
 
arch/arm/mach-at91/include/mach/at91sam926x.h +2 -0
index ab5cf515ef9e..8ef83010d2c3 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_AT91SAM926X_H
 #define __MACH_AT91SAM926X_H
 
arch/arm/mach-at91/include/mach/barebox-arm-head.h +2 -0
index e0e07500a277..4a95f89fc9dd 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_ARM_HEAD_H
 #define __MACH_ARM_HEAD_H
 
arch/arm/mach-at91/include/mach/early_udelay.h +2 -0
index 1c1b0123fee8..fc9885dd27f5 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __EARLY_UDELAY_H__
 #define __EARLY_UDELAY_H__
 
arch/arm/mach-at91/include/mach/sama5d2_ll.h +2 -0
index 244b1a706594..c78279d7fce9 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_SAMA5D2_LL__
 #define __MACH_SAMA5D2_LL__
 
arch/arm/mach-at91/include/mach/xload.h +2 -0
index bbc70af2108a..e9336d59c918 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_XLOAD_H
 #define __MACH_XLOAD_H
 
arch/arm/mach-clps711x/include/mach/devices.h +2 -0
index 18a251a1d9f0..77c43be25c2b 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_DEVICES_H
 #define __MACH_DEVICES_H
 
arch/arm/mach-ep93xx/include/mach/barebox.lds.h +1 -0
index 74c4662a57e7..4e497f5e2d3d 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 /* the EP93xx expects to find the pattern 'CRUS' at 0x1000 */
 
arch/arm/mach-imx/include/mach/atf.h +2 -0
index 5ca75f8f92d2..09396f46463a 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __IMX_ATF_H__
 #define __IMX_ATF_H__
 
arch/arm/mach-imx/include/mach/bbu.h +2 -0
index f2e326f475cd..207d46e5d18f 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_BBU_H
 #define __MACH_BBU_H
 
arch/arm/mach-imx/include/mach/ccm.h +3 -1
index 32254a85b4bf..bbdf7536ee91 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __IMX_CCM_H__
 
 /* 0 <= n <= 190 */
@@ -17,4 +19,4 @@
 #define CCM_CCGR_SETTINGn_NEEDED_RUN_WAIT(n)	CCM_CCGR_SETTINGn(n, 0b10)
 #define CCM_CCGR_SETTINGn_NEEDED(n)		CCM_CCGR_SETTINGn(n, 0b11)
 
-#endif
\ No newline at end of file
+#endif
arch/arm/mach-imx/include/mach/clock.h +2 -0
index 304a7c885cc7..af1a6e439a2e 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /* nothing, but some drivers need this include */
arch/arm/mach-imx/include/mach/debug_ll.h +2 -0
index a4c57c5d5ae6..98aec5198f4a 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_DEBUG_LL_H__
 #define __MACH_DEBUG_LL_H__
 
arch/arm/mach-imx/include/mach/devices-imx1.h +2 -0
index e4185bc2818b..2b5cb8bcbd41 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <mach/devices.h>
 #include <mach/imx1-regs.h>
 
arch/arm/mach-imx/include/mach/devices-imx21.h +1 -0
index 5b2dfd750581..429b01165efe 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #include <mach/devices.h>
 #include <mach/imx21-regs.h>
arch/arm/mach-imx/include/mach/devices-imx25.h +1 -0
index 7779a02be1e4..ec358fbbfa09 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #include <mach/devices.h>
 #include <mach/imx25-regs.h>
arch/arm/mach-imx/include/mach/devices-imx27.h +1 -0
index da2289b191d2..8ea7ea7eb3b1 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #include <mach/devices.h>
 #include <mach/imx27-regs.h>
arch/arm/mach-imx/include/mach/devices-imx31.h +1 -0
index 51125d1bca01..37eacb043672 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #include <mach/imx31-regs.h>
 #include <mach/devices.h>
arch/arm/mach-imx/include/mach/devices-imx35.h +1 -0
index 922bb589c67a..04aa7775dd34 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #include <mach/devices.h>
 #include <mach/imx35-regs.h>
arch/arm/mach-imx/include/mach/devices-imx50.h +1 -0
index 7e5141a107a5..5f534d4aec8f 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #include <mach/devices.h>
 #include <mach/imx50-regs.h>
arch/arm/mach-imx/include/mach/devices-imx51.h +1 -0
index 5a968a30006b..1a2363249189 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #include <linux/sizes.h>
 #include <mach/devices.h>
arch/arm/mach-imx/include/mach/devices-imx53.h +1 -0
index 3d1e8a27a8af..7b96fb3e2718 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #include <mach/devices.h>
 #include <mach/imx53-regs.h>
arch/arm/mach-imx/include/mach/devices-imx6.h +2 -0
index 9471f57909de..981dd1c7cace 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <mach/devices.h>
 #include <mach/imx6-regs.h>
 
arch/arm/mach-imx/include/mach/devices.h +1 -0
index 4754b92a6f9f..45da5bb6cc83 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #include <platform_data/eth-fec.h>
 #include <input/matrix_keypad.h>
arch/arm/mach-imx/include/mach/esdctl-v4.h +2 -0
index 2e6741e0d5d5..b93621a8d7d6 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_ESDCTL_V4_H
 #define __MACH_ESDCTL_V4_H
 
arch/arm/mach-imx/include/mach/esdctl.h +2 -0
index caafa4732314..b0b531aed4a2 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_ESDCTL_V2_H
 #define __MACH_ESDCTL_V2_H
 
arch/arm/mach-imx/include/mach/generic.h +2 -0
index fce7a813200b..12a7c208b782 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_GENERIC_H
 #define __MACH_GENERIC_H
 
arch/arm/mach-imx/include/mach/habv3-imx25-gencsf.h +2 -0
index 60f730f8eca9..0cf017b8ea5d 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * This snippet can be included from a i.MX flash header configuration
  * file for generating signed images. The necessary keys/certificates
arch/arm/mach-imx/include/mach/habv4-imx6-gencsf-template.h +2 -0
index 668fb0646f94..a60b48529236 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * This snippet can be included from a i.MX flash header configuration
  * file for generating signed images. The necessary keys/certificates
arch/arm/mach-imx/include/mach/habv4-imx6-gencsf.h +1 -0
index ca741b2736a0..2044f23c7a1f 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #define SETUP_HABV4_ENGINE CAAM
 #define SETUP_HABV4_FEATURES  RNG, MID
arch/arm/mach-imx/include/mach/habv4-imx6ull-gencsf.h +1 -0
index 6a558b880b93..0efd09888fe1 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #define SETUP_HABV4_ENGINE SW
 
arch/arm/mach-imx/include/mach/habv4-imx8-gencsf.h +2 -0
index a3917cc74fd7..b50788127eff 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * This snippet can be included from a i.MX flash header configuration
  * file for generating signed images. The necessary keys/certificates
arch/arm/mach-imx/include/mach/imx-gpio.h +2 -0
index 64ac278d6197..a84dee36b816 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX_GPIO_H
 #define __MACH_IMX_GPIO_H
 
arch/arm/mach-imx/include/mach/imx-header.h +2 -0
index f1e076dab905..8e968e6efba3 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __IMX_HEADER_H__
 #define __IMX_HEADER_H__
 
arch/arm/mach-imx/include/mach/imx-nand.h +2 -0
index f34799a0119c..97e2bd059fe8 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARCH_NAND_H
 #define __ASM_ARCH_NAND_H
 
arch/arm/mach-imx/include/mach/imx-pll.h +2 -0
index 0ccf41bcaa68..791f86093ba8 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __INCLUDE_ASM_ARCH_IMX_PLL_H
 #define __INCLUDE_ASM_ARCH_IMX_PLL_H
 
arch/arm/mach-imx/include/mach/imx1-regs.h +2 -0
index 69e57e3cfd67..c8125fd74614 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _IMX1_REGS_H
 #define _IMX1_REGS_H
 
arch/arm/mach-imx/include/mach/imx21-regs.h +2 -0
index 1fa463a256e6..19b2ddfdc370 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _IMX21_REGS_H
 #define _IMX21_REGS_H
 
arch/arm/mach-imx/include/mach/imx25-fusemap.h +2 -0
index 749b0d17b28d..f21e3d950555 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX25_FUSEMAP_H
 #define __MACH_IMX25_FUSEMAP_H
 
arch/arm/mach-imx/include/mach/imx27-regs.h +2 -0
index c45befb57ca0..8bb067763bb7 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _IMX27_REGS_H
 #define _IMX27_REGS_H
 
arch/arm/mach-imx/include/mach/imx5.h +2 -0
index dd5cfe99cf0b..24ac07e3660b 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_MX5_H
 #define __MACH_MX5_H
 
arch/arm/mach-imx/include/mach/imx50-regs.h +2 -0
index 97ac8e2dad16..b99dba95086c 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX50_REGS_H
 #define __MACH_IMX50_REGS_H
 
arch/arm/mach-imx/include/mach/imx51-regs.h +2 -0
index b6685ce065e5..64d56939d54e 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX51_REGS_H
 #define __MACH_IMX51_REGS_H
 
arch/arm/mach-imx/include/mach/imx53-regs.h +2 -0
index d45c94370dfd..5fc0b4b90e7a 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX53_REGS_H
 #define __MACH_IMX53_REGS_H
 
arch/arm/mach-imx/include/mach/imx6-fusemap.h +2 -0
index e14044e98a99..de5eb51e5d47 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX_IMX6_OCOTP_H
 #define __MACH_IMX_IMX6_OCOTP_H
 
arch/arm/mach-imx/include/mach/imx6-mmdc.h +2 -0
index 9385b342c230..bda20aba1741 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_MMDC_H
 #define __MACH_MMDC_H
 
arch/arm/mach-imx/include/mach/imx6-regs.h +2 -0
index 7350ffd16fae..b2753b0fa7dd 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX6_REGS_H
 #define __MACH_IMX6_REGS_H
 
arch/arm/mach-imx/include/mach/imx6.h +2 -0
index b65cdaaf40a6..0f3397006a1f 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX6_H
 #define __MACH_IMX6_H
 
arch/arm/mach-imx/include/mach/imx7-ccm-regs.h +2 -0
index 5c60794ca74f..aecf9a26d017 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX7_CCM_REGS_H__
 #define __MACH_IMX7_CCM_REGS_H__
 
arch/arm/mach-imx/include/mach/imx7-regs.h +2 -0
index 21e2830b9763..f11691671728 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX7_REGS_H
 #define __MACH_IMX7_REGS_H
 
arch/arm/mach-imx/include/mach/imx7.h +3 -1
index 8518935468c9..bc131805af4c 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX7_H
 #define __MACH_IMX7_H
 
@@ -56,4 +58,4 @@ static inline int imx7_cpu_revision(void)
 DEFINE_MX7_CPU_TYPE(mx7s, IMX7_CPUTYPE_IMX7S);
 DEFINE_MX7_CPU_TYPE(mx7d, IMX7_CPUTYPE_IMX7D);
 
-#endif /* __MACH_IMX7_H */
\ No newline at end of file
+#endif /* __MACH_IMX7_H */
arch/arm/mach-imx/include/mach/imx8m-ccm-regs.h +2 -0
index 985391f31ac1..eeb15f4dd074 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX8_CCM_REGS_H__
 #define __MACH_IMX8_CCM_REGS_H__
 
arch/arm/mach-imx/include/mach/imx8m-regs.h +2 -0
index e5f466c29141..e1c83ee01ddc 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX8M_REGS_H
 #define __MACH_IMX8M_REGS_H
 
arch/arm/mach-imx/include/mach/imx8mm-regs.h +2 -0
index e10ca42d2dd0..4c6cabe5af5c 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX8MM_REGS_H
 #define __MACH_IMX8MM_REGS_H
 
arch/arm/mach-imx/include/mach/imx8mp-regs.h +2 -0
index ad53abbc9d11..08f662bcde15 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX8MP_REGS_H
 #define __MACH_IMX8MP_REGS_H
 
arch/arm/mach-imx/include/mach/imx8mq-regs.h +2 -0
index 50d02ba6a288..e2fde2ba0ca9 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX8MQ_REGS_H
 #define __MACH_IMX8MQ_REGS_H
 
arch/arm/mach-imx/include/mach/imx8mq.h +2 -0
index f8f39cdd63fb..d02c5f23cfd2 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX8MQ_H
 #define __MACH_IMX8MQ_H
 
arch/arm/mach-imx/include/mach/imx_cpu_types.h +2 -0
index e9a9d8b38a08..1d5809720988 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX_CPU_TYPES_H
 #define __MACH_IMX_CPU_TYPES_H
 
arch/arm/mach-imx/include/mach/imxfb.h +2 -0
index 6df7a14ddeda..508155457598 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMXFB_H
 #define __MACH_IMXFB_H
 
arch/arm/mach-imx/include/mach/iomux-mx1.h +2 -0
index 51317d35d52d..000b2055eeb9 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IOMUX_MX1_H
 #define __MACH_IOMUX_MX1_H
 
arch/arm/mach-imx/include/mach/iomux-mx8m.h +2 -0
index de6675064abe..68f276560987 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IOMUX_IMX8M_H__
 #define __MACH_IOMUX_IMX8M_H__
 
arch/arm/mach-imx/include/mach/iomux-v1.h +2 -0
index 8f75933e3982..132b12976750 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IOMUX_V1_H__
 #define __MACH_IOMUX_V1_H__
 
arch/arm/mach-imx/include/mach/ocotp-fusemap.h +2 -0
index aec50dbf8a54..603bec49fd7e 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX_OCOTP_FUSEMAP_H
 #define __MACH_IMX_OCOTP_FUSEMAP_H
 
arch/arm/mach-imx/include/mach/ocotp.h +2 -0
index 20205c5da759..7c72edfb22a7 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX_OCOTP_H
 #define __MACH_IMX_OCOTP_H
 
arch/arm/mach-imx/include/mach/reset-reason.h +2 -0
index 91a81718960c..f27b2ee64e48 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_RESET_REASON_H__
 #define __MACH_RESET_REASON_H__
 
arch/arm/mach-imx/include/mach/revision.h +2 -0
index d9495d967f05..ab42bf17d5f3 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_REVISION_H__
 #define __MACH_REVISION_H__
 
arch/arm/mach-imx/include/mach/spi.h +1 -0
index 08be445e8eb8..294c724ef4ff 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #ifndef __MACH_SPI_H_
 #define __MACH_SPI_H_
arch/arm/mach-imx/include/mach/usb.h +2 -0
index 3209bf9095a4..18040aa0be00 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_USB_H_
 #define __MACH_USB_H_
 
arch/arm/mach-imx/include/mach/vf610-ddrmc.h +2 -0
index 07feb036e5b5..79b88e19fd86 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_DDRMC_H
 #define __MACH_DDRMC_H
 
arch/arm/mach-imx/include/mach/vf610-fusemap.h +2 -0
index a56faf10cc10..c222a8f27fbf 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_VF610_OCOTP_H
 #define __MACH_VF610_OCOTP_H
 
arch/arm/mach-imx/include/mach/vf610.h +2 -0
index 7ac10a7b1e0c..6de300a2a090 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_VF610_H
 #define __MACH_VF610_H
 
arch/arm/mach-imx/include/mach/weim.h +2 -0
index 22d9c76d6173..d8a7d1194775 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_WEIM_H
 #define __MACH_WEIM_H
 
arch/arm/mach-imx/include/mach/xload.h +2 -0
index f0deaf068aed..03ec23ebbdb0 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_XLOAD_H
 #define __MACH_XLOAD_H
 
arch/arm/mach-layerscape/include/mach/bbu.h +3 -1
index 1ea0cbb11f32..d018ec9a9dbf 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_LAYERSCAPE_BBU_H
 #define __MACH_LAYERSCAPE_BBU_H
 
@@ -19,4 +21,4 @@ static inline int ls1046a_bbu_qspi_register_handler(const char *name,
 					    filetype_layerscape_qspi_image);
 }
 
-#endif /* __MACH_LAYERSCAPE_BBU_H */
\ No newline at end of file
+#endif /* __MACH_LAYERSCAPE_BBU_H */
arch/arm/mach-layerscape/include/mach/debug_ll.h +2 -0
index 2658a4a7c916..b6630af1431a 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __INCLUDE_ARCH_DEBUG_LL_H__
 #define __INCLUDE_ARCH_DEBUG_LL_H__
 
arch/arm/mach-layerscape/include/mach/errata.h +2 -0
index bdefa22172f7..1ec75b5d8d33 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_ERRATA_H
 #define __MACH_ERRATA_H
 
arch/arm/mach-layerscape/include/mach/layerscape.h +2 -0
index 1f1da0f66e75..447417a266ff 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_LAYERSCAPE_H
 #define __MACH_LAYERSCAPE_H
 
arch/arm/mach-layerscape/include/mach/lowlevel.h +2 -0
index 0f5f0f3aad4d..0c077d064b52 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_LOWLEVEL_H
 #define __MACH_LOWLEVEL_H
 
arch/arm/mach-layerscape/include/mach/xload.h +2 -0
index eb2d9988650b..0731681b4318 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_XLOAD_H
 #define __MACH_XLOAD_H
 
arch/arm/mach-mvebu/include/mach/barebox-arm-head.h +2 -0
index 723e2ab4c8b5..12f8cfc5a029 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/stringify.h>
 #include <mach/common.h>
 
arch/arm/mach-mvebu/include/mach/bbu.h +2 -0
index f23c3269c041..f8f70b6bf693 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifdef CONFIG_BAREBOX_UPDATE
 int mvebu_bbu_flash_register_handler(const char *name,
 				     char *devicefile, int version,
arch/arm/mach-mxs/include/mach/debug_ll.h +2 -0
index 9e3ce1c1cd30..ac7a0e759da1 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_DEBUG_LL_H__
 #define __MACH_DEBUG_LL_H__
 
arch/arm/mach-mxs/include/mach/devices.h +2 -0
index b212aa783e23..4743a4a8c009 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_MXS_DEVICES_H
 #define __MACH_MXS_DEVICES_H
 
arch/arm/mach-mxs/include/mach/imx23.h +3 -1
index 56e76d5f5030..bdd3ae4407ae 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX23_H
 #define __MACH_IMX23_H
 
@@ -26,4 +28,4 @@ static inline u32 imx23_get_memsize(void)
 	return (1 << columns) * (1 << rows) * banks * (cs0 + cs1);
 }
 
-#endif /* __MACH_IMX23_H */
\ No newline at end of file
+#endif /* __MACH_IMX23_H */
arch/arm/mach-mxs/include/mach/imx28.h +3 -1
index 5816625c89ac..cf2d5fb6efc8 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX28_H
 #define __MACH_IMX28_H
 
@@ -27,4 +29,4 @@ static inline u32 imx28_get_memsize(void)
 	return (1 << columns) * (1 << rows) * banks * (cs0 + cs1);
 }
 
-#endif /* __MACH_IMX28_H */
\ No newline at end of file
+#endif /* __MACH_IMX28_H */
arch/arm/mach-mxs/include/mach/power.h +2 -0
index f429b3c31c47..9d0ea89bca82 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_POWER_H
 #define __MACH_POWER_H
 
arch/arm/mach-mxs/include/mach/revision.h +2 -0
index 91f174d8b0e5..65daf3db9871 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_REVISION_H__
 #define __MACH_REVISION_H__
 
arch/arm/mach-mxs/include/mach/usb.h +2 -0
index 2d31b0d0f20d..132fc16eec4a 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_USB_H
 #define __MACH_USB_H
 
arch/arm/mach-nomadik/include/mach/fsmc.h +2 -0
index e010c7215ca7..3d46eb2a478b 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /* Definitions for the Nomadik FSMC "Flexible Static Memory controller" */
 
 #ifndef __ASM_ARCH_FSMC_H
arch/arm/mach-nomadik/include/mach/nand.h +2 -0
index 544f0e02c7ae..419db3e33c6d 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARCH_NAND_H
 #define __ASM_ARCH_NAND_H
 
arch/arm/mach-omap/include/mach/am33xx-generic.h +2 -0
index 7e64e74d5c2e..e146bf0909f2 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_AM33XX_GENERIC_H
 #define __MACH_AM33XX_GENERIC_H
 
arch/arm/mach-omap/include/mach/am3xxx-silicon.h +3 -1
index c5f73ad457d6..dba3d634d5c2 100644
@@ -1,6 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARCH_AM33XX_H
 #define __ASM_ARCH_AM33XX_H
 
 void am3xxx_uart_soft_reset(void __iomem *uart_base);
 
-#endif /* __ASM_ARCH_AM33XX_H */
\ No newline at end of file
+#endif /* __ASM_ARCH_AM33XX_H */
arch/arm/mach-omap/include/mach/bbu.h +2 -0
index 94d3f96bb452..5ca7ec43cceb 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_BBU_H
 #define __MACH_BBU_H
 
arch/arm/mach-omap/include/mach/devices.h +2 -0
index 537213fb9043..0f9fdf1ca57b 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_OMAP_DEVICES_H
 #define __MACH_OMAP_DEVICES_H
 
arch/arm/mach-omap/include/mach/generic.h +2 -0
index fe194b39210b..fa391c8d4813 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _MACH_GENERIC_H
 #define _MACH_GENERIC_H
 
arch/arm/mach-omap/include/mach/mcspi.h +2 -0
index dbde67a5daba..febb08db2ac3 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __OMAP_MCSPI_H
 #define  __OMAP_MCSPI_H
 
arch/arm/mach-omap/include/mach/omap-fb.h +2 -0
index f68dc1a1423c..f727164434b5 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef H_BAREBOX_ARCH_ARM_MACH_OMAP_MACH_FB4_H
 #define H_BAREBOX_ARCH_ARM_MACH_OMAP_MACH_FB4_H
 
arch/arm/mach-omap/include/mach/omap3-devices.h +2 -0
index 8c62c9900564..5d7bc8bf1eeb 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_OMAP3_DEVICES_H
 #define __MACH_OMAP3_DEVICES_H
 
arch/arm/mach-omap/include/mach/omap3-generic.h +2 -0
index 177862e4b117..6304ac7bb831 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_OMAP3_GENERIC_H
 #define __MACH_OMAP3_GENERIC_H
 
arch/arm/mach-omap/include/mach/omap4-clock.h +2 -0
index 8f49aa376150..6bbb10e83d3e 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_OMAP4_CLOCK_H
 #define __MACH_OMAP4_CLOCK_H
 
arch/arm/mach-omap/include/mach/omap4-devices.h +2 -0
index 7ac940b2d722..22a1eb79fce2 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_OMAP4_DEVICES_H
 #define __MACH_OMAP4_DEVICES_H
 
arch/arm/mach-omap/include/mach/omap4-generic.h +2 -0
index c1d0a3c90050..b6a72cfc5520 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_OMAP4_GENERIC_H
 #define __MACH_OMAP4_GENERIC_H
 
arch/arm/mach-omap/include/mach/omap4_twl6030_mmc.h +2 -0
index e5e2d9c22949..0cde30619b84 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * Copyright (C) 2011 Alexander Aring <[email protected]>
  */
arch/arm/mach-pxa/include/mach/mci_pxa2xx.h +2 -0
index b24bc58afe91..e5bc211ea8d0 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 
 struct mci_host;
 struct device_d;
arch/arm/mach-pxa/include/mach/mfp-pxa27x.h +2 -0
index f6a27a20db19..5db786a85aa1 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARCH_MFP_PXA27X_H
 #define __ASM_ARCH_MFP_PXA27X_H
 
arch/arm/mach-pxa/include/mach/mfp-pxa2xx.h +2 -0
index 658b28ed129b..b01f6188d4e2 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARCH_MFP_PXA2XX_H
 #define __ASM_ARCH_MFP_PXA2XX_H
 
arch/arm/mach-pxa/include/mach/mfp-pxa3xx.h +2 -0
index 7bdd44db13b4..00eb7247099f 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARCH_MFP_PXA3XX_H
 #define __ASM_ARCH_MFP_PXA3XX_H
 
arch/arm/mach-pxa/include/mach/pxa25x-regs.h +2 -0
index a7f16bd418bf..f9cbe50007fd 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_PXA25X_REGS
 #define __MACH_PXA25X_REGS
 
arch/arm/mach-pxa/include/mach/pxa27x-regs.h +2 -0
index f4d88d47aba3..a97538d0125a 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_PXA27X_REGS
 #define __MACH_PXA27X_REGS
 
arch/arm/mach-pxa/include/mach/pxafb.h +2 -0
index 23cbea99c898..44ac3237a30f 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * This structure describes the machine which we are running on.
  */
arch/arm/mach-pxa/include/mach/regs-intc.h +2 -0
index 68464ce1c1ea..91760b267881 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_MACH_REGS_INTC_H
 #define __ASM_MACH_REGS_INTC_H
 
arch/arm/mach-pxa/include/mach/regs-lcd.h +2 -0
index a6d0817ae692..4d473f23ae36 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARCH_REGS_LCD_H
 #define __ASM_ARCH_REGS_LCD_H
 
arch/arm/mach-pxa/include/mach/regs-ost.h +2 -0
index a3e5f86ef67e..aefdee44f86a 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_MACH_REGS_OST_H
 #define __ASM_MACH_REGS_OST_H
 
arch/arm/mach-pxa/include/mach/udc_pxa2xx.h +2 -0
index dcdd36a3b46c..1ddfa7b79714 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * arch/arm/mach-pxa/include/mach/udc_pxa2xx.h
  *
arch/arm/mach-rockchip/include/mach/atf.h +2 -0
index 337a8261c89f..ab328cc8d20a 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_ATF_H
 #define __MACH_ATF_H
 
arch/arm/mach-rockchip/include/mach/bbu.h +2 -0
index 7fb08a0a9e54..2cc9b74081e4 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_ROCKCHIP_BBU_H
 #define __MACH_ROCKCHIP_BBU_H
 
arch/arm/mach-rockchip/include/mach/debug_ll.h +2 -0
index af6257a674a2..73fc5b5db2ff 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_DEBUG_LL_H__
 #define __MACH_DEBUG_LL_H__
 
arch/arm/mach-rockchip/include/mach/rk3568-regs.h +2 -0
index bb2ca7bd9026..edd5ee268d5d 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_RK3568_REGS_H
 #define __MACH_RK3568_REGS_H
 
arch/arm/mach-rockchip/include/mach/rockchip.h +2 -0
index 269d113bc39f..f24db36f0161 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_ROCKCHIP_H
 #define __MACH_ROCKCHIP_H
 
arch/arm/mach-samsung/include/mach/bbu.h +2 -0
index 7ce7052bcf62..ddc72a622d16 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_BBU_H
 #define __MACH_BBU_H
 
arch/arm/mach-socfpga/include/mach/arria10-xload.h +2 -0
index 7575231bbf34..c58ab7f8cfd2 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_ARRIA10_XLOAD_H
 #define __MACH_ARRIA10_XLOAD_H
 
arch/arm/mach-socfpga/include/mach/barebox-arm-head.h +2 -0
index 28fb1c92fc77..634d3f109b45 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 static inline void __barebox_arm_head(void)
 {
 	__asm__ __volatile__ (
arch/arm/mach-socfpga/include/mach/cyclone5-regs.h +2 -0
index 1a7d787a27bf..4200e8836018 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_SOCFPGA_REGS_H
 #define __MACH_SOCFPGA_REGS_H
 
arch/arm/mach-socfpga/include/mach/cyclone5-sdram-config.h +2 -0
index a19a837994e2..7b11d8d08899 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_SDRAM_CONFIG_H
 #define __MACH_SDRAM_CONFIG_H
 
arch/arm/mach-socfpga/include/mach/debug_ll.h +2 -0
index 3264934e6d1a..44f56640e89b 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_DEBUG_LL_H__
 #define   __MACH_DEBUG_LL_H__
 
arch/arm/mach-socfpga/include/mach/generic.h +2 -0
index c8ee73fe2e1f..6c359e2abbd7 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_SOCFPGA_GENERIC_H
 #define __MACH_SOCFPGA_GENERIC_H
 
arch/arm/mach-socfpga/include/mach/lowlevel.h +2 -0
index 8134a023573b..8f3b682fa433 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_SOCFPGA_LOWLEVEL_H
 #define __MACH_SOCFPGA_LOWLEVEL_H
 
arch/arm/mach-socfpga/include/mach/pll_config.h +2 -0
index d6fb60dd2442..ded3c0d09ef6 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _MACH_SOCFPGA_PRELOADER_PLL_CONFIG_H_
 #define _MACH_SOCFPGA_PRELOADER_PLL_CONFIG_H_
 
arch/arm/mach-stm32mp/include/mach/bbu.h +2 -0
index 8b9504400e9e..d49fb045ea06 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef MACH_STM32MP_BBU_H_
 #define MACH_STM32MP_BBU_H_
 
arch/arm/mach-stm32mp/include/mach/bsec.h +2 -0
index d3cb91b1fdb1..7206a020998f 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_STM32_BSEC_H__
 #define __MACH_STM32_BSEC_H__
 
arch/arm/mach-stm32mp/include/mach/debug_ll.h +2 -0
index 99fedb91fe67..22c5c126335f 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_STM32MP1_DEBUG_LL_H
 #define __MACH_STM32MP1_DEBUG_LL_H
 
arch/arm/mach-stm32mp/include/mach/entry.h +2 -0
index 92e15b5cf4e3..f8d981cca7cd 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _STM32MP_MACH_ENTRY_H_
 #define _STM32MP_MACH_ENTRY_H_
 
arch/arm/mach-stm32mp/include/mach/smc.h +2 -0
index 6b8e62bd5302..c0b86b2203f5 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_STM32_SMC_H__
 #define __MACH_STM32_SMC_H__
 
arch/arm/mach-uemd/include/mach/hardware.h +2 -0
index 2311ebf1cdc2..5c75b35dde56 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARCH_HARDWARE_H
 #define __ASM_ARCH_HARDWARE_H
 
arch/arm/mach-versatile/include/mach/init.h +1 -0
index acb0f660a2bd..e47aa857a17d 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #ifndef __VERSATILE_INIT_H__
 #define __VERSATILE_INIT_H__
arch/arm/mach-zynq/include/mach/debug_ll.h +2 -0
index 6c20dd534de1..1f626cd4132c 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * based on mach-imx/include/mach/debug_ll.h
  */
arch/arm/mach-zynq/include/mach/zynq-flash-header.h +2 -0
index ba4b67f479e9..320037e9b5b9 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_FLASH_HEADER_H
 #define __MACH_FLASH_HEADER_H
 
arch/mips/include/asm/asm-offsets.h +2 -0
index d370ee36a182..33db5a47e5c2 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <generated/asm-offsets.h>
arch/mips/include/asm/bitsperlong.h +2 -0
index 6dc0bb0c13b2..bf000a04ccde 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm-generic/bitsperlong.h>
arch/mips/include/asm/cache.h +2 -0
index 4bb39b1cd407..f2f50986c7bf 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_MIPS_CACHE_H
 #define _ASM_MIPS_CACHE_H
 
arch/mips/include/asm/cpu.h +2 -0
index 9d94eb346b85..155e254a812a 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * cpu.h: Values of the PRId register used to match up
  *        various MIPS cpu types.
arch/mips/include/asm/dma-mapping.h +2 -0
index c71a087038d0..19d5b3f7bc4d 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_DMA_MAPPING_H
 #define _ASM_DMA_MAPPING_H
 
arch/mips/include/asm/io.h +2 -0
index 4df9853680a9..0d228aa0f515 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * Stolen from the linux-2.6/include/asm-generic/io.h
  */
arch/mips/include/asm/memory.h +2 -0
index 2aa28b76861b..0821b432f84e 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_MIPS_MEMORY_H
 #define __ASM_MIPS_MEMORY_H
 
arch/mips/include/asm/mmu.h +2 -0
index 95af87142027..1c2646ebb339 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_MMU_H
 #define __ASM_MMU_H
 
arch/mips/mach-ar231x/include/mach/pbl_macros.h +2 -0
index cb72dbe46696..b93760a81b06 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_MACH_AR2312_PBL_MACROS_H
 #define __ASM_MACH_AR2312_PBL_MACROS_H
 
arch/mips/mach-ath79/include/mach/pbl_ll_init_ar9344_1.1.h +2 -0
index 594ec115537a..08a3256a7916 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_MACH_ATH79_PBL_LL_INIT_AR9344_1_1_H
 #define __ASM_MACH_ATH79_PBL_LL_INIT_AR9344_1_1_H
 
arch/mips/mach-ath79/include/mach/pbl_ll_init_qca4531.h +2 -0
index 002778b3ec93..18bf26b8ac53 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_MACH_ATH79_PBL_LL_INIT_QCA4531_H
 #define __ASM_MACH_ATH79_PBL_LL_INIT_QCA4531_H
 
arch/mips/mach-ath79/include/mach/pbl_macros.h +2 -0
index c5f3d4150ea4..f101b41708eb 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_MACH_ATH79_PBL_MACROS_H
 #define __ASM_MACH_ATH79_PBL_MACROS_H
 
arch/mips/mach-loongson/include/mach/pbl_macros.h +2 -0
index 93402d1c541a..8e9b231c45e9 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_MACH_LOONGSON1_PBL_MACROS_H
 #define __ASM_MACH_LOONGSON1_PBL_MACROS_H
 
arch/mips/mach-malta/include/mach/mach-gt64120.h +2 -0
index 8f20fcf26f9f..e7d230655c26 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  *  This is a direct copy of the ev96100.h file, with a global
  * search and replace.	The numbers are the same.
arch/mips/mach-xburst/include/mach/devices.h +2 -0
index 931749d42441..1e5e9476aae1 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_XBURST_DEVICES_H
 #define __MACH_XBURST_DEVICES_H
 
arch/openrisc/boards/generic/config.h +1 -0
index f6a054beed82..2d836d0063ed 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 #ifndef _GENERIC_NAMES_H_
 #define _GENERIC_NAMES_H_
 
arch/openrisc/include/asm/bitsperlong.h +2 -0
index 6dc0bb0c13b2..bf000a04ccde 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm-generic/bitsperlong.h>
arch/openrisc/include/asm/byteorder.h +2 -0
index 60d14f7e14e2..bd60c438a930 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/byteorder/big_endian.h>
arch/openrisc/include/asm/common.h +2 -0
index 027dca2d5682..06bb4824a268 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_COMMON_H
 #define __ASM_COMMON_H
 
arch/openrisc/include/asm/linkage.h +2 -0
index dbe4b4e31a5b..aebd618b27b5 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_LINKAGE_H
 #define __ASM_LINKAGE_H
 
arch/openrisc/include/asm/mmu.h +2 -0
index 95af87142027..1c2646ebb339 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_MMU_H
 #define __ASM_MMU_H
 
arch/openrisc/include/asm/posix_types.h +2 -0
index 22cae6230ceb..feaed4247135 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm-generic/posix_types.h>
arch/openrisc/include/asm/sections.h +2 -0
index 2b8c5160388f..c6dd0eead244 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm-generic/sections.h>
arch/openrisc/include/asm/string.h +2 -0
index 73e265564ae6..cfc2ea1f376e 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_OPENRISC_STRING_H
 #define __ASM_OPENRISC_STRING_H
 
arch/openrisc/include/asm/swab.h +2 -0
index b07e1d51f121..0b49949db8ea 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_SWAB_H
 #define _ASM_SWAB_H
 
arch/powerpc/include/asm/atomic.h +2 -0
index af3c61a823eb..814bf50d6343 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * PowerPC atomic operations
  */
arch/powerpc/include/asm/bitops.h +2 -0
index 2fdd57eff085..543612e6ede3 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * bitops.h: Bit string operations on the ppc
  */
arch/powerpc/include/asm/bitsperlong.h +2 -0
index 6dc0bb0c13b2..bf000a04ccde 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm-generic/bitsperlong.h>
arch/powerpc/include/asm/cache.h +2 -0
index 147ceb6714ba..c9066099ab6d 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * include/asm-ppc/cache.h
  */
arch/powerpc/include/asm/common.h +2 -0
index b91f51e46219..1e1ea4601dcc 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_COMMON_H
 #define __ASM_COMMON_H
 
arch/powerpc/include/asm/io.h +2 -0
index 30d098702380..88f14b54f4b9 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /* originally from linux source.
  * removed the dependencies on CONFIG_ values
  * removed virt_to_phys stuff (and in fact everything surrounded by #if __KERNEL__)
arch/powerpc/include/asm/mmu.h +2 -0
index c691de1c77b0..81a5d7d55f93 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * PowerPC memory management structures
  */
arch/powerpc/include/asm/module.h +2 -0
index 09c04402c541..e5c10e35da49 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 
 /**/
 struct mod_arch_specific {
arch/powerpc/include/asm/pci_io.h +2 -0
index 9b738c383f7d..d601a9671e7d 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /* originally from linux source (asm-ppc/io.h).
  * Sanity added by Rob Taylor, Flying Pig Systems, 2000
  */
arch/powerpc/include/asm/posix_types.h +2 -0
index 22cae6230ceb..feaed4247135 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm-generic/posix_types.h>
arch/powerpc/include/asm/processor.h +2 -0
index f4677d11e124..b9b73580c41b 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_PPC_PROCESSOR_H
 #define __ASM_PPC_PROCESSOR_H
 
arch/powerpc/include/asm/ptrace.h +2 -0
index b4d599f43bbd..c7800576d53a 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _PPC_PTRACE_H
 #define _PPC_PTRACE_H
 
arch/powerpc/include/asm/sections.h +2 -0
index 2b8c5160388f..c6dd0eead244 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm-generic/sections.h>
arch/powerpc/include/asm/sigcontext.h +2 -0
index 4bd66a707da9..78648b089c11 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_PPC_SIGCONTEXT_H
 #define _ASM_PPC_SIGCONTEXT_H
 
arch/powerpc/include/asm/signal.h +2 -0
index b11a28efd149..851fc7d41c8f 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASMPPC_SIGNAL_H
 #define _ASMPPC_SIGNAL_H
 
arch/powerpc/include/asm/status_led.h +2 -0
index eb81f371c964..129aa6614ab6 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * asm/status_led.h
  *
arch/powerpc/include/asm/string.h +2 -0
index 33d143f04eac..b06bb4cbff4a 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _PPC_STRING_H_
 #define _PPC_STRING_H_
 
arch/powerpc/include/asm/types.h +2 -0
index f3d41905cafe..c2c501828b46 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _PPC_TYPES_H
 #define _PPC_TYPES_H
 
arch/powerpc/include/asm/unaligned.h +2 -0
index a41fa8cb4a6b..a28cc24b12ea 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_PPC_UNALIGNED_H
 #define _ASM_PPC_UNALIGNED_H
 
arch/powerpc/mach-mpc5xxx/include/mach/clock.h +2 -0
index b19686f18c6c..1813740eb151 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARCH_CLOCKS_H
 #define __ASM_ARCH_CLOCKS_H
 
arch/powerpc/mach-mpc5xxx/include/mach/sdma.h +2 -0
index 6a25d79fb61a..02f561675a03 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * (C) Copyright 2003
  * Wolfgang Denk, DENX Software Engineering, [email protected].
arch/powerpc/mach-mpc85xx/include/mach/clock.h +2 -0
index 0e68cf6667e5..bfd9cf4d8ecd 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARCH_CLOCKS_H
 #define __ASM_ARCH_CLOCKS_H
 
arch/powerpc/mach-mpc85xx/include/mach/mpc85xx.h +2 -0
index 1d9993ace9a4..5491f0b08d64 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * Copyright 2004, 2007 Freescale Semiconductor.
  * Copyright(c) 2003 Motorola Inc.
arch/riscv/include/asm/asm-offsets.h +2 -0
index d370ee36a182..33db5a47e5c2 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <generated/asm-offsets.h>
arch/riscv/include/asm/bitsperlong.h +2 -0
index 6dc0bb0c13b2..bf000a04ccde 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm-generic/bitsperlong.h>
arch/riscv/include/asm/byteorder.h +2 -0
index 0be826927bd3..36dfd3752401 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_RISCV_BYTEORDER_H
 #define _ASM_RISCV_BYTEORDER_H
 
arch/riscv/include/asm/io.h +2 -0
index 795e670e3b9b..978f64434078 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_RISCV_IO_H
 #define __ASM_RISCV_IO_H
 
arch/riscv/include/asm/mmu.h +2 -0
index 95af87142027..1c2646ebb339 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_MMU_H
 #define __ASM_MMU_H
 
arch/riscv/include/asm/posix_types.h +2 -0
index 22cae6230ceb..feaed4247135 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm-generic/posix_types.h>
arch/riscv/include/asm/swab.h +2 -0
index 60a90120b6e6..0ca746f0f144 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_SWAB_H
 #define _ASM_SWAB_H
 
arch/riscv/include/asm/types.h +2 -0
index 1ad5904f9178..add1c94fc7ae 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_RISCV_TYPES_H
 #define __ASM_RISCV_TYPES_H
 
arch/riscv/include/asm/unaligned.h +2 -0
index c37b71c21ee5..3bc29309894e 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_RISCV_UNALIGNED_H
 #define _ASM_RISCV_UNALIGNED_H
 
arch/sandbox/include/asm/bitsperlong.h +2 -0
index 6dc0bb0c13b2..bf000a04ccde 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm-generic/bitsperlong.h>
arch/sandbox/include/asm/byteorder.h +2 -0
index 3d82bcba6e1b..fdb421c7a53c 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _SANDBOX_BYTEORDER_H
 #define _SANDBOX_BYTEORDER_H
 
arch/sandbox/include/asm/common.h +2 -0
index 9b8bd2d94c63..66ed2f5e9c52 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef ASM_COMMON_H
 #define ASM_COMMON_H
 
arch/sandbox/include/asm/elf.h +2 -0
index e71a60aeb93f..f08d5930c66d 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_SANDBOX_ELF_H__
 #define __ASM_SANDBOX_ELF_H__
 
arch/sandbox/include/asm/io.h +2 -0
index 3e5c0580bc5a..71cf50cd9a03 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_SANDBOX_IO_H
 #define __ASM_SANDBOX_IO_H
 
arch/sandbox/include/asm/mmu.h +2 -0
index 95af87142027..1c2646ebb339 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_MMU_H
 #define __ASM_MMU_H
 
arch/sandbox/include/asm/posix_types.h +2 -0
index 22cae6230ceb..feaed4247135 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm-generic/posix_types.h>
arch/sandbox/include/asm/sections.h +2 -0
index 2b8c5160388f..c6dd0eead244 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm-generic/sections.h>
arch/sandbox/include/asm/string.h +2 -0
index 2997587d820c..b3c27a412d69 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /* dummy */
arch/sandbox/include/asm/swab.h +2 -0
index 60a90120b6e6..0ca746f0f144 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_SWAB_H
 #define _ASM_SWAB_H
 
arch/sandbox/include/asm/types.h +2 -0
index 7b356a99eb66..e29dde377c1d 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_SANDBOX_TYPES_H
 #define __ASM_SANDBOX_TYPES_H
 
arch/sandbox/include/asm/unaligned.h +2 -0
index d02da6e60d2e..7bca3ff8a4aa 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_SANDBOX_UNALIGNED_H
 #define _ASM_SANDBOX_UNALIGNED_H
 
arch/sandbox/mach-sandbox/include/mach/hostfile.h +2 -0
index 3ef34bcc1c22..b461d5ebc359 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARCH_HOSTFILE_H
 #define __ASM_ARCH_HOSTFILE_H
 
arch/sandbox/mach-sandbox/include/mach/linux.h +2 -0
index 453813952e55..1584d8065c7f 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARCH_LINUX_H
 #define __ASM_ARCH_LINUX_H
 
arch/x86/include/asm/bitsperlong.h +2 -0
index 6dc0bb0c13b2..bf000a04ccde 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm-generic/bitsperlong.h>
arch/x86/include/asm/elf.h +2 -0
index ddde03518817..365e6cd02ba2 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_SANDBOX_ELF_H__
 #define __ASM_SANDBOX_ELF_H__
 
arch/x86/include/asm/io.h +2 -0
index 0971727bc63d..c28f49a9de7f 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * Mostly stolen from the linux kernel
  */
arch/x86/include/asm/linkage.h +2 -0
index a8d1bdb7de1f..1d78d9169b6a 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_LINKAGE_H
 #define __ASM_LINKAGE_H
 
arch/x86/include/asm/mmu.h +2 -0
index 95af87142027..1c2646ebb339 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_MMU_H
 #define __ASM_MMU_H
 
arch/x86/include/asm/posix_types.h +2 -0
index 22cae6230ceb..feaed4247135 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm-generic/posix_types.h>
arch/x86/include/asm/sections.h +2 -0
index 2b8c5160388f..c6dd0eead244 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm-generic/sections.h>
arch/x86/include/asm/swab.h +2 -0
index 557cd9f00661..e2319d9776f9 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_X86_SWAB_H
 #define _ASM_X86_SWAB_H
 
arch/x86/include/asm/types.h +2 -0
index 17947b2ff3fd..52a6e51fd4b1 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_I386_TYPES_H
 #define __ASM_I386_TYPES_H
 
arch/x86/include/asm/unaligned.h +2 -0
index 7e38706c5db9..a62dc88922af 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_X86_UNALIGNED_H
 #define _ASM_X86_UNALIGNED_H
 
arch/x86/mach-efi/include/mach/debug_ll.h +2 -0
index e144d86e0008..f7ac98635acd 100644
@@ -1 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <efi/debug_ll.h>
Signature · 7 lines
2.30.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#9 lore raw

PATCH 9/11 arch: add SPDX-License-Identifier to all .S files

In reply to Ahmad Fatoum

Record GPL-2.0-only as license for all files lacking an explicit license statement.

---
 arch/arm/boards/a9m2410/lowlevel_init.S                    | 4 +---
 arch/arm/boards/a9m2440/lowlevel_init.S                    | 4 +---
 arch/arm/boards/eukrea_cpuimx27/lowlevel_init.S            | 2 ++
 arch/arm/boards/freescale-mx27-ads/lowlevel_init.S         | 2 ++
 arch/arm/boards/friendlyarm-mini2440/lowlevel_init.S       | 2 ++
 arch/arm/boards/guf-neso/pll_init.S                        | 2 ++
 arch/arm/cpu/cache-armv4.S                                 | 2 ++
 arch/arm/cpu/cache-armv5.S                                 | 2 ++
 arch/arm/cpu/cache-armv6.S                                 | 2 ++
 arch/arm/cpu/cache-armv7.S                                 | 2 ++
 arch/arm/cpu/entry_ll.S                                    | 2 ++
 arch/arm/cpu/entry_ll_64.S                                 | 2 ++
 arch/arm/cpu/exceptions.S                                  | 2 ++
 arch/arm/cpu/hyp.S                                         | 2 ++
 arch/arm/cpu/lowlevel.S                                    | 2 ++
 arch/arm/cpu/lowlevel_64.S                                 | 2 ++
 arch/arm/cpu/setupc.S                                      | 2 ++
 arch/arm/cpu/setupc_64.S                                   | 2 ++
 arch/arm/cpu/sm_as.S                                       | 2 ++
 arch/arm/lib32/runtime-offset.S                            | 2 ++
 arch/arm/lib32/start-kernel-optee.S                        | 2 ++
 arch/arm/lib64/runtime-offset.S                            | 2 ++
 arch/arm/mach-layerscape/lowlevel.S                        | 2 ++
 arch/arm/mach-layerscape/ppa-entry.S                       | 2 ++
 arch/mips/lib/genex.S                                      | 2 ++
 arch/mips/pbl/piggy.gzip.S                                 | 2 ++
 arch/mips/pbl/piggy.lz4.S                                  | 2 ++
 arch/mips/pbl/piggy.lzo.S                                  | 2 ++
 arch/mips/pbl/piggy.shipped.S                              | 2 ++
 arch/mips/pbl/piggy.xzkern.S                               | 2 ++
 arch/openrisc/lib/ashldi3.S                                | 2 ++
 arch/openrisc/lib/lshrdi3.S                                | 2 ++
 arch/openrisc/lib/muldi3.S                                 | 2 ++
 arch/powerpc/cpu-85xx/resetvec.S                           | 2 ++
 arch/powerpc/lib/misc.S                                    | 1 +
 arch/powerpc/mach-mpc5xxx/firmware_sc_task_bestcomm.impl.S | 2 ++
 arch/sandbox/board/barebox.lds.S                           | 2 ++
 arch/x86/mach-efi/elf_ia32_efi.lds.S                       | 2 ++
 arch/x86/mach-efi/elf_x86_64_efi.lds.S                     | 2 ++
 39 files changed, 75 insertions(+), 6 deletions(-)
arch/arm/boards/a9m2410/lowlevel_init.S +1 -3
index b772b1f7f0c6..4c949b1efacc 100644
@@ -1,6 +1,4 @@
-/*
- *
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #include <config.h>
 #include <linux/sizes.h>
arch/arm/boards/a9m2440/lowlevel_init.S +1 -3
index 2c51e05806f3..585863f9d4d7 100644
@@ -1,6 +1,4 @@
-/*
- *
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #include <config.h>
 #include <linux/sizes.h>
arch/arm/boards/eukrea_cpuimx27/lowlevel_init.S +2 -0
index b3504832d7e1..13e906eea49a 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <config.h>
 #include <asm-generic/memory_layout.h>
 #include <mach/imx27-regs.h>
arch/arm/boards/freescale-mx27-ads/lowlevel_init.S +2 -0
index e79b96dd2cfb..bd78ebf9e84c 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * For clock initialization, see chapter 3 of the "MCIMX27 Multimedia
  * Applications Processor Reference Manual, Rev. 0.2".
arch/arm/boards/friendlyarm-mini2440/lowlevel_init.S +2 -0
index 43bf49c12ce1..b26efa12b0b8 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * Low level initialization for the FriendlyARM mini2440 board
  */
arch/arm/boards/guf-neso/pll_init.S +2 -0
index 4c6cb67fd48a..fe28c457fc6e 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <config.h>
 #include <mach/imx27-regs.h>
 #include <mach/imx-pll.h>
arch/arm/cpu/cache-armv4.S +2 -0
index db87de17e98b..78a098b2fedf 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <init.h>
 
arch/arm/cpu/cache-armv5.S +2 -0
index 4267f3e37fc9..bcb7ebf466f9 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <init.h>
 
arch/arm/cpu/cache-armv6.S +2 -0
index 7a0675199757..cc720314c07b 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <init.h>
 
arch/arm/cpu/cache-armv7.S +2 -0
index 0f6108426c0b..efd9fe412fc9 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <init.h>
 
arch/arm/cpu/entry_ll.S +2 -0
index 8cc7a84f1062..2800174c4526 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <asm/sections.h>
 
arch/arm/cpu/entry_ll_64.S +2 -0
index fb8645e0a03f..6530bec5ebe4 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <asm/sections.h>
 
arch/arm/cpu/exceptions.S +2 -0
index 55014c8d460f..749c713aab5c 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <config.h>
 #include <linux/linkage.h>
 #include <asm-generic/memory_layout.h>
arch/arm/cpu/hyp.S +2 -0
index 1314b56eab25..b5e480787770 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <asm/system.h>
 #include <asm/opcodes-virt.h>
arch/arm/cpu/lowlevel.S +2 -0
index 203a4afc4723..5a7dd3c2093f 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <init.h>
 #include <asm/system.h>
arch/arm/cpu/lowlevel_64.S +2 -0
index 6a23132ed140..ed00c8c47057 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <init.h>
 #include <asm/system.h>
arch/arm/cpu/setupc.S +2 -0
index 55aa105b2160..eafc9b52c6d0 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <asm/sections.h>
 
arch/arm/cpu/setupc_64.S +2 -0
index e24acbd0da70..b5f4a643fa42 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <asm/sections.h>
 
arch/arm/cpu/sm_as.S +2 -0
index de6cd0406f4f..f55ac8661c6c 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <asm/ptrace.h>
 #include <asm-generic/memory_layout.h>
arch/arm/lib32/runtime-offset.S +2 -0
index f86ca7865eb3..ac104de1195c 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <asm/assembler.h>
 
arch/arm/lib32/start-kernel-optee.S +2 -0
index 92da4b63c9b8..261ab39ba7a3 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 
 ENTRY(start_kernel_optee)
arch/arm/lib64/runtime-offset.S +2 -0
index e2ff5d21036d..822e323c142e 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <asm/assembler.h>
 
arch/arm/mach-layerscape/lowlevel.S +2 -0
index adb3e5436727..e8e6410c525a 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 
 .section .text.ls1046a_init_l2_latency
arch/arm/mach-layerscape/ppa-entry.S +2 -0
index 18cfa6c37ecf..f5f30b671930 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 
 .section .text.ppa_entry
arch/mips/lib/genex.S +2 -0
index 5fb222323133..d75a652e4d6c 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm/asm.h>
 #include <asm/regdef.h>
 #include <asm/mipsregs.h>
arch/mips/pbl/piggy.gzip.S +2 -0
index 1e6bbef66c98..b99ba8aeab6f 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm/asm.h>
 
 	.section .data
arch/mips/pbl/piggy.lz4.S +2 -0
index be9425bf00ac..c3ddbdace01f 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm/asm.h>
 
 	.section .data
arch/mips/pbl/piggy.lzo.S +2 -0
index 6f1af1f314da..2c1f4cb34edc 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm/asm.h>
 
 	.section .data
arch/mips/pbl/piggy.shipped.S +2 -0
index 8a35f6bc052b..fc2859e6739f 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm/asm.h>
 
 	.section .data
arch/mips/pbl/piggy.xzkern.S +2 -0
index edfa53b86c70..8c99d959f80c 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm/asm.h>
 
 	.section .data
arch/openrisc/lib/ashldi3.S +2 -0
index 3e422fadc4ff..f6b976bff254 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * (C) Copyright 2011 - Franck JULLIEN <[email protected]>
  *
arch/openrisc/lib/lshrdi3.S +2 -0
index de30445f4e0f..99aa73ef51ca 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * (C) Copyright 2011 - Franck JULLIEN <[email protected]>
  *
arch/openrisc/lib/muldi3.S +2 -0
index 902338a242b7..70d0eacf1ed6 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * (C) Copyright 2011 - Franck JULLIEN <[email protected]>
  *
arch/powerpc/cpu-85xx/resetvec.S +2 -0
index 29555d4a0092..b21cc0f19d6d 100644
@@ -1,2 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 	.section .resetvec,"ax"
 	b _start_e500
arch/powerpc/lib/misc.S +1 -0
index bd06ff2062ca..c45f02ba3af0 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #include <asm/ppc_asm.tmpl>
 #include <asm-generic/errno.h>
arch/powerpc/mach-mpc5xxx/firmware_sc_task_bestcomm.impl.S +2 -0
index 42d0e3ce0825..17213053d2c4 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * Copyright (C) 2001, Software Center, Motorola China.
  *
arch/sandbox/board/barebox.lds.S +2 -0
index 7a5a8eb1e7ce..84d085a25911 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm-generic/barebox.lds.h>
 
 SECTIONS
arch/x86/mach-efi/elf_ia32_efi.lds.S +2 -0
index 18ddf1780244..ac89fd89a4d3 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm-generic/barebox.lds.h>
 
 OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
arch/x86/mach-efi/elf_x86_64_efi.lds.S +2 -0
index ab4a9e815c00..b620ba5b3797 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <asm-generic/barebox.lds.h>
 
 /* Same as elf_x86_64_fbsd_efi.lds, except for OUTPUT_FORMAT below - KEEP IN SYNC */
Signature · 7 lines
2.30.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#10 lore raw

PATCH 10/11 arch: add SPDX-License-Identifier to all .c files

In reply to Ahmad Fatoum

Record GPL-2.0-only as license for all files lacking an explicit license statement.

---
 arch/arm/boards/afi-gf/lowlevel.c                       | 2 ++
 arch/arm/boards/altera-socdk/board.c                    | 2 ++
 arch/arm/boards/altera-socdk/lowlevel.c                 | 2 ++
 arch/arm/boards/at91sam9x5ek/lowlevel.c                 | 2 ++
 arch/arm/boards/beagle/lowlevel.c                       | 2 ++
 arch/arm/boards/beaglebone/lowlevel.c                   | 2 ++
 arch/arm/boards/boundarydevices-nitrogen6/lowlevel.c    | 2 ++
 arch/arm/boards/canon-a1100/lowlevel.c                  | 2 ++
 arch/arm/boards/chumby_falconwing/lowlevel.c            | 2 ++
 arch/arm/boards/cm-fx6/lowlevel.c                       | 2 ++
 arch/arm/boards/crystalfontz-cfa10036/lowlevel.c        | 2 ++
 arch/arm/boards/digi-ccimx6ulsom/lowlevel.c             | 2 ++
 arch/arm/boards/duckbill/lowlevel.c                     | 2 ++
 arch/arm/boards/ebv-socrates/board.c                    | 2 ++
 arch/arm/boards/ebv-socrates/lowlevel.c                 | 2 ++
 arch/arm/boards/ebv-socrates/sequencer_auto_ac_init.c   | 2 ++
 arch/arm/boards/ebv-socrates/sequencer_auto_inst_init.c | 2 ++
 arch/arm/boards/efika-mx-smartbook/lowlevel.c           | 2 ++
 arch/arm/boards/element14-warp7/lowlevel.c              | 2 ++
 arch/arm/boards/embedsky-e9/lowlevel.c                  | 2 ++
 arch/arm/boards/embest-riotboard/lowlevel.c             | 2 ++
 arch/arm/boards/eukrea_cpuimx51/lowlevel.c              | 2 ++
 arch/arm/boards/freescale-mx23-evk/lowlevel.c           | 2 ++
 arch/arm/boards/freescale-mx28-evk/lowlevel.c           | 2 ++
 arch/arm/boards/freescale-mx51-babbage/lowlevel.c       | 2 ++
 arch/arm/boards/freescale-mx51-babbage/power.c          | 2 ++
 arch/arm/boards/freescale-mx53-qsb/lowlevel.c           | 2 ++
 arch/arm/boards/freescale-mx53-smd/lowlevel.c           | 2 ++
 arch/arm/boards/freescale-mx53-vmx53/lowlevel.c         | 2 ++
 arch/arm/boards/freescale-mx6-sabrelite/lowlevel.c      | 2 ++
 arch/arm/boards/freescale-mx6-sabresd/lowlevel.c        | 2 ++
 arch/arm/boards/freescale-mx7-sabresd/lowlevel.c        | 2 ++
 arch/arm/boards/freescale-vf610-twr/lowlevel.c          | 2 ++
 arch/arm/boards/friendlyarm-mini6410/lowlevel.c         | 2 ++
 arch/arm/boards/friendlyarm-tiny6410/lowlevel.c         | 2 ++
 arch/arm/boards/gateworks-ventana/lowlevel.c            | 2 ++
 arch/arm/boards/gk802/lowlevel.c                        | 2 ++
 arch/arm/boards/guf-santaro/lowlevel.c                  | 2 ++
 arch/arm/boards/guf-vincell/lowlevel.c                  | 2 ++
 arch/arm/boards/imx233-olinuxino/lowlevel.c             | 2 ++
 arch/arm/boards/kamstrup-mx7-concentrator/lowlevel.c    | 2 ++
 arch/arm/boards/karo-tx28/lowlevel.c                    | 2 ++
 arch/arm/boards/karo-tx53/lowlevel.c                    | 2 ++
 arch/arm/boards/kindle-mx50/lowlevel.c                  | 2 ++
 arch/arm/boards/lubbock/lowlevel.c                      | 2 ++
 arch/arm/boards/mainstone/lowlevel.c                    | 2 ++
 arch/arm/boards/mioa701/lowlevel.c                      | 2 ++
 arch/arm/boards/netgear-rn104/lowlevel.c                | 2 ++
 arch/arm/boards/netgear-rn2120/board.c                  | 2 ++
 arch/arm/boards/nhk8815/lowlevel.c                      | 2 ++
 arch/arm/boards/omap343xdsp/lowlevel.c                  | 2 ++
 arch/arm/boards/omap3evm/lowlevel.c                     | 2 ++
 arch/arm/boards/panda/board.c                           | 2 ++
 arch/arm/boards/panda/mux.c                             | 2 ++
 arch/arm/boards/phytec-phycard-imx27/lowlevel.c         | 2 ++
 arch/arm/boards/phytec-phycard-omap3/lowlevel.c         | 2 ++
 arch/arm/boards/phytec-phycard-omap4/mux.c              | 2 ++
 arch/arm/boards/phytec-phycore-imx7/lowlevel.c          | 2 ++
 arch/arm/boards/phytec-phycore-omap4460/mux.c           | 2 ++
 arch/arm/boards/raspberry-pi/lowlevel.c                 | 2 ++
 arch/arm/boards/reflex-achilles/board.c                 | 2 ++
 arch/arm/boards/reflex-achilles/lowlevel.c              | 2 ++
 arch/arm/boards/reflex-achilles/pinmux-config-arria10.c | 2 ++
 arch/arm/boards/reflex-achilles/pll-config-arria10.c    | 2 ++
 arch/arm/boards/solidrun-microsom/lowlevel.c            | 2 ++
 arch/arm/boards/technexion-pico-hobbit/lowlevel.c       | 2 ++
 arch/arm/boards/terasic-de0-nano-soc/board.c            | 2 ++
 arch/arm/boards/terasic-de0-nano-soc/lowlevel.c         | 2 ++
 arch/arm/boards/terasic-de10-nano/board.c               | 2 ++
 arch/arm/boards/terasic-de10-nano/lowlevel.c            | 2 ++
 arch/arm/boards/terasic-sockit/board.c                  | 2 ++
 arch/arm/boards/terasic-sockit/lowlevel.c               | 2 ++
 arch/arm/boards/tqma53/lowlevel.c                       | 2 ++
 arch/arm/boards/udoo-neo/lowlevel.c                     | 2 ++
 arch/arm/boards/udoo/lowlevel.c                         | 2 ++
 arch/arm/boards/versatile/lowlevel.c                    | 2 ++
 arch/arm/boards/vscom-baltos/lowlevel.c                 | 2 ++
 arch/arm/boards/zii-imx51-rdu1/lowlevel.c               | 2 ++
 arch/arm/boards/zylonite/lowlevel.c                     | 2 ++
 arch/arm/cpu/atf.c                                      | 2 ++
 arch/arm/cpu/cache-l2x0.c                               | 2 ++
 arch/arm/cpu/cache.c                                    | 2 ++
 arch/arm/cpu/entry.c                                    | 2 ++
 arch/arm/cpu/mmu-common.c                               | 2 ++
 arch/arm/cpu/mmu-early.c                                | 2 ++
 arch/arm/cpu/mmu-early_64.c                             | 4 +++-
 arch/arm/cpu/sections.c                                 | 2 ++
 arch/arm/lib32/bootm.c                                  | 2 ++
 arch/arm/lib32/bootu.c                                  | 2 ++
 arch/arm/lib32/bootz.c                                  | 2 ++
 arch/arm/lib32/io.c                                     | 2 ++
 arch/arm/lib32/unwind.c                                 | 2 ++
 arch/arm/lib64/pbl.c                                    | 2 ++
 arch/arm/lib64/string.c                                 | 2 ++
 arch/arm/mach-at91/at91rm9200.c                         | 2 ++
 arch/arm/mach-at91/at91sam9260.c                        | 2 ++
 arch/arm/mach-at91/at91sam9261.c                        | 2 ++
 arch/arm/mach-at91/at91sam9263.c                        | 2 ++
 arch/arm/mach-at91/at91sam9g45.c                        | 2 ++
 arch/arm/mach-at91/at91sam9n12.c                        | 2 ++
 arch/arm/mach-at91/at91sam9x5.c                         | 2 ++
 arch/arm/mach-at91/bootm-barebox.c                      | 2 ++
 arch/arm/mach-at91/sama5d3.c                            | 2 ++
 arch/arm/mach-at91/xload-mmc.c                          | 2 ++
 arch/arm/mach-ep93xx/header.c                           | 2 ++
 arch/arm/mach-imx/atf.c                                 | 2 ++
 arch/arm/mach-imx/devices.c                             | 2 ++
 arch/arm/mach-imx/imx5.c                                | 2 ++
 arch/arm/mach-imx/xload-common.c                        | 2 ++
 arch/arm/mach-imx/xload-spi.c                           | 2 ++
 arch/arm/mach-layerscape/icid.c                         | 2 ++
 arch/arm/mach-layerscape/pblimage.c                     | 2 ++
 arch/arm/mach-mvebu/kwb_bbu.c                           | 2 ++
 arch/arm/mach-mvebu/kwbootimage.c                       | 2 ++
 arch/arm/mach-nomadik/clock.c                           | 2 ++
 arch/arm/mach-omap/am3xxx.c                             | 4 +++-
 arch/arm/mach-omap/omap4_clock.c                        | 2 ++
 arch/arm/mach-omap/omap4_generic.c                      | 2 ++
 arch/arm/mach-omap/omap_devices.c                       | 2 ++
 arch/arm/mach-omap/omap_fb.c                            | 2 ++
 arch/arm/mach-omap/xload.c                              | 2 ++
 arch/arm/mach-rockchip/bootm.c                          | 2 ++
 arch/arm/mach-socfpga/arria10-generic.c                 | 2 ++
 arch/arm/mach-socfpga/arria10-xload-emmc.c              | 2 ++
 arch/arm/mach-socfpga/arria10-xload.c                   | 2 ++
 arch/arm/mach-socfpga/cyclone5-generic.c                | 2 ++
 arch/arm/mach-socfpga/cyclone5-init.c                   | 2 ++
 arch/arm/mach-socfpga/xload.c                           | 2 ++
 arch/arm/mach-stm32mp/stm32image.c                      | 2 ++
 arch/mips/boards/netgear-wg102/ram.c                    | 2 ++
 arch/mips/lib/asm-offsets.c                             | 2 ++
 arch/mips/lib/bootm.c                                   | 2 ++
 arch/mips/lib/sections.c                                | 2 ++
 arch/mips/lib/shutdown.c                                | 2 ++
 arch/mips/lib/traps.c                                   | 2 ++
 arch/mips/mach-malta/pci.c                              | 2 ++
 arch/openrisc/boards/generic/generic.c                  | 1 +
 arch/openrisc/lib/asm-offsets.c                         | 2 ++
 arch/powerpc/lib/kgdb.c                                 | 2 ++
 arch/powerpc/lib/ppclinux.c                             | 2 ++
 arch/powerpc/mach-mpc5xxx/loadtask.c                    | 2 ++
 arch/powerpc/mach-mpc5xxx/reginfo.c                     | 2 ++
 arch/riscv/lib/asm-offsets.c                            | 2 ++
 arch/sandbox/board/dev-random.c                         | 2 ++
 arch/sandbox/board/power.c                              | 2 ++
 arch/sandbox/lib/asm-offsets.c                          | 2 ++
 arch/x86/lib/asm-offsets.c                              | 1 +
 arch/x86/mach-efi/clocksource.c                         | 2 ++
 148 files changed, 296 insertions(+), 2 deletions(-)
arch/arm/boards/afi-gf/lowlevel.c +2 -0
index da4a00067586..de40f6c5af52 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <init.h>
 #include <linux/sizes.h>
 #include <io.h>
arch/arm/boards/altera-socdk/board.c +2 -0
index f4b1dcd3249f..1c91d2a10dec 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <types.h>
 #include <driver.h>
arch/arm/boards/altera-socdk/lowlevel.c +2 -0
index 822c3d8ee60d..537453b6760d 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include "sdram_config.h"
 #include "pinmux_config.c"
 #include "pll_config.h"
arch/arm/boards/at91sam9x5ek/lowlevel.c +2 -0
index ebd417b19cc0..3d266161ec8f 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <mach/at91_ddrsdrc.h>
arch/arm/boards/beagle/lowlevel.c +2 -0
index 30cc1f2c54ff..683ab552f4d5 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <init.h>
 #include <debug_ll.h>
 #include <io.h>
arch/arm/boards/beaglebone/lowlevel.c +2 -0
index 31211448f5e8..6642bc4add85 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <init.h>
 #include <linux/sizes.h>
 #include <io.h>
arch/arm/boards/boundarydevices-nitrogen6/lowlevel.c +2 -0
index 74ff71fc246a..9312a1d4aa99 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <mach/generic.h>
 #include <mach/esdctl.h>
arch/arm/boards/canon-a1100/lowlevel.c +2 -0
index b75a1bfa6090..47a9564e0f84 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <asm/barebox-arm-head.h>
arch/arm/boards/chumby_falconwing/lowlevel.c +2 -0
index 0277b5d08326..091dd1955260 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <asm/barebox-arm-head.h>
arch/arm/boards/cm-fx6/lowlevel.c +2 -0
index fd86e159aaae..27c15f5412e1 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #define pr_fmt(fmt) "cm-fx6: " fmt
 
 #include <common.h>
arch/arm/boards/crystalfontz-cfa10036/lowlevel.c +2 -0
index 1bc5947682d5..92b42aa89350 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <asm/barebox-arm-head.h>
arch/arm/boards/digi-ccimx6ulsom/lowlevel.c +2 -0
index 7bf1db8120f9..ba562a501f81 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <mach/generic.h>
 #include <asm/barebox-arm.h>
arch/arm/boards/duckbill/lowlevel.c +2 -0
index 22987a6cdb22..0f76d9c938aa 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #define pr_fmt(fmt) "I2SE Duckbill: " fmt
 #define DEBUG
 
arch/arm/boards/ebv-socrates/board.c +2 -0
index 965150f9a3be..c2a8edac98f4 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <types.h>
 #include <driver.h>
arch/arm/boards/ebv-socrates/lowlevel.c +2 -0
index 3f12ae806fc8..1f5b835df230 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include "sdram_config.h"
 #include "pinmux_config.c"
 #include "pll_config.h"
arch/arm/boards/ebv-socrates/sequencer_auto_ac_init.c +2 -0
index 5b5196ad77e4..1a19310dcb6c 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 static const uint32_t ac_rom_init_size = 36;
 static const uint32_t ac_rom_init[36] =
 {
arch/arm/boards/ebv-socrates/sequencer_auto_inst_init.c +2 -0
index e261ecb6c178..c818d725b8e0 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 static const uint32_t inst_rom_init_size = 128;
 static const uint32_t inst_rom_init[128] =
 {
arch/arm/boards/efika-mx-smartbook/lowlevel.c +2 -0
index 3881678d8587..5375578c94f5 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <mach/esdctl.h>
 #include <mach/generic.h>
arch/arm/boards/element14-warp7/lowlevel.c +2 -0
index 6ca733a0beaf..94b7eb598b50 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #define DEBUG
 #include <io.h>
 #include <common.h>
arch/arm/boards/embedsky-e9/lowlevel.c +2 -0
index 845c4ec90c29..1cda6e07e2e1 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <mach/generic.h>
arch/arm/boards/embest-riotboard/lowlevel.c +2 -0
index 07f669fc0309..4093bf3bba53 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <debug_ll.h>
 #include <common.h>
 #include <linux/sizes.h>
arch/arm/boards/eukrea_cpuimx51/lowlevel.c +2 -0
index 6762fdad4b82..cecc3f6c833f 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <mach/esdctl.h>
 #include <mach/generic.h>
arch/arm/boards/freescale-mx23-evk/lowlevel.c +2 -0
index 99e08d88c75d..62560bbff733 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <generated/mach-types.h>
arch/arm/boards/freescale-mx28-evk/lowlevel.c +2 -0
index 82411bb51630..7f0bd8a90e7c 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #define pr_fmt(fmt) "Freescale MX28evk: " fmt
 #define DEBUG
 
arch/arm/boards/freescale-mx51-babbage/lowlevel.c +2 -0
index e29a647daa5d..e95324e64505 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <debug_ll.h>
 #include <mach/clock-imx51_53.h>
 #include <mach/iomux-mx51.h>
arch/arm/boards/freescale-mx51-babbage/power.c +2 -0
index 6edc672a5a22..ce44f3ae423a 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #define pr_fmt(fmt) "babbage-power: " fmt
 
 #include <common.h>
arch/arm/boards/freescale-mx53-qsb/lowlevel.c +2 -0
index c9044011d599..e845fa4a3e3c 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <mach/imx53-regs.h>
 #include <mach/esdctl.h>
arch/arm/boards/freescale-mx53-smd/lowlevel.c +2 -0
index fffbfdf0ba8c..b15025ba1863 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <mach/imx53-regs.h>
 #include <mach/esdctl.h>
arch/arm/boards/freescale-mx53-vmx53/lowlevel.c +2 -0
index ae94538c9e92..58eca49455e2 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <mach/esdctl.h>
 #include <mach/generic.h>
arch/arm/boards/freescale-mx6-sabrelite/lowlevel.c +2 -0
index c2d7a3c8f3da..0d8c51242a9f 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <mach/generic.h>
arch/arm/boards/freescale-mx6-sabresd/lowlevel.c +2 -0
index 7f83366e7a1d..d902dbeafb1d 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <debug_ll.h>
 #include <common.h>
 #include <linux/sizes.h>
arch/arm/boards/freescale-mx7-sabresd/lowlevel.c +2 -0
index 8db46ca69624..a8733d62091f 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <debug_ll.h>
 #include <io.h>
 #include <common.h>
arch/arm/boards/freescale-vf610-twr/lowlevel.c +2 -0
index 8fec9f4b91bf..9c7fafe4d682 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <mach/generic.h>
arch/arm/boards/friendlyarm-mini6410/lowlevel.c +2 -0
index ccbdd13795cb..dfb69d2272f2 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <asm/barebox-arm.h>
arch/arm/boards/friendlyarm-tiny6410/lowlevel.c +2 -0
index ccbdd13795cb..dfb69d2272f2 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <asm/barebox-arm.h>
arch/arm/boards/gateworks-ventana/lowlevel.c +2 -0
index 0a79d820499e..50386d8aed87 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <mach/generic.h>
arch/arm/boards/gk802/lowlevel.c +2 -0
index a41b711e362f..385ec3e73775 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <mach/generic.h>
arch/arm/boards/guf-santaro/lowlevel.c +2 -0
index 30c5e9054a3c..ee39903c80f2 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <io.h>
arch/arm/boards/guf-vincell/lowlevel.c +2 -0
index 04060b20031d..97f1ffc3a97a 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <debug_ll.h>
 #include <io.h>
arch/arm/boards/imx233-olinuxino/lowlevel.c +2 -0
index 253cf1257be4..71fc379f0487 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <asm/barebox-arm-head.h>
arch/arm/boards/kamstrup-mx7-concentrator/lowlevel.c +2 -0
index 8cd6d67f7ee1..4a9eae80d153 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <debug_ll.h>
 #include <io.h>
 #include <common.h>
arch/arm/boards/karo-tx28/lowlevel.c +2 -0
index 84cc6818163e..28d96f3e1a5f 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #define pr_fmt(fmt) "KARO TX28: " fmt
 #define DEBUG
 
arch/arm/boards/karo-tx53/lowlevel.c +2 -0
index 230f60ebd9db..e1bce4d3296d 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <debug_ll.h>
 #include <asm/barebox-arm-head.h>
arch/arm/boards/kindle-mx50/lowlevel.c +2 -0
index 992d1fd1a834..fce23ec6e027 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <io.h>
arch/arm/boards/lubbock/lowlevel.c +2 -0
index abf9e7a98a8b..f93a2ff47b9d 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <init.h>
 #include <io.h>
arch/arm/boards/mainstone/lowlevel.c +2 -0
index 31f9d76513a1..1ec1d1e028aa 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <init.h>
 #include <io.h>
arch/arm/boards/mioa701/lowlevel.c +2 -0
index ee0546ea6329..611699040282 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <asm/barebox-arm-head.h>
arch/arm/boards/netgear-rn104/lowlevel.c +2 -0
index 8a5361501873..c6c8e8402346 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /*
  * Copyright (C) 2014  Uwe Kleine-Koenig <[email protected]>
  */
arch/arm/boards/netgear-rn2120/board.c +2 -0
index d5756e09694b..8b44b9225796 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <clock.h>
 #include <init.h>
 #include <of.h>
arch/arm/boards/nhk8815/lowlevel.c +2 -0
index a9ccf1fff5ae..9ba5bbffadf1 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <asm/barebox-arm-head.h>
arch/arm/boards/omap343xdsp/lowlevel.c +2 -0
index fb99ea9278df..271b122d4df8 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <init.h>
 #include <io.h>
arch/arm/boards/omap3evm/lowlevel.c +2 -0
index e06ece256064..1dcfbc27ba9c 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <io.h>
 #include <init.h>
 #include <linux/sizes.h>
arch/arm/boards/panda/board.c +2 -0
index a0a00782d3ea..01189ebd76ae 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <console.h>
 #include <init.h>
arch/arm/boards/panda/mux.c +2 -0
index 76d1c5100517..25def93ea22b 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <init.h>
 #include <io.h>
arch/arm/boards/phytec-phycard-imx27/lowlevel.c +2 -0
index 40d39680fda7..8ab682b9db19 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /*
  * For clock initialization, see chapter 3 of the "MCIMX27 Multimedia
  * Applications Processor Reference Manual, Rev. 0.2".
arch/arm/boards/phytec-phycard-omap3/lowlevel.c +2 -0
index 546fa787355f..6f24108ef20e 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <io.h>
 #include <init.h>
arch/arm/boards/phytec-phycard-omap4/mux.c +2 -0
index 564944d1ba47..b0bbfa5906cf 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <init.h>
 #include <io.h>
arch/arm/boards/phytec-phycore-imx7/lowlevel.c +2 -0
index 3d2038e4a8d8..f8dcb3ce54d0 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #define DEBUG
 #include <io.h>
 #include <common.h>
arch/arm/boards/phytec-phycore-omap4460/mux.c +2 -0
index ca4ccf39f0c6..9cd10e06f8f5 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <init.h>
 #include <io.h>
arch/arm/boards/raspberry-pi/lowlevel.c +2 -0
index d58beb605255..29162ff02d54 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <asm/barebox-arm.h>
 #include <asm/cache.h>
 #include <common.h>
arch/arm/boards/reflex-achilles/board.c +2 -0
index 2b8186e19f40..43e3a69be725 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <init.h>
 #include <io.h>
arch/arm/boards/reflex-achilles/lowlevel.c +2 -0
index f910b67d5fd6..e8d1a9cee4c2 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <io.h>
arch/arm/boards/reflex-achilles/pinmux-config-arria10.c +2 -0
index b6a72304b623..146bb5405d62 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <mach/arria10-pinmux.h>
 
 static uint32_t pinmux[] = {
arch/arm/boards/reflex-achilles/pll-config-arria10.c +2 -0
index 9da41ecdf20f..27dbe01b58c5 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <mach/arria10-clock-manager.h>
 
 static struct arria10_mainpll_cfg mainpll_cfg = {
arch/arm/boards/solidrun-microsom/lowlevel.c +2 -0
index ea204e15f38f..b8f68fa22c95 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <asm/barebox-arm.h>
 #include <common.h>
 #include <mach/esdctl.h>
arch/arm/boards/technexion-pico-hobbit/lowlevel.c +2 -0
index f59c424dec26..43259675b084 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <mach/generic.h>
arch/arm/boards/terasic-de0-nano-soc/board.c +2 -0
index c6036a41f9a9..4019dae6a4bf 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <types.h>
 #include <driver.h>
arch/arm/boards/terasic-de0-nano-soc/lowlevel.c +2 -0
index deac0e9cb289..91bfd1a77679 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include "sdram_config.h"
 #include "pinmux_config.c"
 #include "pll_config.h"
arch/arm/boards/terasic-de10-nano/board.c +2 -0
index dc0e8967de83..f8df37eadf4a 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <types.h>
 #include <driver.h>
arch/arm/boards/terasic-de10-nano/lowlevel.c +2 -0
index d80cea6f20df..f6a3e3963489 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include "sdram_config.h"
 #include "pinmux_config.c"
 #include "pll_config.h"
arch/arm/boards/terasic-sockit/board.c +2 -0
index 19e67ff933e5..a3537fe6e353 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <types.h>
 #include <driver.h>
arch/arm/boards/terasic-sockit/lowlevel.c +2 -0
index 1dd7940aebd9..dbe99ac1dff4 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include "sdram_config.h"
 #include "pinmux_config.c"
 #include "pll_config.h"
arch/arm/boards/tqma53/lowlevel.c +2 -0
index 97a7ac556e55..37a098416132 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <debug_ll.h>
 #include <io.h>
arch/arm/boards/udoo-neo/lowlevel.c +2 -0
index bb6b7d833278..83530fb190e1 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <debug_ll.h>
 #include <common.h>
 #include <linux/sizes.h>
arch/arm/boards/udoo/lowlevel.c +2 -0
index 1f06f7e37f7f..0f9e2d69a45c 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <mach/generic.h>
arch/arm/boards/versatile/lowlevel.c +2 -0
index beab04d234a3..2f8d7b514be9 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <asm/barebox-arm-head.h>
arch/arm/boards/vscom-baltos/lowlevel.c +2 -0
index 0a220f2628a2..7da2f92efb69 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <init.h>
 #include <linux/sizes.h>
arch/arm/boards/zii-imx51-rdu1/lowlevel.c +2 -0
index c7bb044e0d59..14136358dd59 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <debug_ll.h>
 #include <mach/clock-imx51_53.h>
 #include <mach/iomux-mx51.h>
arch/arm/boards/zylonite/lowlevel.c +2 -0
index 5b95d879fa65..972fd3476103 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/sizes.h>
 #include <asm/barebox-arm-head.h>
arch/arm/cpu/atf.c +2 -0
index 4753a8a55924..ccd540d32a77 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <asm/atf_common.h>
 #include <asm/system.h>
arch/arm/cpu/cache-l2x0.c +2 -0
index e975ecffc766..82ae16ba4dab 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #define pr_fmt(fmt) "l2x0: " fmt
 
 #include <common.h>
arch/arm/cpu/cache.c +2 -0
index 2b6e958a4ee7..24a02c68f31e 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <init.h>
 #include <asm/mmu.h>
arch/arm/cpu/entry.c +2 -0
index 0b447de801a0..b863af5757cd 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <types.h>
 
 #include <asm/cache.h>
arch/arm/cpu/mmu-common.c +2 -0
index 5cc5138cfa3d..2ef1fa231f39 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 
 #define pr_fmt(fmt)	"mmu: " fmt
 
arch/arm/cpu/mmu-early.c +2 -0
index b985aa455fe8..0d528b9b9cc3 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <asm/mmu.h>
 #include <errno.h>
arch/arm/cpu/mmu-early_64.c +3 -1
index a7598f28aaf4..d1f4a046bbff 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <dma-dir.h>
 #include <init.h>
@@ -88,4 +90,4 @@ void mmu_early_disable(void)
 
 	dsb();
 	isb();
-}
\ No newline at end of file
+}
arch/arm/cpu/sections.c +2 -0
index a53236d90016..f310578ba272 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <asm/sections.h>
 #include <linux/types.h>
 
arch/arm/lib32/bootm.c +2 -0
index 2bba585e964f..e814593dce43 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <bootm.h>
 #include <boot.h>
 #include <common.h>
arch/arm/lib32/bootu.c +2 -0
index 0540a16280df..31c3c56cc597 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <fs.h>
arch/arm/lib32/bootz.c +2 -0
index 486e945a7409..7b3b32d41837 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <fs.h>
arch/arm/lib32/io.c +2 -0
index abfd887aac58..a12da49c0ab2 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <module.h>
 #include <linux/types.h>
 #include <io.h>
arch/arm/lib32/unwind.c +2 -0
index 02fae3c25306..79bf7420d757 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <init.h>
 #include <asm/stacktrace.h>
arch/arm/lib64/pbl.c +2 -0
index 0cef08e4d2e1..78eab33f8d68 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <asm/system.h>
 #include <clock.h>
 #include <common.h>
arch/arm/lib64/string.c +2 -0
index a2cf09e58ed5..26a284be5a77 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <asm/system.h>
 #include <string.h>
arch/arm/mach-at91/at91rm9200.c +2 -0
index ba680eb81fe2..ef2430576b6a 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <gpio.h>
 #include <init.h>
arch/arm/mach-at91/at91sam9260.c +2 -0
index fdd8ea014e9d..457aecde518e 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <gpio.h>
 #include <init.h>
arch/arm/mach-at91/at91sam9261.c +2 -0
index 0465ed9524df..840c0be3829a 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <gpio.h>
 #include <init.h>
arch/arm/mach-at91/at91sam9263.c +2 -0
index dc5dddfb646a..53523d1f9f90 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <gpio.h>
 #include <init.h>
arch/arm/mach-at91/at91sam9g45.c +2 -0
index affc624b1d36..ee8650db398c 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <gpio.h>
 #include <init.h>
arch/arm/mach-at91/at91sam9n12.c +2 -0
index 850d34604a2c..dbaabc0533f5 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <gpio.h>
 #include <init.h>
arch/arm/mach-at91/at91sam9x5.c +2 -0
index 8266b512c999..ecc144a37a0f 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <init.h>
 #include <restart.h>
arch/arm/mach-at91/bootm-barebox.c +2 -0
index 1dccdb86a939..3c99d5813b53 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #define pr_fmt(fmt) "at91-bootm-barebox: " fmt
 
 #include <bootm.h>
arch/arm/mach-at91/sama5d3.c +2 -0
index b1e7b2c565fc..0c9d9cb0239a 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <gpio.h>
 #include <init.h>
arch/arm/mach-at91/xload-mmc.c +2 -0
index 1b641f3a47ac..28d122f0a357 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <mach/xload.h>
 #include <mach/sama5_bootsource.h>
arch/arm/mach-ep93xx/header.c +2 -0
index a9dde2d8b05b..0d7e68c34b99 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/compiler.h>
 #include <asm/barebox-arm-head.h>
arch/arm/mach-imx/atf.c +2 -0
index 4b6ac8a2ae5e..9ab9ddd20385 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <mach/atf.h>
 
arch/arm/mach-imx/devices.c +2 -0
index a0609e282a5b..58c0a8aff3ed 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <driver.h>
 #include <mach/devices.h>
arch/arm/mach-imx/imx5.c +2 -0
index dd6c079fe3a3..072e960e53d5 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <io.h>
 #include <linux/sizes.h>
arch/arm/mach-imx/xload-common.c +2 -0
index bd6405258e9f..f4bcca1d1483 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <asm/sections.h>
 #include <linux/sizes.h>
arch/arm/mach-imx/xload-spi.c +2 -0
index e87af81e416f..2a01b0d8065b 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <io.h>
 #include <spi/imx-spi.h>
arch/arm/mach-layerscape/icid.c +2 -0
index 644401b18113..d1d623416aa6 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <io.h>
 #include <init.h>
arch/arm/mach-layerscape/pblimage.c +2 -0
index deaf7143b92b..26345af27621 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #define pr_fmt(fmt) "pblimage: " fmt
 
 #include <bootm.h>
arch/arm/mach-mvebu/kwb_bbu.c +2 -0
index 3de575740c27..eb205b2799b9 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <bbu.h>
 #include <libfile.h>
 #include <linux/printk.h>
arch/arm/mach-mvebu/kwbootimage.c +2 -0
index e379d732fed6..7189faa751ba 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <bootm.h>
 #include <common.h>
 #include <fcntl.h>
arch/arm/mach-nomadik/clock.c +2 -0
index f3ea958aeccf..e68097ade867 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /*
  * linux/arch/arm/mach-nomadik/clock.c
  *
arch/arm/mach-omap/am3xxx.c +3 -1
index 75965a8e0e12..60a6e4b825d1 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <io.h>
 #include <mach/am3xxx-silicon.h>
@@ -29,4 +31,4 @@ void am3xxx_uart_soft_reset(void __iomem *uart_base)
 }
 
 void am33xx_uart_soft_reset(void __iomem *uart_base)
-	__alias(am3xxx_uart_soft_reset);
\ No newline at end of file
+	__alias(am3xxx_uart_soft_reset);
arch/arm/mach-omap/omap4_clock.c +2 -0
index 72f72a17a113..6f53c706d694 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <io.h>
 #include <mach/syslib.h>
arch/arm/mach-omap/omap4_generic.c +2 -0
index 848a664064f5..c9a89c57b7e2 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <bootsource.h>
 #include <init.h>
arch/arm/mach-omap/omap_devices.c +2 -0
index f577fa6ea70d..7c36b8819d7b 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <driver.h>
 #include <platform_data/serial-ns16550.h>
 #include <asm/armlinux.h>
arch/arm/mach-omap/omap_fb.c +2 -0
index ae318d85fe1a..0bd51c5f556a 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <driver.h>
 #include <common.h>
 #include <linux/ioport.h>
arch/arm/mach-omap/xload.c +2 -0
index 47aa8275b9ee..0fe78883d1aa 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <bootsource.h>
 #include <partition.h>
arch/arm/mach-rockchip/bootm.c +2 -0
index 5d6181ebd7de..036a3696adbc 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #define pr_fmt(fmt) "rockchip-bootm-barebox: " fmt
 
 #include <bootm.h>
arch/arm/mach-socfpga/arria10-generic.c +2 -0
index 38558309f860..d3990e1281d8 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <io.h>
 #include <init.h>
arch/arm/mach-socfpga/arria10-xload-emmc.c +2 -0
index dcc38cf4a237..98d219b6efd9 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <init.h>
 #include <linux/sizes.h>
arch/arm/mach-socfpga/arria10-xload.c +2 -0
index e52fd1ed875b..fb92c01ddb02 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <asm/sections.h>
 #include <debug_ll.h>
arch/arm/mach-socfpga/cyclone5-generic.c +2 -0
index dfb1f49e4d36..c494f048ec5b 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <malloc.h>
 #include <envfs.h>
arch/arm/mach-socfpga/cyclone5-init.c +2 -0
index 412808b8416f..68fd02430c23 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <debug_ll.h>
 #include <common.h>
 #include <init.h>
arch/arm/mach-socfpga/xload.c +2 -0
index 5c611ac6e151..81c1a7488625 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <bootsource.h>
 #include <bootstrap.h>
 #include <common.h>
arch/arm/mach-stm32mp/stm32image.c +2 -0
index 207df6894d4e..caff68651c47 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #define pr_fmt(fmt) "stm32image: " fmt
 
 #include <bootm.h>
arch/mips/boards/netgear-wg102/ram.c +2 -0
index 4cde573982d7..fe9c88162359 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <init.h>
 #include <linux/sizes.h>
arch/mips/lib/asm-offsets.c +2 -0
index 457bc8ab7cee..227d8cf54ef4 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /*
  * offset.c: Calculate pt_regs and task_struct offsets.
  *
arch/mips/lib/bootm.c +2 -0
index b71b8d5c38e9..655535737ec8 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <boot.h>
 #include <bootm.h>
 #include <common.h>
arch/mips/lib/sections.c +2 -0
index 66d559f94a7d..46fca5ca7914 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <asm/sections.h>
 #include <linux/types.h>
arch/mips/lib/shutdown.c +2 -0
index 973cd23c7184..9f993ab7a953 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /**
  * This function is called by shutdown_barebox to get a clean
  * memory/cache state.
arch/mips/lib/traps.c +2 -0
index 5fc32fe7e429..ff0a54af8e31 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <abort.h>
 #include <asm/mipsregs.h>
arch/mips/mach-malta/pci.c +2 -0
index 4561123d22b4..113b94fe2332 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <types.h>
 #include <driver.h>
arch/openrisc/boards/generic/generic.c +1 -0
index ff6f9f4d42ad..1129a7d52e48 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 #include <common.h>
 #include <init.h>
 
arch/openrisc/lib/asm-offsets.c +2 -0
index 8cee8e00c618..e9d631a35c6a 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /*
  * OpenRISC asm-offsets.c
  *
arch/powerpc/lib/kgdb.c +2 -0
index 762cc7a88c9a..bbe7a80d27c6 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 
arch/powerpc/lib/ppclinux.c +2 -0
index b4cb59a524d6..9b8404962cea 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #define DEBUG
 
 #include <common.h>
arch/powerpc/mach-mpc5xxx/loadtask.c +2 -0
index 1458cf7218a1..e2489983eec9 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /*
  * (C) Copyright 2003
  * Wolfgang Denk, DENX Software Engineering, [email protected].
arch/powerpc/mach-mpc5xxx/reginfo.c +2 -0
index 8b646e7d048c..64816faffc22 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <stdio.h>
 #include <common.h>
 #include <config.h>
arch/riscv/lib/asm-offsets.c +2 -0
index 4b869690f198..48960e58a6bc 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /*
  * Generate definitions needed by assembly language modules.
  * This code generates raw asm output which is post-processed to extract
arch/sandbox/board/dev-random.c +2 -0
index 60295e9fced2..b62e8cc0d7cc 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <mach/linux.h>
 
arch/sandbox/board/power.c +2 -0
index aa778792c155..009b410eaa06 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <driver.h>
 #include <poweroff.h>
arch/sandbox/lib/asm-offsets.c +2 -0
index 22f382b71e7b..21aab692d083 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /*
  * Generate definitions needed by assembly language modules.
  * This code generates raw asm output which is post-processed to extract
arch/x86/lib/asm-offsets.c +1 -0
index 22f382b71e7b..caa4a289d8b3 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Generate definitions needed by assembly language modules.
  * This code generates raw asm output which is post-processed to extract
arch/x86/mach-efi/clocksource.c +2 -0
index 2023fa19ac53..3d01ff9d1eca 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <init.h>
 #include <driver.h>
Signature · 7 lines
2.30.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#11 lore raw

PATCH 11/11 treewide: add SPDX-License-Identifier for files without explicit license

In reply to Ahmad Fatoum

Record GPL-2.0-only as license for all files lacking an explicit license statement.

---
 MAKEALL                                      | 2 ++
 arch/arm/tools/gen-mach-types                | 2 ++
 common/boards/qemu-virt/overlay-of-flash.dts | 2 ++
 common/calloc.c                              | 2 ++
 common/console_simple.c                      | 2 ++
 common/globalvar.c                           | 2 ++
 common/imd-barebox.c                         | 2 ++
 common/kallsyms.c                            | 2 ++
 common/meminfo.c                             | 2 ++
 common/memory_display.c                      | 4 +++-
 common/oftree.c                              | 2 ++
 common/parser.c                              | 2 ++
 common/serdev.c                              | 1 +
 common/state/state.h                         | 2 ++
 common/tlsf.c                                | 2 ++
 common/tlsfbits.h                            | 2 ++
 common/version.c                             | 2 ++
 crypto/md5.c                                 | 1 +
 fs/cramfs/uncompress.c                       | 2 ++
 fs/fat/diskio.h                              | 2 ++
 fs/fat/ffconf.h                              | 2 ++
 fs/fat/integer.h                             | 2 ++
 fs/pstore/internal.h                         | 2 ++
 fs/squashfs/squashfs.c                       | 2 ++
 lib/bcd.c                                    | 2 ++
 lib/fdt.c                                    | 1 +
 lib/fdt_empty_tree.c                         | 2 ++
 lib/fdt_ro.c                                 | 2 ++
 lib/fdt_rw.c                                 | 2 ++
 lib/fdt_strerror.c                           | 1 +
 lib/fdt_sw.c                                 | 2 ++
 lib/fdt_wip.c                                | 2 ++
 lib/fonts/font_6x8.c                         | 2 ++
 lib/fonts/font_7x14.c                        | 2 ++
 lib/fonts/font_8x16.c                        | 2 ++
 lib/fonts/font_8x8.c                         | 2 ++
 lib/fonts/font_custom_16x.c                  | 2 ++
 lib/fonts/font_mini_4x6.c                    | 2 ++
 lib/gcd.c                                    | 2 ++
 lib/gui/2d-primitives.c                      | 2 ++
 lib/gui/bmp.c                                | 2 ++
 lib/gui/graphic_utils.c                      | 2 ++
 lib/gui/picopng.h                            | 2 ++
 lib/gui/png.c                                | 2 ++
 lib/gui/png_lode.c                           | 2 ++
 lib/gui/png_pico.c                           | 2 ++
 lib/list_sort.c                              | 2 ++
 lib/make_directory.c                         | 1 +
 lib/nls_base.c                               | 2 ++
 lib/notifier.c                               | 2 ++
 lib/parseopt.c                               | 2 ++
 lib/random.c                                 | 2 ++
 lib/readline.c                               | 2 ++
 lib/readline_simple.c                        | 2 ++
 lib/string.c                                 | 1 +
 lib/stringlist.c                             | 2 ++
 lib/strtox.c                                 | 2 ++
 lib/unlink-recursive.c                       | 2 ++
 lib/vsprintf.c                               | 2 ++
 net/nfs.c                                    | 2 ++
 net/ping.c                                   | 2 ++
 pbl/console.c                                | 2 ++
 pbl/misc.c                                   | 2 ++
 pbl/string.c                                 | 2 ++
 64 files changed, 123 insertions(+), 1 deletion(-)
MAKEALL +2 -0
index 3548739e37f4..b4cf4c649b9c 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/env bash
+#
+# SPDX-License-Identifier: GPL-2.0-only
 
 # Print statistics when we exit
 trap exit 1 2 3 15
arch/arm/tools/gen-mach-types +2 -0
index 04fef71d7be9..fcfc0ed192e1 100644
@@ -1,5 +1,7 @@
 #!/bin/awk
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # Awk script to generate include/generated/mach-types.h
 #
 BEGIN	{ nr = 0 }
common/boards/qemu-virt/overlay-of-flash.dts +2 -0
index a271a455105f..b3cdf6893f8a 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /dts-v1/;
 /plugin/;
 
common/calloc.c +2 -0
index 2b933ec272b0..65e843350d47 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <malloc.h>
 
common/console_simple.c +2 -0
index 8c404ad264c4..afa9a0f186fb 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <config.h>
 #include <common.h>
 #include <fs.h>
common/globalvar.c +2 -0
index 9e5a99f79353..4fd6361c2f34 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <malloc.h>
 #include <globalvar.h>
common/imd-barebox.c +2 -0
index 06731d0600cf..e11fdca845ad 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <image-metadata.h>
 #include <generated/compile.h>
common/kallsyms.c +2 -0
index f641903147db..a9b2b9368992 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <init.h>
 #include <kallsyms.h>
common/meminfo.c +2 -0
index d239fde5828b..e6b251e5bfee 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <init.h>
 #include <memory.h>
common/memory_display.c +3 -1
index fbb8bbb6faa7..77868be26ace 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <errno.h>
 #include <abort.h>
@@ -132,4 +134,4 @@ int memory_display(const void *addr, loff_t offs, unsigned nbytes,
 		   int size, int swab)
 {
 	return pr_memory_display(-1, addr, offs, nbytes, size, swab);
-}
\ No newline at end of file
+}
common/oftree.c +2 -0
index 962fff244d87..0738ab6e9e0c 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <environment.h>
 #include <fdt.h>
common/parser.c +2 -0
index 584d4b0efece..387cd64c4267 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <common.h>
 #include <command.h>
 #include <password.h>
common/serdev.c +1 -0
index 4bf11b161892..1d328c6a3337 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 
 #include <common.h>
 #include <serdev.h>
common/state/state.h +2 -0
index 48572c5d4137..0545cf6ac108 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <linux/types.h>
 #include <linux/list.h>
 #include <linux/err.h>
common/tlsf.c +2 -0
index 4247a9d3c716..520cce496ef6 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
common/tlsfbits.h +2 -0
index edbac8063645..8633fb595985 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef INCLUDED_tlsfbits
 #define INCLUDED_tlsfbits
 
common/version.c +2 -0
index 54cec5335d9c..15f03c2a00ff 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <generated/compile.h>
 #include <generated/utsrelease.h>
crypto/md5.c +1 -0
index f8f52bf4a505..f91a6fe08f89 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * This file was transplanted with slight modifications from Linux sources
  * (fs/cifs/md5.c) into U-Boot by Bartlomiej Sieka <[email protected]>.
fs/cramfs/uncompress.c +2 -0
index b7887bd65439..82c82adf044c 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /*
  * uncompress.c
  *
fs/fat/diskio.h +2 -0
index aee1ce2b0b3b..57626d2fbd7b 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*-----------------------------------------------------------------------
 /  Low level disk interface modlue include file
 /-----------------------------------------------------------------------*/
fs/fat/ffconf.h +2 -0
index 2f6a6c154409..abf7d1e92e0b 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*---------------------------------------------------------------------------/
 /  FatFs - FAT file system module configuration file  R0.08b (C)ChaN, 2011
 /----------------------------------------------------------------------------/
fs/fat/integer.h +2 -0
index 04956aa775fa..fe94e374f356 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*-------------------------------------------*/
 /* Integer type definitions for FatFs module */
 /*-------------------------------------------*/
fs/pstore/internal.h +2 -0
index 6b507e4bd3cb..d233ee7e8c0d 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __PSTORE_INTERNAL_H__
 #define __PSTORE_INTERNAL_H__
 
fs/squashfs/squashfs.c +2 -0
index be03618b2f52..030be57887b2 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <malloc.h>
 #include <driver.h>
lib/bcd.c +2 -0
index b072d50a9041..4bed6eddfec8 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <linux/bcd.h>
 #include <module.h>
 
lib/fdt.c +1 -0
index 97f20069fc37..c83f9b94d2a2 100644
@@ -1,2 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 #include <linux/libfdt_env.h>
 #include "../scripts/dtc/libfdt/fdt.c"
lib/fdt_empty_tree.c +2 -0
index 5d30c58150ad..794fcb6cac62 100644
@@ -1,2 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/libfdt_env.h>
 #include "../scripts/dtc/libfdt/fdt_empty_tree.c"
lib/fdt_ro.c +2 -0
index f73c04ea7be4..b4bab9618e37 100644
@@ -1,2 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/libfdt_env.h>
 #include "../scripts/dtc/libfdt/fdt_ro.c"
lib/fdt_rw.c +2 -0
index 0c1f0f4a4b13..72b5df529dfb 100644
@@ -1,2 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/libfdt_env.h>
 #include "../scripts/dtc/libfdt/fdt_rw.c"
lib/fdt_strerror.c +1 -0
index 8713e3ff4707..25883d28d938 100644
@@ -1,2 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 #include <linux/libfdt_env.h>
 #include "../scripts/dtc/libfdt/fdt_strerror.c"
lib/fdt_sw.c +2 -0
index 9ac7e50c76ce..3f8e3397a9a9 100644
@@ -1,2 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/libfdt_env.h>
 #include "../scripts/dtc/libfdt/fdt_sw.c"
lib/fdt_wip.c +2 -0
index 45b3fc3d3ba1..da120b6dc97e 100644
@@ -1,2 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/libfdt_env.h>
 #include "../scripts/dtc/libfdt/fdt_wip.c"
lib/fonts/font_6x8.c +2 -0
index a5efeee61686..2b9061cbd049 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <init.h>
 #include <linux/font.h>
 
lib/fonts/font_7x14.c +2 -0
index e5ef8323ca7b..13b3897d8cd0 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /**************************************/
 /* this file adapted from font_8x16.c */
 /* by Jurriaan Kalkman 05-2005        */
lib/fonts/font_8x16.c +2 -0
index e6d40d0de3e0..dbebf07e27ad 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /**********************************************/
 /*                                            */
 /*       Font file generated by cpi2fnt       */
lib/fonts/font_8x8.c +2 -0
index 27d53de57833..40f1112427fc 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /**********************************************/
 /*                                            */
 /*       Font file generated by cpi2fnt       */
lib/fonts/font_custom_16x.c +2 -0
index 2666e1f6d659..eb21a813608f 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /*
  * by Du Huanpeng <[email protected]>
  */
lib/fonts/font_mini_4x6.c +2 -0
index 4a1de138a9ed..560a3e1c3a06 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 
 /* Hand composed "Minuscule" 4x6 font, with binary data generated using
  * Perl stub.
lib/gcd.c +2 -0
index 86bdba911265..d895c1f12d6a 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <linux/gcd.h>
 
 /* Greatest common divisor */
lib/gui/2d-primitives.c +2 -0
index 940e82b7d499..55dc1b1dda89 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <fb.h>
 #include <gui/graphic_utils.h>
lib/gui/bmp.c +2 -0
index 8bffc70a42ed..bbc623dba329 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <errno.h>
 #include <malloc.h>
lib/gui/graphic_utils.c +2 -0
index 0bed932213ff..92f249e722bc 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <fb.h>
 #include <gui/graphic_utils.h>
lib/gui/picopng.h +2 -0
index 14c5e28bcc21..a17dd14b0c9e 100644
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _PICOPNG_H
 #define _PICOPNG_H
 
lib/gui/png.c +2 -0
index 6bf997c29a57..01833485ce73 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <errno.h>
 #include <malloc.h>
lib/gui/png_lode.c +2 -0
index e30db0f853b3..68149c848d5b 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <errno.h>
 #include <malloc.h>
lib/gui/png_pico.c +2 -0
index 256db35ce061..029fee2a4060 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <errno.h>
 #include <malloc.h>
lib/list_sort.c +2 -0
index f5122b259229..77ddadb3d6ac 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #ifndef __BAREBOX__
 #include <linux/kernel.h>
 #define EXPORT_SYMBOL(x)
lib/make_directory.c +1 -0
index 29d08cf536c7..7db93ded8817 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 
 #include <string.h>
 #include <errno.h>
lib/nls_base.c +2 -0
index cd6a5ff12442..5def1411f9ab 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /*
  * linux/fs/nls/nls_base.c
  *
lib/notifier.c +2 -0
index 9eb734e504b5..c55ec22f94c2 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/list.h>
 #include <notifier.h>
lib/parseopt.c +2 -0
index d0a27d8bf372..4fdd72fa15bb 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 
 #include "parseopt.h"
lib/random.c +2 -0
index 759271f0c82b..fb3580f9c086 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <stdlib.h>
 #include <linux/hw_random.h>
lib/readline.c +2 -0
index 25aa99b95e46..37d5b0a343a7 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <readkey.h>
 #include <init.h>
lib/readline_simple.c +2 -0
index 2e52bfc2a070..7a8df9549457 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 
 static char erase_seq[] = "\b \b";		/* erase sequence	*/
lib/string.c +1 -0
index 9aeb1d883022..6389217d5b41 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  linux/lib/string.c
  *
lib/stringlist.c +2 -0
index fc86640b94a8..bb2ba54a6c80 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <xfuncs.h>
 #include <malloc.h>
lib/strtox.c +2 -0
index a5b770c8ca7a..76927743a72c 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <linux/ctype.h>
 
lib/unlink-recursive.c +2 -0
index f28c6dae5b3c..398e43693bdf 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <libfile.h>
 #include <errno.h>
lib/vsprintf.c +2 -0
index 8681eb43b522..1f3a45be327a 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /*
  *  linux/lib/vsprintf.c
  *
net/nfs.c +2 -0
index 591417e0de20..9bd0b8f05f99 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /*
  * NFS support driver - based on etherboot and barebox's tftp.c
  *
net/ping.c +2 -0
index a71f59a805fb..7b319e532e79 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <clock.h>
pbl/console.c +2 -0
index 1efcaa0047aa..fc8e8cdf1383 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <debug_ll.h>
 #include <linux/err.h>
pbl/misc.c +2 -0
index 201ae38e9af6..1f0d992ce08b 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <init.h>
 #include <linux/types.h>
pbl/string.c +2 -0
index e96eb99fc22d..7c10f064dc7e 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /*
  * arch/arm/boot/compressed/string.c
  *
Signature · 7 lines
2.30.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#12 lore raw

Re: [PATCH 11/11] treewide: add SPDX-License-Identifier for files without explicit license

arch/arm/tools/gen-mach-types line 4

Quoted 9 lines · Ahmad Fatoum
arch/arm/tools/gen-mach-types +2 -0
index 04fef71d7be9..fcfc0ed192e1 100644
@@ -1,5 +1,7 @@
 #!/bin/awk
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#

I would prefer to have the license identifier in the 2nd line. Not sure what the standard tells, but ISTR that in Linux the is no "empty" line, too.

Otherwise thanks for your effort,
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#13 lore raw

Re: [PATCH 11/11] treewide: add SPDX-License-Identifier for files without explicit license

Quoted 14 lines · Uwe Kleine-König

arch/arm/tools/gen-mach-types line 4

Quoted 9 lines · Ahmad Fatoum
arch/arm/tools/gen-mach-types +2 -0
index 04fef71d7be9..fcfc0ed192e1 100644
@@ -1,5 +1,7 @@
 #!/bin/awk
 #
+# SPDX-License-Identifier: GPL-2.0-only
+#

I would prefer to have the license identifier in the 2nd line. Not sure what the standard tells, but ISTR that in Linux the is no "empty" line, too.

I was stumbling over this one too, but the standard says "at or near the top of the file" [1], so I think, this is okay.

Otherwise didn't notice anything strange while scrolling through this series, except a few newline changes at ends of files here and there, but I think those are okay too.

[1]: https://spdx.github.io/spdx-spec/using-SPDX-short-identifiers-in-source-files/#e2-format-for-spdx-license-identifier

Quoted 1 line

Otherwise thanks for your effort,

Yes, thank you!

- Roland

Signature · 9 lines
Roland Hieber, Pengutronix e.K.          | [email protected]     |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#14 lore raw
In reply to Ahmad Fatoum
Quoted 17 lines · Ahmad Fatoum

SPDX for tests, scripts and Documentation will follow. This series covers everything else.

Ahmad Fatoum (11):
commands: set SPDX-License-Identifier for files without license
statement
treewide: add SPDX-License-Identifier for Kbuild/Kconfig
treewide: add SPDX-License-Identifier for .gitignore
images: add SPDX-License-Identifiers
fs: jffs2: add SPDX-License-Identifier: GPL-2.0-only
include: add SPDX-License-Identifier
ARM: i.MX: add SPDX-License-Identifier for DCD
arch: add SPDX-License-Identifier to all headers
arch: add SPDX-License-Identifier to all .S files
arch: add SPDX-License-Identifier to all .c files
treewide: add SPDX-License-Identifier for files without explicit
license

Applied, thanks

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox