mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 00/11] treewide: SPDXify files without license statement
@ 2022-01-03 12:05 Ahmad Fatoum
  2022-01-03 12:05 ` [PATCH 01/11] commands: set SPDX-License-Identifier for " Ahmad Fatoum
                   ` (11 more replies)
  0 siblings, 12 replies; 15+ messages in thread
From: Ahmad Fatoum @ 2022-01-03 12:05 UTC (permalink / raw)
  To: barebox; +Cc: ukl, rhi

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

 .gitignore                                                   | 1 +
 Documentation/.gitignore                                     | 2 ++
 Kconfig                                                      | 2 ++
 MAKEALL                                                      | 2 ++
 arch/arm/Kconfig                                             | 2 ++
 arch/arm/Makefile                                            | 2 ++
 arch/arm/boards/Makefile                                     | 2 ++
 arch/arm/boards/a9m2410/Makefile                             | 1 +
 arch/arm/boards/a9m2410/lowlevel_init.S                      | 4 +---
 arch/arm/boards/a9m2440/Makefile                             | 1 +
 arch/arm/boards/a9m2440/lowlevel_init.S                      | 4 +---
 arch/arm/boards/ac-sxb/Makefile                              | 2 ++
 arch/arm/boards/advantech-mx6/Makefile                       | 2 ++
 .../advantech-mx6/flash-header-advantech-rom-7421.imxcfg     | 2 ++
 arch/arm/boards/afi-gf/Makefile                              | 2 ++
 arch/arm/boards/afi-gf/lowlevel.c                            | 2 ++
 arch/arm/boards/altera-socdk/Makefile                        | 2 ++
 arch/arm/boards/altera-socdk/board.c                         | 2 ++
 arch/arm/boards/altera-socdk/lowlevel.c                      | 2 ++
 arch/arm/boards/animeo_ip/Makefile                           | 2 ++
 arch/arm/boards/archosg9/Makefile                            | 2 ++
 arch/arm/boards/archosg9/archos_features.h                   | 2 ++
 arch/arm/boards/archosg9/mux.h                               | 2 ++
 arch/arm/boards/at91rm9200ek/Makefile                        | 2 ++
 arch/arm/boards/at91rm9200ek/config.h                        | 2 ++
 arch/arm/boards/at91sam9260ek/Makefile                       | 2 ++
 arch/arm/boards/at91sam9261ek/Makefile                       | 2 ++
 arch/arm/boards/at91sam9263ek/Makefile                       | 2 ++
 arch/arm/boards/at91sam9m10g45ek/Makefile                    | 2 ++
 arch/arm/boards/at91sam9m10ihd/Makefile                      | 2 ++
 arch/arm/boards/at91sam9n12ek/Makefile                       | 2 ++
 arch/arm/boards/at91sam9x5ek/Makefile                        | 2 ++
 arch/arm/boards/at91sam9x5ek/lowlevel.c                      | 2 ++
 arch/arm/boards/avnet-zedboard/Makefile                      | 2 ++
 arch/arm/boards/beagle/Makefile                              | 2 ++
 arch/arm/boards/beagle/lowlevel.c                            | 2 ++
 arch/arm/boards/beaglebone/Makefile                          | 2 ++
 arch/arm/boards/beaglebone/beaglebone.h                      | 2 ++
 arch/arm/boards/beaglebone/lowlevel.c                        | 2 ++
 arch/arm/boards/boundarydevices-nitrogen6/Makefile           | 2 ++
 .../flash-header-nitrogen6dl-1g.imxcfg                       | 2 ++
 .../flash-header-nitrogen6dl-2g.imxcfg                       | 2 ++
 .../flash-header-nitrogen6q-1g.imxcfg                        | 2 ++
 .../flash-header-nitrogen6q-2g.imxcfg                        | 2 ++
 .../flash-header-nitrogen6qp-max.imxcfg                      | 2 ++
 arch/arm/boards/boundarydevices-nitrogen6/lowlevel.c         | 2 ++
 arch/arm/boards/boundarydevices-nitrogen6/ram-base.imxcfg    | 2 ++
 arch/arm/boards/canon-a1100/Makefile                         | 2 ++
 arch/arm/boards/canon-a1100/lowlevel.c                       | 2 ++
 arch/arm/boards/ccxmx51/Makefile                             | 2 ++
 arch/arm/boards/ccxmx51/flash-header.imxcfg                  | 2 ++
 arch/arm/boards/ccxmx53/Makefile                             | 2 ++
 .../boards/ccxmx53/flash-header-imx53-ccxmx53_1gib.imxcfg    | 2 ++
 .../boards/ccxmx53/flash-header-imx53-ccxmx53_512mb.imxcfg   | 2 ++
 arch/arm/boards/chumby_falconwing/Makefile                   | 2 ++
 arch/arm/boards/chumby_falconwing/lowlevel.c                 | 2 ++
 arch/arm/boards/clep7212/Makefile                            | 2 ++
 arch/arm/boards/cm-fx6/Makefile                              | 2 ++
 arch/arm/boards/cm-fx6/flash-header-mx6-cm-fx6.imxcfg        | 2 ++
 arch/arm/boards/cm-fx6/lowlevel.c                            | 2 ++
 arch/arm/boards/crystalfontz-cfa10036/Makefile               | 2 ++
 arch/arm/boards/crystalfontz-cfa10036/lowlevel.c             | 2 ++
 arch/arm/boards/datamodul-edm-qmx6/Makefile                  | 2 ++
 arch/arm/boards/datamodul-edm-qmx6/flash-header.imxcfg       | 2 ++
 arch/arm/boards/dfi-fs700-m60/Makefile                       | 2 ++
 .../dfi-fs700-m60/flash-header-fs700-m60-6q-micron.imxcfg    | 2 ++
 .../dfi-fs700-m60/flash-header-fs700-m60-6q-nanya.imxcfg     | 2 ++
 .../boards/dfi-fs700-m60/flash-header-fs700-m60-6s.imxcfg    | 2 ++
 arch/arm/boards/digi-ccimx6ulsom/Makefile                    | 2 ++
 .../flash-header-imx6ul-ccimx6ulsbcpro.imxcfg                | 2 ++
 arch/arm/boards/digi-ccimx6ulsom/lowlevel.c                  | 2 ++
 arch/arm/boards/dss11/Makefile                               | 2 ++
 arch/arm/boards/duckbill/Makefile                            | 2 ++
 arch/arm/boards/duckbill/lowlevel.c                          | 2 ++
 arch/arm/boards/ebv-socrates/Makefile                        | 2 ++
 arch/arm/boards/ebv-socrates/board.c                         | 2 ++
 arch/arm/boards/ebv-socrates/lowlevel.c                      | 2 ++
 arch/arm/boards/ebv-socrates/sequencer_auto.h                | 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/ebv-socrates/sequencer_defines.h             | 2 ++
 arch/arm/boards/edb93xx/Makefile                             | 1 +
 arch/arm/boards/efika-mx-smartbook/Makefile                  | 2 ++
 .../flash-header-imx51-genesi-efikasb.imxcfg                 | 2 ++
 arch/arm/boards/efika-mx-smartbook/lowlevel.c                | 2 ++
 arch/arm/boards/element14-warp7/Makefile                     | 2 ++
 arch/arm/boards/element14-warp7/lowlevel.c                   | 2 ++
 arch/arm/boards/eltec-hipercam/Makefile                      | 2 ++
 .../boards/eltec-hipercam/flash-header-eltec-hipercam.imxcfg | 2 ++
 arch/arm/boards/embedsky-e9/Makefile                         | 2 ++
 arch/arm/boards/embedsky-e9/flash-header-e9.imxcfg           | 2 ++
 arch/arm/boards/embedsky-e9/lowlevel.c                       | 2 ++
 arch/arm/boards/embest-marsboard/Makefile                    | 2 ++
 .../embest-marsboard/flash-header-embest-marsboard.imxcfg    | 2 ++
 arch/arm/boards/embest-riotboard/Makefile                    | 2 ++
 .../embest-riotboard/flash-header-embest-riotboard.imxcfg    | 2 ++
 arch/arm/boards/embest-riotboard/lowlevel.c                  | 2 ++
 arch/arm/boards/eukrea_cpuimx25/flash-header.imxcfg          | 2 ++
 arch/arm/boards/eukrea_cpuimx27/Makefile                     | 1 +
 arch/arm/boards/eukrea_cpuimx27/lowlevel_init.S              | 2 ++
 arch/arm/boards/eukrea_cpuimx35/flash-header.imxcfg          | 2 ++
 arch/arm/boards/eukrea_cpuimx51/Makefile                     | 2 ++
 arch/arm/boards/eukrea_cpuimx51/flash-header.imxcfg          | 2 ++
 arch/arm/boards/eukrea_cpuimx51/lowlevel.c                   | 2 ++
 arch/arm/boards/freescale-mx21-ads/Makefile                  | 2 ++
 arch/arm/boards/freescale-mx23-evk/Makefile                  | 3 ++-
 arch/arm/boards/freescale-mx23-evk/lowlevel.c                | 2 ++
 arch/arm/boards/freescale-mx25-3ds/flash-header.imxcfg       | 2 ++
 arch/arm/boards/freescale-mx27-ads/Makefile                  | 1 +
 arch/arm/boards/freescale-mx27-ads/lowlevel_init.S           | 2 ++
 arch/arm/boards/freescale-mx28-evk/Makefile                  | 2 ++
 arch/arm/boards/freescale-mx28-evk/lowlevel.c                | 2 ++
 arch/arm/boards/freescale-mx35-3ds/Makefile                  | 2 ++
 arch/arm/boards/freescale-mx35-3ds/flash-header.imxcfg       | 2 ++
 arch/arm/boards/freescale-mx51-babbage/Makefile              | 2 ++
 .../freescale-mx51-babbage/flash-header-imx51-babbage.imxcfg | 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/Makefile                  | 2 ++
 .../boards/freescale-mx53-qsb/flash-header-imx53-loco.imxcfg | 2 ++
 arch/arm/boards/freescale-mx53-qsb/lowlevel.c                | 2 ++
 arch/arm/boards/freescale-mx53-smd/Makefile                  | 2 ++
 arch/arm/boards/freescale-mx53-smd/flash-header.imxcfg       | 2 ++
 arch/arm/boards/freescale-mx53-smd/lowlevel.c                | 2 ++
 arch/arm/boards/freescale-mx53-vmx53/Makefile                | 2 ++
 .../freescale-mx53-vmx53/flash-header-imx53-vmx53.imxcfg     | 2 ++
 arch/arm/boards/freescale-mx53-vmx53/lowlevel.c              | 2 ++
 arch/arm/boards/freescale-mx6-sabrelite/Makefile             | 2 ++
 .../flash-header-mx6-sabrelite.imxcfg                        | 2 ++
 arch/arm/boards/freescale-mx6-sabrelite/lowlevel.c           | 2 ++
 arch/arm/boards/freescale-mx6-sabresd/Makefile               | 2 ++
 .../freescale-mx6-sabresd/flash-header-mx6q-sabresd.imxcfg   | 2 ++
 .../freescale-mx6-sabresd/flash-header-mx6qp-sabresd.imxcfg  | 2 ++
 arch/arm/boards/freescale-mx6-sabresd/lowlevel.c             | 2 ++
 arch/arm/boards/freescale-mx6sx-sabresdb/Makefile            | 2 ++
 .../flash-header-mx6sx-sabresdb.imxcfg                       | 2 ++
 arch/arm/boards/freescale-mx7-sabresd/Makefile               | 2 ++
 .../freescale-mx7-sabresd/flash-header-mx7-sabresd.imxcfg    | 4 +++-
 arch/arm/boards/freescale-mx7-sabresd/lowlevel.c             | 2 ++
 arch/arm/boards/freescale-vf610-twr/Makefile                 | 2 ++
 .../boards/freescale-vf610-twr/flash-header-vf610-twr.imxcfg | 2 ++
 arch/arm/boards/freescale-vf610-twr/lowlevel.c               | 2 ++
 arch/arm/boards/friendlyarm-mini2440/Kconfig                 | 1 +
 arch/arm/boards/friendlyarm-mini2440/Makefile                | 2 ++
 arch/arm/boards/friendlyarm-mini2440/lowlevel_init.S         | 2 ++
 arch/arm/boards/friendlyarm-mini6410/Makefile                | 2 ++
 arch/arm/boards/friendlyarm-mini6410/config.h                | 2 ++
 arch/arm/boards/friendlyarm-mini6410/lowlevel.c              | 2 ++
 arch/arm/boards/friendlyarm-tiny210/Makefile                 | 2 ++
 arch/arm/boards/friendlyarm-tiny210/config.h                 | 2 ++
 arch/arm/boards/friendlyarm-tiny6410/Kconfig                 | 2 ++
 arch/arm/boards/friendlyarm-tiny6410/Makefile                | 2 ++
 arch/arm/boards/friendlyarm-tiny6410/config.h                | 2 ++
 arch/arm/boards/friendlyarm-tiny6410/lowlevel.c              | 2 ++
 arch/arm/boards/gateworks-ventana/Makefile                   | 2 ++
 .../gateworks-ventana/flash-header-ventana-quad-1gx64.imxcfg | 2 ++
 arch/arm/boards/gateworks-ventana/lowlevel.c                 | 2 ++
 arch/arm/boards/gateworks-ventana/quad_128x64.imxcfg         | 2 ++
 arch/arm/boards/gateworks-ventana/ram-base.imxcfg            | 2 ++
 arch/arm/boards/gk802/Makefile                               | 2 ++
 arch/arm/boards/gk802/flash-header.imxcfg                    | 2 ++
 arch/arm/boards/gk802/lowlevel.c                             | 2 ++
 arch/arm/boards/globalscale-guruplug/Makefile                | 2 ++
 arch/arm/boards/globalscale-mirabox/Makefile                 | 2 ++
 arch/arm/boards/grinn-liteboard/Makefile                     | 2 ++
 .../grinn-liteboard/flash-header-liteboard-256mb.imxcfg      | 1 +
 .../grinn-liteboard/flash-header-liteboard-512mb.imxcfg      | 1 +
 arch/arm/boards/grinn-liteboard/flash-header-liteboard.h     | 1 +
 arch/arm/boards/guf-neso/Makefile                            | 2 ++
 arch/arm/boards/guf-neso/pll_init.S                          | 2 ++
 arch/arm/boards/guf-santaro/Makefile                         | 2 ++
 arch/arm/boards/guf-santaro/flash-header.imxcfg              | 2 ++
 arch/arm/boards/guf-santaro/lowlevel.c                       | 2 ++
 arch/arm/boards/guf-vincell/Makefile                         | 2 ++
 arch/arm/boards/guf-vincell/flash-header.imxcfg              | 2 ++
 arch/arm/boards/guf-vincell/lowlevel.c                       | 2 ++
 arch/arm/boards/haba-knx/Makefile                            | 2 ++
 arch/arm/boards/imx233-olinuxino/Makefile                    | 2 ++
 arch/arm/boards/imx233-olinuxino/lowlevel.c                  | 2 ++
 arch/arm/boards/kamstrup-mx7-concentrator/Makefile           | 4 +++-
 .../kamstrup-mx7-concentrator/flash-header-tqma7d.imxcfg     | 2 ++
 arch/arm/boards/kamstrup-mx7-concentrator/lowlevel.c         | 2 ++
 arch/arm/boards/karo-tx25/flash-header-tx25.imxcfg           | 1 +
 arch/arm/boards/karo-tx28/Makefile                           | 2 ++
 arch/arm/boards/karo-tx28/lowlevel.c                         | 2 ++
 arch/arm/boards/karo-tx28/tx28.h                             | 1 +
 arch/arm/boards/karo-tx53/Makefile                           | 2 ++
 arch/arm/boards/karo-tx53/flash-header-tx53-rev1011.imxcfg   | 2 ++
 .../karo-tx53/flash-header-tx53-revxx30-samsung.imxcfg       | 2 ++
 arch/arm/boards/karo-tx53/flash-header-tx53-revxx30.imxcfg   | 2 ++
 arch/arm/boards/karo-tx53/lowlevel.c                         | 2 ++
 arch/arm/boards/karo-tx6x/1600mhz_4x128mx16.imxcfg           | 2 ++
 arch/arm/boards/karo-tx6x/Makefile                           | 2 ++
 arch/arm/boards/karo-tx6x/flash-header-tx6dl-1g.imxcfg       | 2 ++
 arch/arm/boards/karo-tx6x/flash-header-tx6dl-512m.imxcfg     | 2 ++
 arch/arm/boards/karo-tx6x/flash-header-tx6q-1g.imxcfg        | 2 ++
 arch/arm/boards/karo-tx6x/flash-header-tx6qp-2g.imxcfg       | 2 ++
 arch/arm/boards/karo-tx6x/pmic.h                             | 1 +
 arch/arm/boards/karo-tx6x/ram-base.imxcfg                    | 2 ++
 arch/arm/boards/kindle-mx50/Makefile                         | 2 ++
 .../arm/boards/kindle-mx50/flash-header-kindle-lpddr1.imxcfg | 2 ++
 .../arm/boards/kindle-mx50/flash-header-kindle-lpddr2.imxcfg | 2 ++
 arch/arm/boards/kindle-mx50/lowlevel.c                       | 2 ++
 arch/arm/boards/kindle3/Makefile                             | 2 ++
 arch/arm/boards/kindle3/flash-header.imxcfg                  | 2 ++
 arch/arm/boards/kontron-samx6i/Makefile                      | 2 ++
 .../kontron-samx6i/flash-header-samx6i-duallite.imxcfg       | 2 ++
 .../boards/kontron-samx6i/flash-header-samx6i-quad.imxcfg    | 2 ++
 arch/arm/boards/kontron-samx6i/mem.h                         | 2 ++
 arch/arm/boards/lenovo-ix4-300d/Makefile                     | 2 ++
 arch/arm/boards/ls1046ardb/Makefile                          | 2 ++
 arch/arm/boards/ls1046ardb/ls1046ardb_pbi.cfg                | 2 ++
 arch/arm/boards/ls1046ardb/ls1046ardb_qspi_pbi.cfg           | 2 ++
 arch/arm/boards/ls1046ardb/ls1046ardb_rcw_emmc.cfg           | 2 ++
 arch/arm/boards/ls1046ardb/ls1046ardb_rcw_qspi.cfg           | 2 ++
 arch/arm/boards/ls1046ardb/ls1046ardb_rcw_sd.cfg             | 2 ++
 arch/arm/boards/lubbock/Makefile                             | 2 ++
 arch/arm/boards/lubbock/lowlevel.c                           | 2 ++
 arch/arm/boards/lxa-mc1/Makefile                             | 2 ++
 arch/arm/boards/mainstone/Makefile                           | 2 ++
 arch/arm/boards/mainstone/lowlevel.c                         | 2 ++
 arch/arm/boards/marvell-armada-xp-db/Makefile                | 2 ++
 arch/arm/boards/marvell-armada-xp-gp/Makefile                | 2 ++
 arch/arm/boards/microchip-ksz9477-evb/Makefile               | 2 ++
 arch/arm/boards/mioa701/Makefile                             | 2 ++
 arch/arm/boards/mioa701/lowlevel.c                           | 2 ++
 arch/arm/boards/mnt-reform/Makefile                          | 4 +++-
 arch/arm/boards/mnt-reform/flash-header-mnt-reform.imxcfg    | 2 ++
 arch/arm/boards/module-mb7707/Makefile                       | 2 ++
 arch/arm/boards/netgear-rn104/Makefile                       | 2 ++
 arch/arm/boards/netgear-rn104/lowlevel.c                     | 2 ++
 arch/arm/boards/netgear-rn2120/Makefile                      | 2 ++
 arch/arm/boards/netgear-rn2120/board.c                       | 2 ++
 arch/arm/boards/nhk8815/Makefile                             | 2 ++
 arch/arm/boards/nhk8815/lowlevel.c                           | 2 ++
 arch/arm/boards/nvidia-beaver/Makefile                       | 2 ++
 arch/arm/boards/nvidia-jetson-tk1/Makefile                   | 2 ++
 arch/arm/boards/nxp-imx6ull-evk/Makefile                     | 2 ++
 arch/arm/boards/nxp-imx8mm-evk/Makefile                      | 2 ++
 .../arm/boards/nxp-imx8mm-evk/flash-header-imx8mm-evk.imxcfg | 2 ++
 arch/arm/boards/nxp-imx8mn-evk/Makefile                      | 2 ++
 .../arm/boards/nxp-imx8mn-evk/flash-header-imx8mn-evk.imxcfg | 2 ++
 arch/arm/boards/nxp-imx8mp-evk/Makefile                      | 2 ++
 .../arm/boards/nxp-imx8mp-evk/flash-header-imx8mp-evk.imxcfg | 2 ++
 arch/arm/boards/nxp-imx8mq-evk/.gitignore                    | 2 ++
 arch/arm/boards/nxp-imx8mq-evk/Makefile                      | 2 ++
 .../arm/boards/nxp-imx8mq-evk/flash-header-imx8mq-evk.imxcfg | 2 ++
 arch/arm/boards/omap343xdsp/Makefile                         | 2 ++
 arch/arm/boards/omap343xdsp/lowlevel.c                       | 2 ++
 arch/arm/boards/omap3evm/Makefile                            | 2 ++
 arch/arm/boards/omap3evm/lowlevel.c                          | 2 ++
 arch/arm/boards/panda/Makefile                               | 2 ++
 arch/arm/boards/panda/board.c                                | 2 ++
 arch/arm/boards/panda/mux.c                                  | 2 ++
 arch/arm/boards/panda/mux.h                                  | 2 ++
 arch/arm/boards/phytec-phycard-imx27/Makefile                | 1 +
 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-phycard-omap4/mux.h                   | 2 ++
 arch/arm/boards/phytec-phycore-imx27/Makefile                | 2 ++
 arch/arm/boards/phytec-phycore-imx35/flash-header.imxcfg     | 2 ++
 arch/arm/boards/phytec-phycore-imx7/Makefile                 | 2 ++
 arch/arm/boards/phytec-phycore-imx7/lowlevel.c               | 2 ++
 arch/arm/boards/phytec-phycore-omap4460/Makefile             | 2 ++
 arch/arm/boards/phytec-phycore-omap4460/mux.c                | 2 ++
 arch/arm/boards/phytec-phycore-omap4460/mux.h                | 2 ++
 arch/arm/boards/phytec-phycore-pxa270/Makefile               | 2 ++
 arch/arm/boards/phytec-som-am335x/Kconfig                    | 1 +
 arch/arm/boards/phytec-som-am335x/Makefile                   | 2 ++
 arch/arm/boards/phytec-som-imx6/Makefile                     | 2 ++
 .../flash-header-phytec-pcaaxl3-1gib-1bank.imxcfg            | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pcaaxl3-1gib.imxcfg  | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pcaaxl3-2gib.imxcfg  | 2 ++
 .../arm/boards/phytec-som-imx6/flash-header-phytec-pcaaxl3.h | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pcl063-512mb.h       | 1 +
 arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063.h | 1 +
 .../flash-header-phytec-pcl063ul-512mb.imxcfg                | 1 +
 .../flash-header-phytec-pcl063ull-256mb.imxcfg               | 1 +
 .../flash-header-phytec-pcl063ull-512mb.imxcfg               | 1 +
 .../phytec-som-imx6/flash-header-phytec-pcm058-1gib.imxcfg   | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pcm058-2gib.imxcfg   | 2 ++
 arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058.h | 2 ++
 .../flash-header-phytec-pcm058dl-1gib-32bit.imxcfg           | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pcm058dl-1gib.imxcfg | 2 ++
 .../flash-header-phytec-pcm058dl-256mb.imxcfg                | 2 ++
 .../flash-header-phytec-pcm058dl-512mb.imxcfg                | 2 ++
 .../boards/phytec-som-imx6/flash-header-phytec-pcm058dl.h    | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pcm058qp-1gib.imxcfg | 2 ++
 .../boards/phytec-som-imx6/flash-header-phytec-pcm058qp.h    | 2 ++
 .../flash-header-phytec-pfla02-1gib-1bank.imxcfg             | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pfla02-1gib.imxcfg   | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pfla02-2gib.imxcfg   | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pfla02-4gib.imxcfg   | 2 ++
 .../flash-header-phytec-pfla02-512mb-1bank.imxcfg            | 2 ++
 arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02.h | 2 ++
 .../flash-header-phytec-pfla02dl-1gib-1bank.imxcfg           | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pfla02dl-1gib.imxcfg | 2 ++
 .../boards/phytec-som-imx6/flash-header-phytec-pfla02dl.h    | 2 ++
 .../flash-header-phytec-pfla02s-128mb-1bank.imxcfg           | 2 ++
 .../flash-header-phytec-pfla02s-256mb-1bank.imxcfg           | 2 ++
 .../flash-header-phytec-pfla02s-512mb-1bank.imxcfg           | 2 ++
 arch/arm/boards/phytec-som-imx8mq/.gitignore                 | 2 ++
 arch/arm/boards/phytec-som-imx8mq/Makefile                   | 2 ++
 .../phytec-som-imx8mq/flash-header-phycore-imx8mq.imxcfg     | 2 ++
 arch/arm/boards/phytec-som-rk3288/Makefile                   | 2 ++
 arch/arm/boards/plathome-openblocks-a6/Makefile              | 2 ++
 arch/arm/boards/plathome-openblocks-ax3/Makefile             | 2 ++
 arch/arm/boards/pm9261/Makefile                              | 2 ++
 arch/arm/boards/pm9263/Makefile                              | 2 ++
 arch/arm/boards/pm9g45/Makefile                              | 2 ++
 arch/arm/boards/protonic-imx6/Makefile                       | 2 ++
 arch/arm/boards/protonic-imx6/ddr3-defines.imxcfg            | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-alti6p.imxcfg     | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-jozacp.imxcfg     | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-lanmcu.imxcfg     | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-plybas.imxcfg     | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-plym2m.imxcfg     | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-prti6g.imxcfg     | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-prti6q.imxcfg     | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-prtmvt.imxcfg     | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-prtrvt.imxcfg     | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-prtvt7.imxcfg     | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-prtwd2.imxcfg     | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-prtwd3.imxcfg     | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-victgo.imxcfg     | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-vicut1.imxcfg     | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-vicut1q.imxcfg    | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-vicutp.imxcfg     | 2 ++
 arch/arm/boards/protonic-imx6/lpddr2-defines.imxcfg          | 2 ++
 arch/arm/boards/protonic-imx6/padsetup-dl.imxcfg             | 1 +
 arch/arm/boards/protonic-imx6/padsetup-q.imxcfg              | 1 +
 arch/arm/boards/protonic-imx6/padsetup-ul.imxcfg             | 1 +
 arch/arm/boards/protonic-imx8m/Makefile                      | 2 ++
 arch/arm/boards/protonic-imx8m/flash-header-prt8mm.imxcfg    | 2 ++
 arch/arm/boards/protonic-stm32mp1/Makefile                   | 2 ++
 arch/arm/boards/qemu-virt/.gitignore                         | 2 ++
 arch/arm/boards/qemu-virt/Makefile                           | 2 ++
 arch/arm/boards/qil-a926x/Makefile                           | 2 ++
 arch/arm/boards/radxa-rock/Makefile                          | 2 ++
 arch/arm/boards/raspberry-pi/Makefile                        | 2 ++
 arch/arm/boards/raspberry-pi/lowlevel.c                      | 2 ++
 arch/arm/boards/raspberry-pi/lowlevel.h                      | 2 ++
 arch/arm/boards/reflex-achilles/Makefile                     | 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/rockchip-rk3568-evb/Makefile                 | 2 ++
 arch/arm/boards/sama5d27-giantboard/Makefile                 | 2 ++
 arch/arm/boards/sama5d27-som1/Makefile                       | 2 ++
 arch/arm/boards/sama5d3_xplained/Makefile                    | 2 ++
 arch/arm/boards/sama5d3xek/Makefile                          | 2 ++
 arch/arm/boards/sama5d4_xplained/Makefile                    | 2 ++
 arch/arm/boards/sama5d4ek/Makefile                           | 2 ++
 arch/arm/boards/scb9328/Makefile                             | 1 +
 arch/arm/boards/seeed-odyssey/Makefile                       | 2 ++
 arch/arm/boards/skov-arm9cpu/Makefile                        | 2 ++
 arch/arm/boards/skov-imx6/Makefile                           | 2 ++
 arch/arm/boards/skov-imx6/flash-header-mx6-skov-imx6.imxcfg  | 2 ++
 arch/arm/boards/skov-imx6/version.h                          | 2 ++
 arch/arm/boards/solidrun-cubox/Makefile                      | 2 ++
 arch/arm/boards/solidrun-microsom/Makefile                   | 2 ++
 .../boards/solidrun-microsom/flash-header-microsom-i1.imxcfg | 2 ++
 .../boards/solidrun-microsom/flash-header-microsom-i2.imxcfg | 2 ++
 .../solidrun-microsom/flash-header-microsom-i2eX.imxcfg      | 2 ++
 .../boards/solidrun-microsom/flash-header-microsom-i4.imxcfg | 2 ++
 arch/arm/boards/solidrun-microsom/lowlevel.c                 | 2 ++
 arch/arm/boards/stm32mp15x-ev1/Makefile                      | 2 ++
 arch/arm/boards/stm32mp15xx-dkx/Makefile                     | 2 ++
 arch/arm/boards/technexion-pico-hobbit/Makefile              | 2 ++
 .../flash-header-imx6ul-pico-hobbit-256.imxcfg               | 2 ++
 .../flash-header-imx6ul-pico-hobbit-512.imxcfg               | 2 ++
 arch/arm/boards/technexion-pico-hobbit/lowlevel.c            | 2 ++
 arch/arm/boards/technexion-wandboard/Makefile                | 2 ++
 .../flash-header-technexion-wandboard.imxcfg                 | 2 ++
 arch/arm/boards/telit-evk-pro3/Makefile                      | 2 ++
 arch/arm/boards/terasic-de0-nano-soc/Makefile                | 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/Makefile                   | 2 ++
 arch/arm/boards/terasic-de10-nano/board.c                    | 2 ++
 arch/arm/boards/terasic-de10-nano/lowlevel.c                 | 2 ++
 arch/arm/boards/terasic-sockit/Makefile                      | 2 ++
 arch/arm/boards/terasic-sockit/board.c                       | 2 ++
 arch/arm/boards/terasic-sockit/lowlevel.c                    | 2 ++
 arch/arm/boards/tny-a926x/Makefile                           | 2 ++
 arch/arm/boards/toradex-colibri-t20/Makefile                 | 2 ++
 arch/arm/boards/toshiba-ac100/Makefile                       | 2 ++
 arch/arm/boards/tqma53/Makefile                              | 2 ++
 arch/arm/boards/tqma53/flash-header-tq-tqma53-1gib.imxcfg    | 2 ++
 arch/arm/boards/tqma53/flash-header-tq-tqma53-512mib.imxcfg  | 2 ++
 arch/arm/boards/tqma53/flash-header-tq-tqma53.h              | 2 ++
 arch/arm/boards/tqma53/flash-header.imxcfg                   | 2 ++
 arch/arm/boards/tqma53/lowlevel.c                            | 2 ++
 arch/arm/boards/tqma6x/Makefile                              | 2 ++
 arch/arm/boards/tqma6x/flash-header-tqma6dl.imxcfg           | 2 ++
 arch/arm/boards/tqma6x/flash-header-tqma6q.imxcfg            | 2 ++
 arch/arm/boards/tqmls1046a/Makefile                          | 2 ++
 arch/arm/boards/tqmls1046a/tqmls1046a_pbi.cfg                | 2 ++
 arch/arm/boards/tqmls1046a/tqmls1046a_rcw_qspi_3333_5559.cfg | 2 ++
 arch/arm/boards/tqmls1046a/tqmls1046a_rcw_sd_3333_5559.cfg   | 2 ++
 arch/arm/boards/turris-omnia/Makefile                        | 2 ++
 arch/arm/boards/udoo-neo/Makefile                            | 2 ++
 .../boards/udoo-neo/flash-header-mx6sx-udoo-neo_full.imxcfg  | 2 ++
 arch/arm/boards/udoo-neo/lowlevel.c                          | 2 ++
 arch/arm/boards/udoo/Makefile                                | 2 ++
 arch/arm/boards/udoo/flash-header-mx6-udoo.imxcfg            | 2 ++
 arch/arm/boards/udoo/lowlevel.c                              | 2 ++
 arch/arm/boards/usb-a926x/Makefile                           | 2 ++
 arch/arm/boards/usi-topkick/Makefile                         | 2 ++
 arch/arm/boards/variscite-mx6/Makefile                       | 2 ++
 arch/arm/boards/variscite-mx6/flash-header-variscite.imxcfg  | 2 ++
 arch/arm/boards/versatile/Kconfig                            | 1 +
 arch/arm/boards/versatile/Makefile                           | 2 ++
 arch/arm/boards/versatile/lowlevel.c                         | 2 ++
 arch/arm/boards/vexpress/Makefile                            | 2 ++
 arch/arm/boards/virt2real/Makefile                           | 2 ++
 arch/arm/boards/vscom-baltos/Makefile                        | 2 ++
 arch/arm/boards/vscom-baltos/lowlevel.c                      | 2 ++
 arch/arm/boards/wago-pfc-am35xx/Makefile                     | 2 ++
 arch/arm/boards/webasto-ccbv2/Makefile                       | 2 ++
 arch/arm/boards/zii-common/Makefile                          | 2 ++
 arch/arm/boards/zii-imx51-rdu1/Makefile                      | 2 ++
 .../boards/zii-imx51-rdu1/flash-header-imx51-zii-rdu1.imxcfg | 2 ++
 arch/arm/boards/zii-imx51-rdu1/lowlevel.c                    | 2 ++
 arch/arm/boards/zii-imx6q-rdu2/Makefile                      | 2 ++
 arch/arm/boards/zii-imx6q-rdu2/flash-header-rdu2.imxcfg      | 2 ++
 arch/arm/boards/zii-imx7d-dev/Makefile                       | 2 ++
 .../boards/zii-imx7d-dev/flash-header-zii-imx7d-dev.imxcfg   | 2 ++
 arch/arm/boards/zii-imx8mq-dev/Makefile                      | 2 ++
 .../boards/zii-imx8mq-dev/flash-header-zii-imx8mq-dev.imxcfg | 2 ++
 arch/arm/boards/zii-vf610-dev/Makefile                       | 2 ++
 .../boards/zii-vf610-dev/flash-header-zii-vf610-dev.imxcfg   | 2 ++
 arch/arm/boards/zylonite/Makefile                            | 2 ++
 arch/arm/boards/zylonite/lowlevel.c                          | 2 ++
 arch/arm/cpu/Kconfig                                         | 2 ++
 arch/arm/cpu/Makefile                                        | 2 ++
 arch/arm/cpu/atf.c                                           | 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/cache-l2x0.c                                    | 2 ++
 arch/arm/cpu/cache.c                                         | 2 ++
 arch/arm/cpu/entry.c                                         | 2 ++
 arch/arm/cpu/entry.h                                         | 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/mmu-common.c                                    | 2 ++
 arch/arm/cpu/mmu-common.h                                    | 4 +++-
 arch/arm/cpu/mmu-early.c                                     | 2 ++
 arch/arm/cpu/mmu-early_64.c                                  | 4 +++-
 arch/arm/cpu/mmu.h                                           | 2 ++
 arch/arm/cpu/mmu_64.h                                        | 1 +
 arch/arm/cpu/sections.c                                      | 2 ++
 arch/arm/cpu/setupc.S                                        | 2 ++
 arch/arm/cpu/setupc_64.S                                     | 2 ++
 arch/arm/cpu/sm_as.S                                         | 2 ++
 arch/arm/crypto/.gitignore                                   | 2 ++
 arch/arm/crypto/Makefile                                     | 1 +
 arch/arm/dts/Makefile                                        | 2 ++
 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/lib/Makefile                                        | 2 ++
 arch/arm/lib32/.gitignore                                    | 2 ++
 arch/arm/lib32/Makefile                                      | 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/runtime-offset.S                              | 2 ++
 arch/arm/lib32/start-kernel-optee.S                          | 2 ++
 arch/arm/lib32/unwind.c                                      | 2 ++
 arch/arm/lib64/.gitignore                                    | 2 ++
 arch/arm/lib64/Makefile                                      | 2 ++
 arch/arm/lib64/pbl.c                                         | 2 ++
 arch/arm/lib64/runtime-offset.S                              | 2 ++
 arch/arm/lib64/string.c                                      | 2 ++
 arch/arm/mach-at91/Kconfig                                   | 2 ++
 arch/arm/mach-at91/Makefile                                  | 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/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-at91/sama5d3.c                                 | 2 ++
 arch/arm/mach-at91/xload-mmc.c                               | 2 ++
 arch/arm/mach-bcm283x/Kconfig                                | 2 ++
 arch/arm/mach-bcm283x/Makefile                               | 2 ++
 arch/arm/mach-clps711x/Kconfig                               | 2 ++
 arch/arm/mach-clps711x/Makefile                              | 2 ++
 arch/arm/mach-clps711x/include/mach/devices.h                | 2 ++
 arch/arm/mach-davinci/Kconfig                                | 2 ++
 arch/arm/mach-davinci/Makefile                               | 2 ++
 arch/arm/mach-digic/Kconfig                                  | 2 ++
 arch/arm/mach-digic/Makefile                                 | 2 ++
 arch/arm/mach-ep93xx/Kconfig                                 | 2 ++
 arch/arm/mach-ep93xx/Makefile                                | 2 ++
 arch/arm/mach-ep93xx/header.c                                | 2 ++
 arch/arm/mach-ep93xx/include/mach/barebox.lds.h              | 1 +
 arch/arm/mach-imx/Kconfig                                    | 2 ++
 arch/arm/mach-imx/Makefile                                   | 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/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 ++
 .../include/mach/flash-header/vf610-ddr-cr-default.imxcfg    | 4 +++-
 .../include/mach/flash-header/vf610-ddr-pll2-400mhz.imxcfg   | 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-imx/xload-common.c                             | 2 ++
 arch/arm/mach-imx/xload-spi.c                                | 2 ++
 arch/arm/mach-layerscape/Kconfig                             | 2 ++
 arch/arm/mach-layerscape/Makefile                            | 2 ++
 arch/arm/mach-layerscape/icid.c                              | 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-layerscape/lowlevel.S                          | 2 ++
 arch/arm/mach-layerscape/pblimage.c                          | 2 ++
 arch/arm/mach-layerscape/ppa-entry.S                         | 2 ++
 arch/arm/mach-mvebu/Kconfig                                  | 2 ++
 arch/arm/mach-mvebu/Makefile                                 | 2 ++
 arch/arm/mach-mvebu/include/mach/barebox-arm-head.h          | 2 ++
 arch/arm/mach-mvebu/include/mach/bbu.h                       | 2 ++
 arch/arm/mach-mvebu/kwb_bbu.c                                | 2 ++
 arch/arm/mach-mvebu/kwbootimage.c                            | 2 ++
 arch/arm/mach-mxs/Kconfig                                    | 2 ++
 arch/arm/mach-mxs/Makefile                                   | 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/Kconfig                                | 2 ++
 arch/arm/mach-nomadik/Makefile                               | 1 +
 arch/arm/mach-nomadik/clock.c                                | 2 ++
 arch/arm/mach-nomadik/include/mach/fsmc.h                    | 2 ++
 arch/arm/mach-nomadik/include/mach/nand.h                    | 2 ++
 arch/arm/mach-omap/am3xxx.c                                  | 4 +++-
 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-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-pxa/Kconfig                                    | 2 ++
 arch/arm/mach-pxa/Makefile                                   | 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/Kconfig                               | 2 ++
 arch/arm/mach-rockchip/Makefile                              | 2 ++
 arch/arm/mach-rockchip/bootm.c                               | 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/Kconfig                                | 2 ++
 arch/arm/mach-samsung/Makefile                               | 2 ++
 arch/arm/mach-samsung/include/mach/bbu.h                     | 2 ++
 arch/arm/mach-socfpga/Kconfig                                | 2 ++
 arch/arm/mach-socfpga/Makefile                               | 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/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-socfpga/xload.c                                | 2 ++
 arch/arm/mach-stm32mp/Kconfig                                | 2 ++
 arch/arm/mach-stm32mp/Makefile                               | 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-stm32mp/stm32image.c                           | 2 ++
 arch/arm/mach-tegra/Kconfig                                  | 2 ++
 arch/arm/mach-tegra/Makefile                                 | 2 ++
 arch/arm/mach-uemd/Kconfig                                   | 2 ++
 arch/arm/mach-uemd/Makefile                                  | 2 ++
 arch/arm/mach-uemd/include/mach/hardware.h                   | 2 ++
 arch/arm/mach-versatile/Kconfig                              | 1 +
 arch/arm/mach-versatile/Makefile                             | 1 +
 arch/arm/mach-versatile/include/mach/init.h                  | 1 +
 arch/arm/mach-vexpress/Kconfig                               | 2 ++
 arch/arm/mach-vexpress/Makefile                              | 2 ++
 arch/arm/mach-zynq/Kconfig                                   | 2 ++
 arch/arm/mach-zynq/Makefile                                  | 2 ++
 arch/arm/mach-zynq/include/mach/debug_ll.h                   | 2 ++
 arch/arm/mach-zynq/include/mach/zynq-flash-header.h          | 2 ++
 arch/arm/tools/Makefile                                      | 2 ++
 arch/arm/tools/gen-mach-types                                | 2 ++
 arch/kvx/Kconfig                                             | 2 ++
 arch/kvx/Makefile                                            | 2 ++
 arch/kvx/dts/Makefile                                        | 2 ++
 arch/mips/Kconfig                                            | 5 ++---
 arch/mips/Makefile                                           | 2 ++
 arch/mips/boards/8devices-lima/Makefile                      | 2 ++
 arch/mips/boards/Makefile                                    | 2 ++
 arch/mips/boards/black-swift/Makefile                        | 2 ++
 arch/mips/boards/dlink-dir-320/Makefile                      | 2 ++
 arch/mips/boards/dptechnics-dpt-module/Makefile              | 2 ++
 arch/mips/boards/img-ci20/Makefile                           | 2 ++
 arch/mips/boards/loongson-ls1b/Makefile                      | 2 ++
 arch/mips/boards/netgear-wg102/Makefile                      | 2 ++
 arch/mips/boards/netgear-wg102/ram.c                         | 2 ++
 arch/mips/boards/okud-max9331/Makefile                       | 2 ++
 arch/mips/boards/openembed-som9331/Makefile                  | 2 ++
 arch/mips/boards/qemu-malta/Makefile                         | 2 ++
 arch/mips/boards/ritmix-rzx50/Makefile                       | 2 ++
 arch/mips/boards/tplink-mr3020/Makefile                      | 2 ++
 arch/mips/boards/tplink-wdr4300/Makefile                     | 2 ++
 arch/mips/boot/Makefile                                      | 2 ++
 arch/mips/dts/Makefile                                       | 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/lib/.gitignore                                     | 2 ++
 arch/mips/lib/Makefile                                       | 2 ++
 arch/mips/lib/asm-offsets.c                                  | 2 ++
 arch/mips/lib/bootm.c                                        | 2 ++
 arch/mips/lib/genex.S                                        | 2 ++
 arch/mips/lib/sections.c                                     | 2 ++
 arch/mips/lib/shutdown.c                                     | 2 ++
 arch/mips/lib/traps.c                                        | 2 ++
 arch/mips/mach-ar231x/Kconfig                                | 2 ++
 arch/mips/mach-ar231x/Makefile                               | 2 ++
 arch/mips/mach-ar231x/include/mach/pbl_macros.h              | 2 ++
 arch/mips/mach-ath79/Kconfig                                 | 2 ++
 arch/mips/mach-ath79/Makefile                                | 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-bcm47xx/Kconfig                               | 2 ++
 arch/mips/mach-bcm47xx/Makefile                              | 2 ++
 arch/mips/mach-loongson/Kconfig                              | 2 ++
 arch/mips/mach-loongson/Makefile                             | 2 ++
 arch/mips/mach-loongson/include/mach/pbl_macros.h            | 2 ++
 arch/mips/mach-malta/Kconfig                                 | 2 ++
 arch/mips/mach-malta/Makefile                                | 2 ++
 arch/mips/mach-malta/include/mach/mach-gt64120.h             | 2 ++
 arch/mips/mach-malta/pci.c                                   | 2 ++
 arch/mips/mach-xburst/Kconfig                                | 2 ++
 arch/mips/mach-xburst/Makefile                               | 2 ++
 arch/mips/mach-xburst/include/mach/devices.h                 | 2 ++
 arch/mips/pbl/.gitignore                                     | 2 ++
 arch/mips/pbl/Makefile                                       | 1 +
 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/Kconfig                                        | 2 ++
 arch/openrisc/Makefile                                       | 2 ++
 arch/openrisc/boards/generic/Makefile                        | 2 ++
 arch/openrisc/boards/generic/config.h                        | 1 +
 arch/openrisc/boards/generic/generic.c                       | 1 +
 arch/openrisc/cpu/.gitignore                                 | 2 ++
 arch/openrisc/cpu/Makefile                                   | 2 ++
 arch/openrisc/dts/Makefile                                   | 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/openrisc/lib/Makefile                                   | 2 ++
 arch/openrisc/lib/ashldi3.S                                  | 2 ++
 arch/openrisc/lib/asm-offsets.c                              | 2 ++
 arch/openrisc/lib/lshrdi3.S                                  | 2 ++
 arch/openrisc/lib/muldi3.S                                   | 2 ++
 arch/powerpc/Kbuild                                          | 2 ++
 arch/powerpc/Kconfig                                         | 2 ++
 arch/powerpc/Makefile                                        | 2 ++
 arch/powerpc/boards/.gitignore                               | 2 ++
 arch/powerpc/boards/freescale-p1010rdb/Makefile              | 2 ++
 arch/powerpc/boards/freescale-p1022ds/Makefile               | 2 ++
 arch/powerpc/boards/freescale-p2020rdb/Makefile              | 2 ++
 arch/powerpc/boards/owc-da923rc/Makefile                     | 2 ++
 arch/powerpc/boards/pcm030/Makefile                          | 2 ++
 arch/powerpc/cpu-85xx/Makefile                               | 2 ++
 arch/powerpc/cpu-85xx/resetvec.S                             | 2 ++
 arch/powerpc/ddr-8xxx/Makefile                               | 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/lib/Makefile                                    | 2 ++
 arch/powerpc/lib/kgdb.c                                      | 2 ++
 arch/powerpc/lib/misc.S                                      | 1 +
 arch/powerpc/lib/ppclinux.c                                  | 2 ++
 arch/powerpc/mach-mpc5xxx/Kconfig                            | 2 ++
 arch/powerpc/mach-mpc5xxx/Makefile                           | 2 ++
 arch/powerpc/mach-mpc5xxx/firmware_sc_task_bestcomm.impl.S   | 2 ++
 arch/powerpc/mach-mpc5xxx/include/mach/clock.h               | 2 ++
 arch/powerpc/mach-mpc5xxx/include/mach/sdma.h                | 2 ++
 arch/powerpc/mach-mpc5xxx/loadtask.c                         | 2 ++
 arch/powerpc/mach-mpc5xxx/reginfo.c                          | 2 ++
 arch/powerpc/mach-mpc85xx/.gitignore                         | 2 ++
 arch/powerpc/mach-mpc85xx/Kconfig                            | 2 ++
 arch/powerpc/mach-mpc85xx/Makefile                           | 2 ++
 arch/powerpc/mach-mpc85xx/include/mach/clock.h               | 2 ++
 arch/powerpc/mach-mpc85xx/include/mach/mpc85xx.h             | 2 ++
 arch/riscv/Kconfig                                           | 2 ++
 arch/riscv/Kconfig.socs                                      | 2 ++
 arch/riscv/Makefile                                          | 2 ++
 arch/riscv/boards/riscvemu/Makefile                          | 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/riscv/lib/.gitignore                                    | 2 ++
 arch/riscv/lib/asm-offsets.c                                 | 2 ++
 arch/sandbox/Kconfig                                         | 2 ++
 arch/sandbox/Makefile                                        | 2 ++
 arch/sandbox/board/.gitignore                                | 2 ++
 arch/sandbox/board/Makefile                                  | 2 ++
 arch/sandbox/board/barebox.lds.S                             | 2 ++
 arch/sandbox/board/dev-random.c                              | 2 ++
 arch/sandbox/board/power.c                                   | 2 ++
 arch/sandbox/dts/Makefile                                    | 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/lib/Makefile                                    | 2 ++
 arch/sandbox/lib/asm-offsets.c                               | 2 ++
 arch/sandbox/mach-sandbox/include/mach/hostfile.h            | 2 ++
 arch/sandbox/mach-sandbox/include/mach/linux.h               | 2 ++
 arch/sandbox/os/Makefile                                     | 2 ++
 arch/x86/Kconfig                                             | 5 ++---
 arch/x86/Makefile                                            | 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/lib/Makefile                                        | 2 ++
 arch/x86/lib/asm-offsets.c                                   | 1 +
 arch/x86/mach-efi/.gitignore                                 | 2 ++
 arch/x86/mach-efi/Makefile                                   | 2 ++
 arch/x86/mach-efi/clocksource.c                              | 2 ++
 arch/x86/mach-efi/elf_ia32_efi.lds.S                         | 2 ++
 arch/x86/mach-efi/elf_x86_64_efi.lds.S                       | 2 ++
 arch/x86/mach-efi/include/mach/debug_ll.h                    | 2 ++
 commands/Kconfig                                             | 2 ++
 commands/Makefile                                            | 2 ++
 commands/clk.c                                               | 2 ++
 commands/fbtest.c                                            | 2 ++
 commands/hwclock.c                                           | 2 ++
 commands/hwmon.c                                             | 2 ++
 commands/insmod.c                                            | 2 ++
 commands/internal.h                                          | 2 ++
 commands/keystore.c                                          | 2 ++
 commands/lsmod.c                                             | 2 ++
 commands/magicvar.c                                          | 2 ++
 commands/memtester/Makefile                                  | 2 ++
 commands/mmc.c                                               | 2 ++
 commands/readf.c                                             | 2 ++
 commands/rmdir.c                                             | 2 ++
 commands/splash.c                                            | 2 ++
 commands/time.c                                              | 2 ++
 commands/ubi.c                                               | 2 ++
 commands/uimage.c                                            | 2 ++
 common/.gitignore                                            | 2 ++
 common/Kconfig                                               | 2 ++
 common/Makefile                                              | 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/partitions/Kconfig                                    | 2 ++
 common/partitions/Makefile                                   | 2 ++
 common/ratp/Kconfig                                          | 3 ++-
 common/ratp/Makefile                                         | 2 ++
 common/serdev.c                                              | 1 +
 common/state/Makefile                                        | 2 ++
 common/state/state.h                                         | 2 ++
 common/tlsf.c                                                | 2 ++
 common/tlsfbits.h                                            | 2 ++
 common/version.c                                             | 2 ++
 crypto/.gitignore                                            | 2 ++
 crypto/Kconfig                                               | 2 ++
 crypto/Makefile                                              | 2 ++
 crypto/md5.c                                                 | 1 +
 defaultenv/.gitignore                                        | 2 ++
 defaultenv/Makefile                                          | 2 ++
 firmware/.gitignore                                          | 2 ++
 firmware/Kconfig                                             | 2 ++
 fs/Kconfig                                                   | 1 +
 fs/Makefile                                                  | 2 ++
 fs/cramfs/Makefile                                           | 2 ++
 fs/cramfs/uncompress.c                                       | 2 ++
 fs/ext4/Kconfig                                              | 2 ++
 fs/ext4/Makefile                                             | 2 ++
 fs/fat/Kconfig                                               | 2 ++
 fs/fat/Makefile                                              | 2 ++
 fs/fat/diskio.h                                              | 2 ++
 fs/fat/ffconf.h                                              | 2 ++
 fs/fat/integer.h                                             | 2 ++
 fs/jffs2/Kconfig                                             | 2 ++
 fs/jffs2/Makefile                                            | 2 ++
 fs/jffs2/acl.h                                               | 4 +---
 fs/jffs2/build.c                                             | 4 +---
 fs/jffs2/compr.c                                             | 4 +---
 fs/jffs2/compr.h                                             | 4 +---
 fs/jffs2/compr_lzo.c                                         | 4 +---
 fs/jffs2/compr_rtime.c                                       | 5 +----
 fs/jffs2/compr_rubin.c                                       | 4 +---
 fs/jffs2/compr_zlib.c                                        | 4 +---
 fs/jffs2/debug.c                                             | 4 +---
 fs/jffs2/debug.h                                             | 5 ++---
 fs/jffs2/dir.c                                               | 4 +---
 fs/jffs2/fs.c                                                | 4 +---
 fs/jffs2/jffs2_fs_i.h                                        | 5 ++---
 fs/jffs2/jffs2_fs_sb.h                                       | 5 ++---
 fs/jffs2/malloc.c                                            | 4 +---
 fs/jffs2/nodelist.c                                          | 4 +---
 fs/jffs2/nodelist.h                                          | 4 +---
 fs/jffs2/os-linux.h                                          | 5 ++---
 fs/jffs2/read.c                                              | 4 +---
 fs/jffs2/readinode.c                                         | 4 +---
 fs/jffs2/scan.c                                              | 4 +---
 fs/jffs2/summary.h                                           | 4 +---
 fs/jffs2/super.c                                             | 5 ++---
 fs/jffs2/xattr.h                                             | 4 +---
 fs/pstore/Kconfig                                            | 2 ++
 fs/pstore/Makefile                                           | 2 ++
 fs/pstore/internal.h                                         | 2 ++
 fs/squashfs/Kconfig                                          | 2 ++
 fs/squashfs/Makefile                                         | 2 ++
 fs/squashfs/squashfs.c                                       | 2 ++
 fs/ubifs/Kconfig                                             | 2 ++
 fs/ubifs/Makefile                                            | 2 ++
 images/.gitignore                                            | 2 ++
 images/Makefile                                              | 1 +
 images/Makefile.am33xx                                       | 1 +
 images/Makefile.am35xx                                       | 1 +
 images/Makefile.ar231x                                       | 2 ++
 images/Makefile.at91                                         | 1 +
 images/Makefile.ath79                                        | 2 ++
 images/Makefile.bcm283x                                      | 3 ++-
 images/Makefile.bcm47xx                                      | 2 ++
 images/Makefile.imx                                          | 1 +
 images/Makefile.layerscape                                   | 1 +
 images/Makefile.loongson                                     | 2 ++
 images/Makefile.malta                                        | 2 ++
 images/Makefile.mvebu                                        | 1 +
 images/Makefile.mxs                                          | 1 +
 images/Makefile.omap3                                        | 2 ++
 images/Makefile.rockchip                                     | 1 +
 images/Makefile.socfpga                                      | 1 +
 images/Makefile.tegra                                        | 1 +
 images/Makefile.vexpress                                     | 1 +
 images/Makefile.xburst                                       | 2 ++
 images/Makefile.zynq                                         | 1 +
 images/piggy.S                                               | 2 ++
 include/.gitignore                                           | 2 ++
 include/aiodev.h                                             | 2 ++
 include/asm-generic/atomic-long.h                            | 2 ++
 include/asm-generic/barebox.lds.h                            | 2 ++
 include/asm-generic/bitops/__ffs.h                           | 2 ++
 include/asm-generic/bitops/__fls.h                           | 2 ++
 include/asm-generic/bitops/ffs.h                             | 2 ++
 include/asm-generic/bitops/ffz.h                             | 2 ++
 include/asm-generic/bitops/find.h                            | 2 ++
 include/asm-generic/bitops/fls.h                             | 2 ++
 include/asm-generic/bitops/fls64.h                           | 2 ++
 include/asm-generic/bitops/hweight.h                         | 2 ++
 include/asm-generic/bitops/ops.h                             | 2 ++
 include/asm-generic/bitsperlong.h                            | 2 ++
 include/asm-generic/bug.h                                    | 2 ++
 include/asm-generic/errno.h                                  | 2 ++
 include/asm-generic/int-ll64.h                               | 2 ++
 include/asm-generic/ioctl.h                                  | 2 ++
 include/asm-generic/memory_layout.h                          | 2 ++
 include/asm-generic/posix_types.h                            | 2 ++
 include/asm-generic/sections.h                               | 2 ++
 include/asm-generic/swab.h                                   | 2 ++
 include/base64.h                                             | 2 ++
 include/cramfs/cramfs_fs.h                                   | 2 ++
 include/crypto/crc.h                                         | 2 ++
 include/crypto/des.h                                         | 2 ++
 include/crypto/sha.h                                         | 2 ++
 include/debug_ll/ns16550.h                                   | 2 ++
 include/debug_ll/pl011.h                                     | 2 ++
 include/fastboot.h                                           | 2 ++
 include/fpga-bridge.h                                        | 1 +
 include/gui/2d-primitives.h                                  | 2 ++
 include/i2c/i2c-early.h                                      | 2 ++
 include/input/input.h                                        | 2 ++
 include/input/keyboard.h                                     | 2 ++
 include/input/matrix_keypad.h                                | 2 ++
 include/linux/amba/mmci.h                                    | 2 ++
 include/linux/amba/pl061.h                                   | 2 ++
 include/linux/bcd.h                                          | 2 ++
 include/linux/bitmap.h                                       | 2 ++
 include/linux/bitops.h                                       | 2 ++
 include/linux/bitrev.h                                       | 2 ++
 include/linux/bug.h                                          | 2 ++
 include/linux/byteorder/big_endian.h                         | 2 ++
 include/linux/byteorder/generic.h                            | 2 ++
 include/linux/byteorder/little_endian.h                      | 2 ++
 include/linux/circ_buf.h                                     | 2 ++
 include/linux/compiler_types.h                               | 2 ++
 include/linux/const.h                                        | 2 ++
 include/linux/crc8.h                                         | 2 ++
 include/linux/ctype.h                                        | 2 ++
 include/linux/dcache.h                                       | 2 ++
 include/linux/decompress/mm.h                                | 2 ++
 include/linux/decompress/unlz4.h                             | 2 ++
 include/linux/err.h                                          | 2 ++
 include/linux/ethtool.h                                      | 2 ++
 include/linux/fs.h                                           | 2 ++
 include/linux/gcd.h                                          | 2 ++
 include/linux/hash.h                                         | 2 ++
 include/linux/ioport.h                                       | 2 ++
 include/linux/jffs2.h                                        | 2 ++
 include/linux/kbuild.h                                       | 2 ++
 include/linux/linkage.h                                      | 2 ++
 include/linux/list_sort.h                                    | 2 ++
 include/linux/magic.h                                        | 2 ++
 include/linux/mdio-bitbang.h                                 | 2 ++
 include/linux/mii.h                                          | 2 ++
 include/linux/mod_devicetable.h                              | 2 ++
 include/linux/mount.h                                        | 2 ++
 include/linux/mtd/mtd-abi.h                                  | 2 ++
 include/linux/mtd/nftl.h                                     | 2 ++
 include/linux/mutex.h                                        | 2 ++
 include/linux/pagemap.h                                      | 2 ++
 include/linux/path.h                                         | 2 ++
 include/linux/pci.h                                          | 2 ++
 include/linux/pci_regs.h                                     | 2 ++
 include/linux/posix_types.h                                  | 2 ++
 include/linux/reset-controller.h                             | 2 ++
 include/linux/reset.h                                        | 2 ++
 include/linux/rtc.h                                          | 2 ++
 include/linux/rwsem.h                                        | 2 ++
 include/linux/sched.h                                        | 2 ++
 include/linux/slab.h                                         | 2 ++
 include/linux/smscphy.h                                      | 2 ++
 include/linux/spinlock.h                                     | 2 ++
 include/linux/stat.h                                         | 2 ++
 include/linux/stddef.h                                       | 2 ++
 include/linux/string.h                                       | 2 ++
 include/linux/stringify.h                                    | 2 ++
 include/linux/swab.h                                         | 2 ++
 include/linux/time.h                                         | 2 ++
 include/linux/types.h                                        | 2 ++
 include/linux/unaligned/access_ok.h                          | 2 ++
 include/linux/unaligned/be_byteshift.h                       | 2 ++
 include/linux/unaligned/be_memmove.h                         | 2 ++
 include/linux/unaligned/be_struct.h                          | 2 ++
 include/linux/unaligned/generic.h                            | 2 ++
 include/linux/unaligned/le_byteshift.h                       | 2 ++
 include/linux/unaligned/le_memmove.h                         | 2 ++
 include/linux/unaligned/le_struct.h                          | 2 ++
 include/linux/unaligned/memmove.h                            | 2 ++
 include/linux/unaligned/packed_struct.h                      | 2 ++
 include/linux/wait.h                                         | 2 ++
 include/linux/xz.h                                           | 2 ++
 include/linux/zutil.h                                        | 2 ++
 include/machine_id.h                                         | 2 ++
 include/mfd/lp3972.h                                         | 2 ++
 include/mfd/pfuze.h                                          | 2 ++
 include/mtd/mtd-peb.h                                        | 2 ++
 include/platform_data/atmel-mci.h                            | 2 ++
 include/platform_data/cadence_qspi.h                         | 2 ++
 include/platform_data/dw_mmc.h                               | 2 ++
 include/platform_data/eth-designware.h                       | 2 ++
 include/platform_data/eth-dm9000.h                           | 1 +
 include/platform_data/pca953x.h                              | 2 ++
 include/pm_domain.h                                          | 4 +++-
 include/serial/cadence.h                                     | 2 ++
 include/serial/imx-uart.h                                    | 2 ++
 include/slice.h                                              | 2 ++
 include/soc/fsl/fsl_udc.h                                    | 2 ++
 include/soc/imx/imx-nand-bcb.h                               | 2 ++
 include/soc/imx8m/clk-early.h                                | 2 ++
 include/sys/ioctl.h                                          | 2 ++
 include/sys/mount.h                                          | 2 ++
 include/sys/stat.h                                           | 2 ++
 include/usb/cdc.h                                            | 2 ++
 include/usb/ch11.h                                           | 2 ++
 include/usb/ch9.h                                            | 2 ++
 include/usb/chipidea-imx.h                                   | 2 ++
 include/usb/ehci.h                                           | 2 ++
 include/usb/fastboot.h                                       | 2 ++
 include/usb/fsl_usb2.h                                       | 2 ++
 include/usb/gadget-multi.h                                   | 2 ++
 include/usb/musb.h                                           | 2 ++
 include/usb/phy.h                                            | 2 ++
 include/usb/ulpi.h                                           | 2 ++
 include/usb/usbserial.h                                      | 2 ++
 include/video/backlight.h                                    | 2 ++
 include/video/fourcc.h                                       | 2 ++
 include/video/vpl.h                                          | 2 ++
 include/work.h                                               | 2 ++
 lib/Kconfig                                                  | 2 ++
 lib/Makefile                                                 | 2 ++
 lib/bcd.c                                                    | 2 ++
 lib/bootstrap/Kconfig                                        | 2 ++
 lib/bootstrap/Makefile                                       | 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/Kconfig                                            | 2 ++
 lib/fonts/Makefile                                           | 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/Kconfig                                              | 2 ++
 lib/gui/Makefile                                             | 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/kasan/Kconfig                                            | 2 ++
 lib/kasan/Makefile                                           | 1 +
 lib/list_sort.c                                              | 2 ++
 lib/logo/.gitignore                                          | 2 ++
 lib/logo/Kconfig                                             | 2 ++
 lib/logo/Makefile                                            | 1 +
 lib/lz4/Makefile                                             | 2 ++
 lib/lzo/Kconfig                                              | 2 ++
 lib/lzo/Makefile                                             | 2 ++
 lib/make_directory.c                                         | 1 +
 lib/math/Makefile                                            | 2 ++
 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/reed_solomon/Makefile                                    | 2 ++
 lib/string.c                                                 | 1 +
 lib/stringlist.c                                             | 2 ++
 lib/strtox.c                                                 | 2 ++
 lib/unlink-recursive.c                                       | 2 ++
 lib/vsprintf.c                                               | 2 ++
 lib/xz/Makefile                                              | 2 ++
 lib/zlib_inflate/Makefile                                    | 2 ++
 lib/zstd/Makefile                                            | 2 ++
 net/Kconfig                                                  | 2 ++
 net/Makefile                                                 | 2 ++
 net/nfs.c                                                    | 2 ++
 net/ping.c                                                   | 2 ++
 pbl/Kconfig                                                  | 2 ++
 pbl/Makefile                                                 | 2 ++
 pbl/console.c                                                | 2 ++
 pbl/misc.c                                                   | 2 ++
 pbl/string.c                                                 | 2 ++
 scripts/.gitignore                                           | 2 ++
 scripts/Kconfig                                              | 2 ++
 scripts/Makefile                                             | 2 ++
 scripts/dtc/.gitignore                                       | 2 ++
 scripts/imx/.gitignore                                       | 2 ++
 scripts/imx/Kconfig                                          | 2 ++
 scripts/imx/Makefile                                         | 2 ++
 scripts/mod/.gitignore                                       | 2 ++
 scripts/mod/Makefile                                         | 2 ++
 scripts/tegra/.gitignore                                     | 2 ++
 scripts/tegra/Makefile                                       | 2 ++
 test/.gitignore                                              | 2 ++
 test/Kconfig                                                 | 2 ++
 test/Makefile                                                | 2 ++
 1262 files changed, 2447 insertions(+), 106 deletions(-)

-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 01/11] commands: set SPDX-License-Identifier for files without license statement
  2022-01-03 12:05 [PATCH 00/11] treewide: SPDXify files without license statement Ahmad Fatoum
@ 2022-01-03 12:05 ` Ahmad Fatoum
  2022-01-03 12:05 ` [PATCH 02/11] treewide: add SPDX-License-Identifier for Kbuild/Kconfig Ahmad Fatoum
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: Ahmad Fatoum @ 2022-01-03 12:05 UTC (permalink / raw)
  To: barebox; +Cc: ukl, rhi, Ahmad Fatoum

In absence of a dual licensing statement, this is GPL-2.0-only as the
barebox project as a whole. Add a SPDX-License-Identifier to make this
clear.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 commands/Kconfig            | 2 ++
 commands/Makefile           | 2 ++
 commands/clk.c              | 2 ++
 commands/fbtest.c           | 2 ++
 commands/hwclock.c          | 2 ++
 commands/hwmon.c            | 2 ++
 commands/insmod.c           | 2 ++
 commands/internal.h         | 2 ++
 commands/keystore.c         | 2 ++
 commands/lsmod.c            | 2 ++
 commands/magicvar.c         | 2 ++
 commands/memtester/Makefile | 2 ++
 commands/mmc.c              | 2 ++
 commands/readf.c            | 2 ++
 commands/rmdir.c            | 2 ++
 commands/splash.c           | 2 ++
 commands/time.c             | 2 ++
 commands/ubi.c              | 2 ++
 commands/uimage.c           | 2 ++
 19 files changed, 38 insertions(+)

diff --git a/commands/Kconfig b/commands/Kconfig
index 22375360885b..e2c36949347e 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 config REGINFO
 	bool
 
diff --git a/commands/Makefile b/commands/Makefile
index ba5ea19eb202..0b7c1563b534 100644
--- a/commands/Makefile
+++ b/commands/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_STDDEV)		+= stddev.o
 obj-$(CONFIG_CMD_DIGEST)	+= digest.o
 obj-$(CONFIG_COMPILE_HASH)	+= hashsum.o
diff --git a/commands/clk.c b/commands/clk.c
index 4d124807bd73..0f7d7422e9b2 100644
--- a/commands/clk.c
+++ b/commands/clk.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <getopt.h>
diff --git a/commands/fbtest.c b/commands/fbtest.c
index 30d96f6af41f..be1540d3d170 100644
--- a/commands/fbtest.c
+++ b/commands/fbtest.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <errno.h>
diff --git a/commands/hwclock.c b/commands/hwclock.c
index 7a5600c456c9..abb0500e6a5d 100644
--- a/commands/hwclock.c
+++ b/commands/hwclock.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <getopt.h>
diff --git a/commands/hwmon.c b/commands/hwmon.c
index ace4503c0b4d..04c3e728c636 100644
--- a/commands/hwmon.c
+++ b/commands/hwmon.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <getopt.h>
diff --git a/commands/insmod.c b/commands/insmod.c
index 735dde022253..8f962b62d30d 100644
--- a/commands/insmod.c
+++ b/commands/insmod.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <module.h>
diff --git a/commands/internal.h b/commands/internal.h
index 21d1408c911f..63c10af28e76 100644
--- a/commands/internal.h
+++ b/commands/internal.h
@@ -1,2 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 int __do_digest(struct digest *d, unsigned char *sig,
 		       int argc, char *argv[]);
diff --git a/commands/keystore.c b/commands/keystore.c
index 4f6a7ef190ea..4922cf1bebe9 100644
--- a/commands/keystore.c
+++ b/commands/keystore.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <getopt.h>
diff --git a/commands/lsmod.c b/commands/lsmod.c
index 711c1c66dc3d..3d7ce40430bd 100644
--- a/commands/lsmod.c
+++ b/commands/lsmod.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <complete.h>
diff --git a/commands/magicvar.c b/commands/magicvar.c
index 8740784ed2c2..01acc741ac5d 100644
--- a/commands/magicvar.c
+++ b/commands/magicvar.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <getopt.h>
diff --git a/commands/memtester/Makefile b/commands/memtester/Makefile
index 17a2429276bb..b410813af7c8 100644
--- a/commands/memtester/Makefile
+++ b/commands/memtester/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += tests.o memtester.o
diff --git a/commands/mmc.c b/commands/mmc.c
index c696e7b8817b..cbbb9d615145 100644
--- a/commands/mmc.c
+++ b/commands/mmc.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <command.h>
 #include <mci.h>
 #include <stdio.h>
diff --git a/commands/readf.c b/commands/readf.c
index 8dd5a2b55a79..d9d1b5124349 100644
--- a/commands/readf.c
+++ b/commands/readf.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <fs.h>
diff --git a/commands/rmdir.c b/commands/rmdir.c
index e1cd5dc54852..9b2938a5563c 100644
--- a/commands/rmdir.c
+++ b/commands/rmdir.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <fs.h>
diff --git a/commands/splash.c b/commands/splash.c
index f1cc8c83bd97..2eb7c5dc39e5 100644
--- a/commands/splash.c
+++ b/commands/splash.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <errno.h>
diff --git a/commands/time.c b/commands/time.c
index 2d9fb75e7a8c..5b8933ea6553 100644
--- a/commands/time.c
+++ b/commands/time.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <clock.h>
diff --git a/commands/ubi.c b/commands/ubi.c
index f866f00160b0..6abd054af393 100644
--- a/commands/ubi.c
+++ b/commands/ubi.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <fs.h>
diff --git a/commands/uimage.c b/commands/uimage.c
index fb4df780bdd0..588519e3f3a7 100644
--- a/commands/uimage.c
+++ b/commands/uimage.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 #include <common.h>
 #include <command.h>
 #include <image.h>
-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 02/11] treewide: add SPDX-License-Identifier for Kbuild/Kconfig
  2022-01-03 12:05 [PATCH 00/11] treewide: SPDXify files without license statement Ahmad Fatoum
  2022-01-03 12:05 ` [PATCH 01/11] commands: set SPDX-License-Identifier for " Ahmad Fatoum
@ 2022-01-03 12:05 ` Ahmad Fatoum
  2022-01-03 12:05 ` [PATCH 03/11] treewide: add SPDX-License-Identifier for .gitignore Ahmad Fatoum
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: Ahmad Fatoum @ 2022-01-03 12:05 UTC (permalink / raw)
  To: barebox; +Cc: ukl, rhi, Ahmad Fatoum

To verify only Kconfig/Makefile is touched:

  git show --numstat --format=oneline HEAD | grep -v 'Kconfig\|Makefile'

will print only arch/powerpc/Kbuild.
To verify nothing unexpected is added:

  git show -U0 | grep '^-[^-]\|^+[^+]' | sort -u

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 Kconfig                                            | 2 ++
 arch/arm/Kconfig                                   | 2 ++
 arch/arm/Makefile                                  | 2 ++
 arch/arm/boards/Makefile                           | 2 ++
 arch/arm/boards/a9m2410/Makefile                   | 1 +
 arch/arm/boards/a9m2440/Makefile                   | 1 +
 arch/arm/boards/ac-sxb/Makefile                    | 2 ++
 arch/arm/boards/advantech-mx6/Makefile             | 2 ++
 arch/arm/boards/afi-gf/Makefile                    | 2 ++
 arch/arm/boards/altera-socdk/Makefile              | 2 ++
 arch/arm/boards/animeo_ip/Makefile                 | 2 ++
 arch/arm/boards/archosg9/Makefile                  | 2 ++
 arch/arm/boards/at91rm9200ek/Makefile              | 2 ++
 arch/arm/boards/at91sam9260ek/Makefile             | 2 ++
 arch/arm/boards/at91sam9261ek/Makefile             | 2 ++
 arch/arm/boards/at91sam9263ek/Makefile             | 2 ++
 arch/arm/boards/at91sam9m10g45ek/Makefile          | 2 ++
 arch/arm/boards/at91sam9m10ihd/Makefile            | 2 ++
 arch/arm/boards/at91sam9n12ek/Makefile             | 2 ++
 arch/arm/boards/at91sam9x5ek/Makefile              | 2 ++
 arch/arm/boards/avnet-zedboard/Makefile            | 2 ++
 arch/arm/boards/beagle/Makefile                    | 2 ++
 arch/arm/boards/beaglebone/Makefile                | 2 ++
 arch/arm/boards/boundarydevices-nitrogen6/Makefile | 2 ++
 arch/arm/boards/canon-a1100/Makefile               | 2 ++
 arch/arm/boards/ccxmx51/Makefile                   | 2 ++
 arch/arm/boards/ccxmx53/Makefile                   | 2 ++
 arch/arm/boards/chumby_falconwing/Makefile         | 2 ++
 arch/arm/boards/clep7212/Makefile                  | 2 ++
 arch/arm/boards/cm-fx6/Makefile                    | 2 ++
 arch/arm/boards/crystalfontz-cfa10036/Makefile     | 2 ++
 arch/arm/boards/datamodul-edm-qmx6/Makefile        | 2 ++
 arch/arm/boards/dfi-fs700-m60/Makefile             | 2 ++
 arch/arm/boards/digi-ccimx6ulsom/Makefile          | 2 ++
 arch/arm/boards/dss11/Makefile                     | 2 ++
 arch/arm/boards/duckbill/Makefile                  | 2 ++
 arch/arm/boards/ebv-socrates/Makefile              | 2 ++
 arch/arm/boards/edb93xx/Makefile                   | 1 +
 arch/arm/boards/efika-mx-smartbook/Makefile        | 2 ++
 arch/arm/boards/element14-warp7/Makefile           | 2 ++
 arch/arm/boards/eltec-hipercam/Makefile            | 2 ++
 arch/arm/boards/embedsky-e9/Makefile               | 2 ++
 arch/arm/boards/embest-marsboard/Makefile          | 2 ++
 arch/arm/boards/embest-riotboard/Makefile          | 2 ++
 arch/arm/boards/eukrea_cpuimx27/Makefile           | 1 +
 arch/arm/boards/eukrea_cpuimx51/Makefile           | 2 ++
 arch/arm/boards/freescale-mx21-ads/Makefile        | 2 ++
 arch/arm/boards/freescale-mx23-evk/Makefile        | 3 ++-
 arch/arm/boards/freescale-mx27-ads/Makefile        | 1 +
 arch/arm/boards/freescale-mx28-evk/Makefile        | 2 ++
 arch/arm/boards/freescale-mx35-3ds/Makefile        | 2 ++
 arch/arm/boards/freescale-mx51-babbage/Makefile    | 2 ++
 arch/arm/boards/freescale-mx53-qsb/Makefile        | 2 ++
 arch/arm/boards/freescale-mx53-smd/Makefile        | 2 ++
 arch/arm/boards/freescale-mx53-vmx53/Makefile      | 2 ++
 arch/arm/boards/freescale-mx6-sabrelite/Makefile   | 2 ++
 arch/arm/boards/freescale-mx6-sabresd/Makefile     | 2 ++
 arch/arm/boards/freescale-mx6sx-sabresdb/Makefile  | 2 ++
 arch/arm/boards/freescale-mx7-sabresd/Makefile     | 2 ++
 arch/arm/boards/freescale-vf610-twr/Makefile       | 2 ++
 arch/arm/boards/friendlyarm-mini2440/Kconfig       | 1 +
 arch/arm/boards/friendlyarm-mini2440/Makefile      | 2 ++
 arch/arm/boards/friendlyarm-mini6410/Makefile      | 2 ++
 arch/arm/boards/friendlyarm-tiny210/Makefile       | 2 ++
 arch/arm/boards/friendlyarm-tiny6410/Kconfig       | 2 ++
 arch/arm/boards/friendlyarm-tiny6410/Makefile      | 2 ++
 arch/arm/boards/gateworks-ventana/Makefile         | 2 ++
 arch/arm/boards/gk802/Makefile                     | 2 ++
 arch/arm/boards/globalscale-guruplug/Makefile      | 2 ++
 arch/arm/boards/globalscale-mirabox/Makefile       | 2 ++
 arch/arm/boards/grinn-liteboard/Makefile           | 2 ++
 arch/arm/boards/guf-neso/Makefile                  | 2 ++
 arch/arm/boards/guf-santaro/Makefile               | 2 ++
 arch/arm/boards/guf-vincell/Makefile               | 2 ++
 arch/arm/boards/haba-knx/Makefile                  | 2 ++
 arch/arm/boards/imx233-olinuxino/Makefile          | 2 ++
 arch/arm/boards/kamstrup-mx7-concentrator/Makefile | 4 +++-
 arch/arm/boards/karo-tx28/Makefile                 | 2 ++
 arch/arm/boards/karo-tx53/Makefile                 | 2 ++
 arch/arm/boards/karo-tx6x/Makefile                 | 2 ++
 arch/arm/boards/kindle-mx50/Makefile               | 2 ++
 arch/arm/boards/kindle3/Makefile                   | 2 ++
 arch/arm/boards/kontron-samx6i/Makefile            | 2 ++
 arch/arm/boards/lenovo-ix4-300d/Makefile           | 2 ++
 arch/arm/boards/ls1046ardb/Makefile                | 2 ++
 arch/arm/boards/lubbock/Makefile                   | 2 ++
 arch/arm/boards/lxa-mc1/Makefile                   | 2 ++
 arch/arm/boards/mainstone/Makefile                 | 2 ++
 arch/arm/boards/marvell-armada-xp-db/Makefile      | 2 ++
 arch/arm/boards/marvell-armada-xp-gp/Makefile      | 2 ++
 arch/arm/boards/microchip-ksz9477-evb/Makefile     | 2 ++
 arch/arm/boards/mioa701/Makefile                   | 2 ++
 arch/arm/boards/mnt-reform/Makefile                | 4 +++-
 arch/arm/boards/module-mb7707/Makefile             | 2 ++
 arch/arm/boards/netgear-rn104/Makefile             | 2 ++
 arch/arm/boards/netgear-rn2120/Makefile            | 2 ++
 arch/arm/boards/nhk8815/Makefile                   | 2 ++
 arch/arm/boards/nvidia-beaver/Makefile             | 2 ++
 arch/arm/boards/nvidia-jetson-tk1/Makefile         | 2 ++
 arch/arm/boards/nxp-imx6ull-evk/Makefile           | 2 ++
 arch/arm/boards/nxp-imx8mm-evk/Makefile            | 2 ++
 arch/arm/boards/nxp-imx8mn-evk/Makefile            | 2 ++
 arch/arm/boards/nxp-imx8mp-evk/Makefile            | 2 ++
 arch/arm/boards/nxp-imx8mq-evk/Makefile            | 2 ++
 arch/arm/boards/omap343xdsp/Makefile               | 2 ++
 arch/arm/boards/omap3evm/Makefile                  | 2 ++
 arch/arm/boards/panda/Makefile                     | 2 ++
 arch/arm/boards/phytec-phycard-imx27/Makefile      | 1 +
 arch/arm/boards/phytec-phycore-imx27/Makefile      | 2 ++
 arch/arm/boards/phytec-phycore-imx7/Makefile       | 2 ++
 arch/arm/boards/phytec-phycore-omap4460/Makefile   | 2 ++
 arch/arm/boards/phytec-phycore-pxa270/Makefile     | 2 ++
 arch/arm/boards/phytec-som-am335x/Kconfig          | 1 +
 arch/arm/boards/phytec-som-am335x/Makefile         | 2 ++
 arch/arm/boards/phytec-som-imx6/Makefile           | 2 ++
 arch/arm/boards/phytec-som-imx8mq/Makefile         | 2 ++
 arch/arm/boards/phytec-som-rk3288/Makefile         | 2 ++
 arch/arm/boards/plathome-openblocks-a6/Makefile    | 2 ++
 arch/arm/boards/plathome-openblocks-ax3/Makefile   | 2 ++
 arch/arm/boards/pm9261/Makefile                    | 2 ++
 arch/arm/boards/pm9263/Makefile                    | 2 ++
 arch/arm/boards/pm9g45/Makefile                    | 2 ++
 arch/arm/boards/protonic-imx6/Makefile             | 2 ++
 arch/arm/boards/protonic-imx8m/Makefile            | 2 ++
 arch/arm/boards/protonic-stm32mp1/Makefile         | 2 ++
 arch/arm/boards/qemu-virt/Makefile                 | 2 ++
 arch/arm/boards/qil-a926x/Makefile                 | 2 ++
 arch/arm/boards/radxa-rock/Makefile                | 2 ++
 arch/arm/boards/raspberry-pi/Makefile              | 2 ++
 arch/arm/boards/reflex-achilles/Makefile           | 2 ++
 arch/arm/boards/rockchip-rk3568-evb/Makefile       | 2 ++
 arch/arm/boards/sama5d27-giantboard/Makefile       | 2 ++
 arch/arm/boards/sama5d27-som1/Makefile             | 2 ++
 arch/arm/boards/sama5d3_xplained/Makefile          | 2 ++
 arch/arm/boards/sama5d3xek/Makefile                | 2 ++
 arch/arm/boards/sama5d4_xplained/Makefile          | 2 ++
 arch/arm/boards/sama5d4ek/Makefile                 | 2 ++
 arch/arm/boards/scb9328/Makefile                   | 1 +
 arch/arm/boards/seeed-odyssey/Makefile             | 2 ++
 arch/arm/boards/skov-arm9cpu/Makefile              | 2 ++
 arch/arm/boards/skov-imx6/Makefile                 | 2 ++
 arch/arm/boards/solidrun-cubox/Makefile            | 2 ++
 arch/arm/boards/solidrun-microsom/Makefile         | 2 ++
 arch/arm/boards/stm32mp15x-ev1/Makefile            | 2 ++
 arch/arm/boards/stm32mp15xx-dkx/Makefile           | 2 ++
 arch/arm/boards/technexion-pico-hobbit/Makefile    | 2 ++
 arch/arm/boards/technexion-wandboard/Makefile      | 2 ++
 arch/arm/boards/telit-evk-pro3/Makefile            | 2 ++
 arch/arm/boards/terasic-de0-nano-soc/Makefile      | 2 ++
 arch/arm/boards/terasic-de10-nano/Makefile         | 2 ++
 arch/arm/boards/terasic-sockit/Makefile            | 2 ++
 arch/arm/boards/tny-a926x/Makefile                 | 2 ++
 arch/arm/boards/toradex-colibri-t20/Makefile       | 2 ++
 arch/arm/boards/toshiba-ac100/Makefile             | 2 ++
 arch/arm/boards/tqma53/Makefile                    | 2 ++
 arch/arm/boards/tqma6x/Makefile                    | 2 ++
 arch/arm/boards/tqmls1046a/Makefile                | 2 ++
 arch/arm/boards/turris-omnia/Makefile              | 2 ++
 arch/arm/boards/udoo-neo/Makefile                  | 2 ++
 arch/arm/boards/udoo/Makefile                      | 2 ++
 arch/arm/boards/usb-a926x/Makefile                 | 2 ++
 arch/arm/boards/usi-topkick/Makefile               | 2 ++
 arch/arm/boards/variscite-mx6/Makefile             | 2 ++
 arch/arm/boards/versatile/Kconfig                  | 1 +
 arch/arm/boards/versatile/Makefile                 | 2 ++
 arch/arm/boards/vexpress/Makefile                  | 2 ++
 arch/arm/boards/virt2real/Makefile                 | 2 ++
 arch/arm/boards/vscom-baltos/Makefile              | 2 ++
 arch/arm/boards/wago-pfc-am35xx/Makefile           | 2 ++
 arch/arm/boards/webasto-ccbv2/Makefile             | 2 ++
 arch/arm/boards/zii-common/Makefile                | 2 ++
 arch/arm/boards/zii-imx51-rdu1/Makefile            | 2 ++
 arch/arm/boards/zii-imx6q-rdu2/Makefile            | 2 ++
 arch/arm/boards/zii-imx7d-dev/Makefile             | 2 ++
 arch/arm/boards/zii-imx8mq-dev/Makefile            | 2 ++
 arch/arm/boards/zii-vf610-dev/Makefile             | 2 ++
 arch/arm/boards/zylonite/Makefile                  | 2 ++
 arch/arm/cpu/Kconfig                               | 2 ++
 arch/arm/cpu/Makefile                              | 2 ++
 arch/arm/crypto/Makefile                           | 1 +
 arch/arm/dts/Makefile                              | 2 ++
 arch/arm/lib/Makefile                              | 2 ++
 arch/arm/lib32/Makefile                            | 2 ++
 arch/arm/lib64/Makefile                            | 2 ++
 arch/arm/mach-at91/Kconfig                         | 2 ++
 arch/arm/mach-at91/Makefile                        | 2 ++
 arch/arm/mach-bcm283x/Kconfig                      | 2 ++
 arch/arm/mach-bcm283x/Makefile                     | 2 ++
 arch/arm/mach-clps711x/Kconfig                     | 2 ++
 arch/arm/mach-clps711x/Makefile                    | 2 ++
 arch/arm/mach-davinci/Kconfig                      | 2 ++
 arch/arm/mach-davinci/Makefile                     | 2 ++
 arch/arm/mach-digic/Kconfig                        | 2 ++
 arch/arm/mach-digic/Makefile                       | 2 ++
 arch/arm/mach-ep93xx/Kconfig                       | 2 ++
 arch/arm/mach-ep93xx/Makefile                      | 2 ++
 arch/arm/mach-imx/Kconfig                          | 2 ++
 arch/arm/mach-imx/Makefile                         | 2 ++
 arch/arm/mach-layerscape/Kconfig                   | 2 ++
 arch/arm/mach-layerscape/Makefile                  | 2 ++
 arch/arm/mach-mvebu/Kconfig                        | 2 ++
 arch/arm/mach-mvebu/Makefile                       | 2 ++
 arch/arm/mach-mxs/Kconfig                          | 2 ++
 arch/arm/mach-mxs/Makefile                         | 2 ++
 arch/arm/mach-nomadik/Kconfig                      | 2 ++
 arch/arm/mach-nomadik/Makefile                     | 1 +
 arch/arm/mach-pxa/Kconfig                          | 2 ++
 arch/arm/mach-pxa/Makefile                         | 2 ++
 arch/arm/mach-rockchip/Kconfig                     | 2 ++
 arch/arm/mach-rockchip/Makefile                    | 2 ++
 arch/arm/mach-samsung/Kconfig                      | 2 ++
 arch/arm/mach-samsung/Makefile                     | 2 ++
 arch/arm/mach-socfpga/Kconfig                      | 2 ++
 arch/arm/mach-socfpga/Makefile                     | 2 ++
 arch/arm/mach-stm32mp/Kconfig                      | 2 ++
 arch/arm/mach-stm32mp/Makefile                     | 2 ++
 arch/arm/mach-tegra/Kconfig                        | 2 ++
 arch/arm/mach-tegra/Makefile                       | 2 ++
 arch/arm/mach-uemd/Kconfig                         | 2 ++
 arch/arm/mach-uemd/Makefile                        | 2 ++
 arch/arm/mach-versatile/Kconfig                    | 1 +
 arch/arm/mach-versatile/Makefile                   | 1 +
 arch/arm/mach-vexpress/Kconfig                     | 2 ++
 arch/arm/mach-vexpress/Makefile                    | 2 ++
 arch/arm/mach-zynq/Kconfig                         | 2 ++
 arch/arm/mach-zynq/Makefile                        | 2 ++
 arch/arm/tools/Makefile                            | 2 ++
 arch/kvx/Kconfig                                   | 2 ++
 arch/kvx/Makefile                                  | 2 ++
 arch/kvx/dts/Makefile                              | 2 ++
 arch/mips/Kconfig                                  | 5 ++---
 arch/mips/Makefile                                 | 2 ++
 arch/mips/boards/8devices-lima/Makefile            | 2 ++
 arch/mips/boards/Makefile                          | 2 ++
 arch/mips/boards/black-swift/Makefile              | 2 ++
 arch/mips/boards/dlink-dir-320/Makefile            | 2 ++
 arch/mips/boards/dptechnics-dpt-module/Makefile    | 2 ++
 arch/mips/boards/img-ci20/Makefile                 | 2 ++
 arch/mips/boards/loongson-ls1b/Makefile            | 2 ++
 arch/mips/boards/netgear-wg102/Makefile            | 2 ++
 arch/mips/boards/okud-max9331/Makefile             | 2 ++
 arch/mips/boards/openembed-som9331/Makefile        | 2 ++
 arch/mips/boards/qemu-malta/Makefile               | 2 ++
 arch/mips/boards/ritmix-rzx50/Makefile             | 2 ++
 arch/mips/boards/tplink-mr3020/Makefile            | 2 ++
 arch/mips/boards/tplink-wdr4300/Makefile           | 2 ++
 arch/mips/boot/Makefile                            | 2 ++
 arch/mips/dts/Makefile                             | 2 ++
 arch/mips/lib/Makefile                             | 2 ++
 arch/mips/mach-ar231x/Kconfig                      | 2 ++
 arch/mips/mach-ar231x/Makefile                     | 2 ++
 arch/mips/mach-ath79/Kconfig                       | 2 ++
 arch/mips/mach-ath79/Makefile                      | 2 ++
 arch/mips/mach-bcm47xx/Kconfig                     | 2 ++
 arch/mips/mach-bcm47xx/Makefile                    | 2 ++
 arch/mips/mach-loongson/Kconfig                    | 2 ++
 arch/mips/mach-loongson/Makefile                   | 2 ++
 arch/mips/mach-malta/Kconfig                       | 2 ++
 arch/mips/mach-malta/Makefile                      | 2 ++
 arch/mips/mach-xburst/Kconfig                      | 2 ++
 arch/mips/mach-xburst/Makefile                     | 2 ++
 arch/mips/pbl/Makefile                             | 1 +
 arch/openrisc/Kconfig                              | 2 ++
 arch/openrisc/Makefile                             | 2 ++
 arch/openrisc/boards/generic/Makefile              | 2 ++
 arch/openrisc/cpu/Makefile                         | 2 ++
 arch/openrisc/dts/Makefile                         | 1 +
 arch/openrisc/lib/Makefile                         | 2 ++
 arch/powerpc/Kbuild                                | 2 ++
 arch/powerpc/Kconfig                               | 2 ++
 arch/powerpc/Makefile                              | 2 ++
 arch/powerpc/boards/freescale-p1010rdb/Makefile    | 2 ++
 arch/powerpc/boards/freescale-p1022ds/Makefile     | 2 ++
 arch/powerpc/boards/freescale-p2020rdb/Makefile    | 2 ++
 arch/powerpc/boards/owc-da923rc/Makefile           | 2 ++
 arch/powerpc/boards/pcm030/Makefile                | 2 ++
 arch/powerpc/cpu-85xx/Makefile                     | 2 ++
 arch/powerpc/ddr-8xxx/Makefile                     | 2 ++
 arch/powerpc/lib/Makefile                          | 2 ++
 arch/powerpc/mach-mpc5xxx/Kconfig                  | 2 ++
 arch/powerpc/mach-mpc5xxx/Makefile                 | 2 ++
 arch/powerpc/mach-mpc85xx/Kconfig                  | 2 ++
 arch/powerpc/mach-mpc85xx/Makefile                 | 2 ++
 arch/riscv/Kconfig                                 | 2 ++
 arch/riscv/Kconfig.socs                            | 2 ++
 arch/riscv/Makefile                                | 2 ++
 arch/riscv/boards/riscvemu/Makefile                | 2 ++
 arch/sandbox/Kconfig                               | 2 ++
 arch/sandbox/Makefile                              | 2 ++
 arch/sandbox/board/Makefile                        | 2 ++
 arch/sandbox/dts/Makefile                          | 2 ++
 arch/sandbox/lib/Makefile                          | 2 ++
 arch/sandbox/os/Makefile                           | 2 ++
 arch/x86/Kconfig                                   | 5 ++---
 arch/x86/Makefile                                  | 2 ++
 arch/x86/lib/Makefile                              | 2 ++
 arch/x86/mach-efi/Makefile                         | 2 ++
 common/Kconfig                                     | 2 ++
 common/Makefile                                    | 2 ++
 common/partitions/Kconfig                          | 2 ++
 common/partitions/Makefile                         | 2 ++
 common/ratp/Kconfig                                | 3 ++-
 common/ratp/Makefile                               | 2 ++
 common/state/Makefile                              | 2 ++
 crypto/Kconfig                                     | 2 ++
 crypto/Makefile                                    | 2 ++
 defaultenv/Makefile                                | 2 ++
 firmware/Kconfig                                   | 2 ++
 fs/Kconfig                                         | 1 +
 fs/Makefile                                        | 2 ++
 fs/cramfs/Makefile                                 | 2 ++
 fs/ext4/Kconfig                                    | 2 ++
 fs/ext4/Makefile                                   | 2 ++
 fs/fat/Kconfig                                     | 2 ++
 fs/fat/Makefile                                    | 2 ++
 fs/jffs2/Kconfig                                   | 2 ++
 fs/jffs2/Makefile                                  | 2 ++
 fs/pstore/Kconfig                                  | 2 ++
 fs/pstore/Makefile                                 | 2 ++
 fs/squashfs/Kconfig                                | 2 ++
 fs/squashfs/Makefile                               | 2 ++
 fs/ubifs/Kconfig                                   | 2 ++
 fs/ubifs/Makefile                                  | 2 ++
 images/Makefile                                    | 1 +
 lib/Kconfig                                        | 2 ++
 lib/Makefile                                       | 2 ++
 lib/bootstrap/Kconfig                              | 2 ++
 lib/bootstrap/Makefile                             | 2 ++
 lib/fonts/Kconfig                                  | 2 ++
 lib/fonts/Makefile                                 | 2 ++
 lib/gui/Kconfig                                    | 2 ++
 lib/gui/Makefile                                   | 2 ++
 lib/kasan/Kconfig                                  | 2 ++
 lib/kasan/Makefile                                 | 1 +
 lib/logo/Kconfig                                   | 2 ++
 lib/logo/Makefile                                  | 1 +
 lib/lz4/Makefile                                   | 2 ++
 lib/lzo/Kconfig                                    | 2 ++
 lib/lzo/Makefile                                   | 2 ++
 lib/math/Makefile                                  | 2 ++
 lib/reed_solomon/Makefile                          | 2 ++
 lib/xz/Makefile                                    | 2 ++
 lib/zlib_inflate/Makefile                          | 2 ++
 lib/zstd/Makefile                                  | 2 ++
 net/Kconfig                                        | 2 ++
 net/Makefile                                       | 2 ++
 pbl/Kconfig                                        | 2 ++
 pbl/Makefile                                       | 2 ++
 scripts/Kconfig                                    | 2 ++
 scripts/Makefile                                   | 2 ++
 scripts/imx/Kconfig                                | 2 ++
 scripts/imx/Makefile                               | 2 ++
 scripts/mod/Makefile                               | 2 ++
 scripts/tegra/Makefile                             | 2 ++
 test/Kconfig                                       | 2 ++
 test/Makefile                                      | 2 ++
 356 files changed, 694 insertions(+), 10 deletions(-)

diff --git a/Kconfig b/Kconfig
index 7c4cf36881b4..7e9b892129da 100644
--- a/Kconfig
+++ b/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #
 # For a description of the syntax of this configuration file,
 # see Documentation/kbuild/kconfig-language.txt.
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index b532d3fe2fc2..fecbe392333b 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 config ARM
 	bool
 	select HAS_KALLSYMS
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index f4b0e8d6b68f..610ded8a125e 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 KBUILD_DEFCONFIG := qemu_virt64_defconfig
 
 KBUILD_CPPFLAGS	+= -D__ARM__ -fno-strict-aliasing
diff --git a/arch/arm/boards/Makefile b/arch/arm/boards/Makefile
index 50b07462bb78..6fe1b5991455 100644
--- a/arch/arm/boards/Makefile
+++ b/arch/arm/boards/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 # keep sorted by CONFIG_* macro name.
 obj-$(CONFIG_MACH_ADVANTECH_ROM_742X)		+= advantech-mx6/
 obj-$(CONFIG_MACH_AFI_GF)			+= afi-gf/
diff --git a/arch/arm/boards/a9m2410/Makefile b/arch/arm/boards/a9m2410/Makefile
index 4bf737c1fc9b..6c53eafae249 100644
--- a/arch/arm/boards/a9m2410/Makefile
+++ b/arch/arm/boards/a9m2410/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 lwl-y += lowlevel_init.o
 obj-y += a9m2410.o
diff --git a/arch/arm/boards/a9m2440/Makefile b/arch/arm/boards/a9m2440/Makefile
index f21d389c140d..e32c0aca640e 100644
--- a/arch/arm/boards/a9m2440/Makefile
+++ b/arch/arm/boards/a9m2440/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 lwl-y += lowlevel_init.o
 obj-y += a9m2440.o
diff --git a/arch/arm/boards/ac-sxb/Makefile b/arch/arm/boards/ac-sxb/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/ac-sxb/Makefile
+++ b/arch/arm/boards/ac-sxb/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/advantech-mx6/Makefile b/arch/arm/boards/advantech-mx6/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/advantech-mx6/Makefile
+++ b/arch/arm/boards/advantech-mx6/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/afi-gf/Makefile b/arch/arm/boards/afi-gf/Makefile
index 399a4b8cc00d..8d1041650e9b 100644
--- a/arch/arm/boards/afi-gf/Makefile
+++ b/arch/arm/boards/afi-gf/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
 obj-y += board.o
 bbenv-y += defaultenv-gf
diff --git a/arch/arm/boards/altera-socdk/Makefile b/arch/arm/boards/altera-socdk/Makefile
index 8c927fe291a6..ea898309d720 100644
--- a/arch/arm/boards/altera-socdk/Makefile
+++ b/arch/arm/boards/altera-socdk/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += lowlevel.o board.o
 pbl-y += lowlevel.o
diff --git a/arch/arm/boards/animeo_ip/Makefile b/arch/arm/boards/animeo_ip/Makefile
index 61c714b45d2e..149c41024a12 100644
--- a/arch/arm/boards/animeo_ip/Makefile
+++ b/arch/arm/boards/animeo_ip/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += init.o
 
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/archosg9/Makefile b/arch/arm/boards/archosg9/Makefile
index a78956f4e4d0..790ff623f591 100644
--- a/arch/arm/boards/archosg9/Makefile
+++ b/arch/arm/boards/archosg9/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 obj-$(CONFIG_ARM_BOARD_APPEND_ATAG) += archos_features.o
 lwl-y += lowlevel.o mux.o
diff --git a/arch/arm/boards/at91rm9200ek/Makefile b/arch/arm/boards/at91rm9200ek/Makefile
index a07c06a6d909..da5c1038b25c 100644
--- a/arch/arm/boards/at91rm9200ek/Makefile
+++ b/arch/arm/boards/at91rm9200ek/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += init.o
 
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/at91sam9260ek/Makefile b/arch/arm/boards/at91sam9260ek/Makefile
index 9cc933a28793..7aa83a77366a 100644
--- a/arch/arm/boards/at91sam9260ek/Makefile
+++ b/arch/arm/boards/at91sam9260ek/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += init.o
 
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/at91sam9261ek/Makefile b/arch/arm/boards/at91sam9261ek/Makefile
index e7a9cde419fa..91e0037d6d4b 100644
--- a/arch/arm/boards/at91sam9261ek/Makefile
+++ b/arch/arm/boards/at91sam9261ek/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += init.o
 
 lwl-y += lowlevel_init.o
diff --git a/arch/arm/boards/at91sam9263ek/Makefile b/arch/arm/boards/at91sam9263ek/Makefile
index d4d5e76395be..7f4c1bfac3e3 100644
--- a/arch/arm/boards/at91sam9263ek/Makefile
+++ b/arch/arm/boards/at91sam9263ek/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 ifeq ($(CONFIG_OFDEVICE),)
 obj-y += init.o
 endif
diff --git a/arch/arm/boards/at91sam9m10g45ek/Makefile b/arch/arm/boards/at91sam9m10g45ek/Makefile
index da011f825b6d..291716cbf062 100644
--- a/arch/arm/boards/at91sam9m10g45ek/Makefile
+++ b/arch/arm/boards/at91sam9m10g45ek/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += init.o
 
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/at91sam9m10ihd/Makefile b/arch/arm/boards/at91sam9m10ihd/Makefile
index 06193007ad38..8bf9a102fe36 100644
--- a/arch/arm/boards/at91sam9m10ihd/Makefile
+++ b/arch/arm/boards/at91sam9m10ihd/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += init.o
 obj-y += hw_version.o
 
diff --git a/arch/arm/boards/at91sam9n12ek/Makefile b/arch/arm/boards/at91sam9n12ek/Makefile
index 458b05591814..6ba8b4e38f99 100644
--- a/arch/arm/boards/at91sam9n12ek/Makefile
+++ b/arch/arm/boards/at91sam9n12ek/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += init.o
 
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/at91sam9x5ek/Makefile b/arch/arm/boards/at91sam9x5ek/Makefile
index 4939b7e17e16..c6c1ad967058 100644
--- a/arch/arm/boards/at91sam9x5ek/Makefile
+++ b/arch/arm/boards/at91sam9x5ek/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += init.o
 obj-y += hw_version.o
 bbenv-$(CONFIG_DEFAULT_ENVIRONMENT_GENERIC) += defaultenv-at91sam9x5ek
diff --git a/arch/arm/boards/avnet-zedboard/Makefile b/arch/arm/boards/avnet-zedboard/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/avnet-zedboard/Makefile
+++ b/arch/arm/boards/avnet-zedboard/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/beagle/Makefile b/arch/arm/boards/beagle/Makefile
index 3bee9a22ab4a..e273f4a3dace 100644
--- a/arch/arm/boards/beagle/Makefile
+++ b/arch/arm/boards/beagle/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
 bbenv-y += defaultenv-beagle
diff --git a/arch/arm/boards/beaglebone/Makefile b/arch/arm/boards/beaglebone/Makefile
index 21a1a29d0b48..108e481be3b0 100644
--- a/arch/arm/boards/beaglebone/Makefile
+++ b/arch/arm/boards/beaglebone/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
 obj-y += board.o
 bbenv-y += defaultenv-beaglebone
diff --git a/arch/arm/boards/boundarydevices-nitrogen6/Makefile b/arch/arm/boards/boundarydevices-nitrogen6/Makefile
index 0ec04ce8986e..b365c8eab067 100644
--- a/arch/arm/boards/boundarydevices-nitrogen6/Makefile
+++ b/arch/arm/boards/boundarydevices-nitrogen6/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o 
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/canon-a1100/Makefile b/arch/arm/boards/canon-a1100/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/arm/boards/canon-a1100/Makefile
+++ b/arch/arm/boards/canon-a1100/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/ccxmx51/Makefile b/arch/arm/boards/ccxmx51/Makefile
index 50cf929c5d49..9fbde144a5f7 100644
--- a/arch/arm/boards/ccxmx51/Makefile
+++ b/arch/arm/boards/ccxmx51/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y					+= ccxmx51.o
 lwl-y					+= lowlevel.o
 bbenv-$(CONFIG_DEFAULT_ENVIRONMENT)	+= defaultenv-ccxmx51
diff --git a/arch/arm/boards/ccxmx53/Makefile b/arch/arm/boards/ccxmx53/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/ccxmx53/Makefile
+++ b/arch/arm/boards/ccxmx53/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/chumby_falconwing/Makefile b/arch/arm/boards/chumby_falconwing/Makefile
index cf92c6a9eafe..6aaff6cdf72d 100644
--- a/arch/arm/boards/chumby_falconwing/Makefile
+++ b/arch/arm/boards/chumby_falconwing/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y = falconwing.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/clep7212/Makefile b/arch/arm/boards/clep7212/Makefile
index a5001df9b5d5..096120e56772 100644
--- a/arch/arm/boards/clep7212/Makefile
+++ b/arch/arm/boards/clep7212/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += clep7212.o
 lwl-y += lowlevel.o
 bbenv-y += defaultenv-clep7212
diff --git a/arch/arm/boards/cm-fx6/Makefile b/arch/arm/boards/cm-fx6/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/cm-fx6/Makefile
+++ b/arch/arm/boards/cm-fx6/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/crystalfontz-cfa10036/Makefile b/arch/arm/boards/crystalfontz-cfa10036/Makefile
index 5b764a698106..3cd1cecaa722 100644
--- a/arch/arm/boards/crystalfontz-cfa10036/Makefile
+++ b/arch/arm/boards/crystalfontz-cfa10036/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += cfa10036.o hwdetect.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/datamodul-edm-qmx6/Makefile b/arch/arm/boards/datamodul-edm-qmx6/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/datamodul-edm-qmx6/Makefile
+++ b/arch/arm/boards/datamodul-edm-qmx6/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/dfi-fs700-m60/Makefile b/arch/arm/boards/dfi-fs700-m60/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/dfi-fs700-m60/Makefile
+++ b/arch/arm/boards/dfi-fs700-m60/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/digi-ccimx6ulsom/Makefile b/arch/arm/boards/digi-ccimx6ulsom/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/digi-ccimx6ulsom/Makefile
+++ b/arch/arm/boards/digi-ccimx6ulsom/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/dss11/Makefile b/arch/arm/boards/dss11/Makefile
index e11fd5b6924e..d59545033d21 100644
--- a/arch/arm/boards/dss11/Makefile
+++ b/arch/arm/boards/dss11/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += init.o
 
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/duckbill/Makefile b/arch/arm/boards/duckbill/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/duckbill/Makefile
+++ b/arch/arm/boards/duckbill/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/ebv-socrates/Makefile b/arch/arm/boards/ebv-socrates/Makefile
index 8c927fe291a6..ea898309d720 100644
--- a/arch/arm/boards/ebv-socrates/Makefile
+++ b/arch/arm/boards/ebv-socrates/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += lowlevel.o board.o
 pbl-y += lowlevel.o
diff --git a/arch/arm/boards/edb93xx/Makefile b/arch/arm/boards/edb93xx/Makefile
index eec5ed265801..be969bde201b 100644
--- a/arch/arm/boards/edb93xx/Makefile
+++ b/arch/arm/boards/edb93xx/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 obj-y += edb93xx.o
 lwl-y += flash_cfg.o pll_cfg.o sdram_cfg.o
diff --git a/arch/arm/boards/efika-mx-smartbook/Makefile b/arch/arm/boards/efika-mx-smartbook/Makefile
index 73d7b9696cf4..497da461efba 100644
--- a/arch/arm/boards/efika-mx-smartbook/Makefile
+++ b/arch/arm/boards/efika-mx-smartbook/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
 bbenv-y += defaultenv-efikasb
diff --git a/arch/arm/boards/element14-warp7/Makefile b/arch/arm/boards/element14-warp7/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/element14-warp7/Makefile
+++ b/arch/arm/boards/element14-warp7/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/eltec-hipercam/Makefile b/arch/arm/boards/eltec-hipercam/Makefile
index 092c31d6b28d..5678718188b9 100644
--- a/arch/arm/boards/eltec-hipercam/Makefile
+++ b/arch/arm/boards/eltec-hipercam/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
 obj-y += board.o
diff --git a/arch/arm/boards/embedsky-e9/Makefile b/arch/arm/boards/embedsky-e9/Makefile
index 86afde47fbf4..116bbfb4c2bf 100644
--- a/arch/arm/boards/embedsky-e9/Makefile
+++ b/arch/arm/boards/embedsky-e9/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
 bbenv-y += defaultenv-e9
diff --git a/arch/arm/boards/embest-marsboard/Makefile b/arch/arm/boards/embest-marsboard/Makefile
index ef5219444c0e..eaa6ace2f43f 100644
--- a/arch/arm/boards/embest-marsboard/Makefile
+++ b/arch/arm/boards/embest-marsboard/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
 bbenv-y += defaultenv-mars
diff --git a/arch/arm/boards/embest-riotboard/Makefile b/arch/arm/boards/embest-riotboard/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/embest-riotboard/Makefile
+++ b/arch/arm/boards/embest-riotboard/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/eukrea_cpuimx27/Makefile b/arch/arm/boards/eukrea_cpuimx27/Makefile
index 2c3148abd085..6b6de4e87dc1 100644
--- a/arch/arm/boards/eukrea_cpuimx27/Makefile
+++ b/arch/arm/boards/eukrea_cpuimx27/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 lwl-y += lowlevel_init.o
 obj-y += eukrea_cpuimx27.o
diff --git a/arch/arm/boards/eukrea_cpuimx51/Makefile b/arch/arm/boards/eukrea_cpuimx51/Makefile
index e8c84fe17da0..77bd4cc87ac9 100644
--- a/arch/arm/boards/eukrea_cpuimx51/Makefile
+++ b/arch/arm/boards/eukrea_cpuimx51/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += eukrea_cpuimx51.o
 lwl-y += lowlevel.o
 bbenv-$(CONFIG_DEFAULT_ENVIRONMENT_GENERIC) += defaultenv-eukrea_cpuimx51
diff --git a/arch/arm/boards/freescale-mx21-ads/Makefile b/arch/arm/boards/freescale-mx21-ads/Makefile
index a43425b9ea8b..3e809a8c5927 100644
--- a/arch/arm/boards/freescale-mx21-ads/Makefile
+++ b/arch/arm/boards/freescale-mx21-ads/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel_init.o
 obj-y += imx21ads.o
diff --git a/arch/arm/boards/freescale-mx23-evk/Makefile b/arch/arm/boards/freescale-mx23-evk/Makefile
index 3e0026252cbd..7723ad93b091 100644
--- a/arch/arm/boards/freescale-mx23-evk/Makefile
+++ b/arch/arm/boards/freescale-mx23-evk/Makefile
@@ -1,3 +1,4 @@
-#
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y := mx23-evk.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/freescale-mx27-ads/Makefile b/arch/arm/boards/freescale-mx27-ads/Makefile
index 398db9b6b971..9fd43dd984cc 100644
--- a/arch/arm/boards/freescale-mx27-ads/Makefile
+++ b/arch/arm/boards/freescale-mx27-ads/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 lwl-y += lowlevel_init.o
 obj-y += imx27ads.o
diff --git a/arch/arm/boards/freescale-mx28-evk/Makefile b/arch/arm/boards/freescale-mx28-evk/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/freescale-mx28-evk/Makefile
+++ b/arch/arm/boards/freescale-mx28-evk/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/freescale-mx35-3ds/Makefile b/arch/arm/boards/freescale-mx35-3ds/Makefile
index c192854f0bec..e33babb4b3c7 100644
--- a/arch/arm/boards/freescale-mx35-3ds/Makefile
+++ b/arch/arm/boards/freescale-mx35-3ds/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y					+= 3stack.o
 lwl-y					+= lowlevel_init.o
 bbenv-$(CONFIG_DEFAULT_ENVIRONMENT_GENERIC) += defaultenv-freescale-mx35-3ds
diff --git a/arch/arm/boards/freescale-mx51-babbage/Makefile b/arch/arm/boards/freescale-mx51-babbage/Makefile
index b6e085818fdf..aed38f2eaa8f 100644
--- a/arch/arm/boards/freescale-mx51-babbage/Makefile
+++ b/arch/arm/boards/freescale-mx51-babbage/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_MACH_FREESCALE_MX51_PDK_POWER) += power.o
 obj-$(CONFIG_MACH_FREESCALE_MX51_PDK) += board.o
 lwl-$(CONFIG_MACH_FREESCALE_MX51_PDK) += lowlevel.o
diff --git a/arch/arm/boards/freescale-mx53-qsb/Makefile b/arch/arm/boards/freescale-mx53-qsb/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/freescale-mx53-qsb/Makefile
+++ b/arch/arm/boards/freescale-mx53-qsb/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/freescale-mx53-smd/Makefile b/arch/arm/boards/freescale-mx53-smd/Makefile
index 98ed2753962e..9e7882a5db6c 100644
--- a/arch/arm/boards/freescale-mx53-smd/Makefile
+++ b/arch/arm/boards/freescale-mx53-smd/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
 bbenv-$(CONFIG_DEFAULT_ENVIRONMENT_GENERIC) += defaultenv-freescale-mx53-smd
diff --git a/arch/arm/boards/freescale-mx53-vmx53/Makefile b/arch/arm/boards/freescale-mx53-vmx53/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/freescale-mx53-vmx53/Makefile
+++ b/arch/arm/boards/freescale-mx53-vmx53/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/freescale-mx6-sabrelite/Makefile b/arch/arm/boards/freescale-mx6-sabrelite/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/freescale-mx6-sabrelite/Makefile
+++ b/arch/arm/boards/freescale-mx6-sabrelite/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/freescale-mx6-sabresd/Makefile b/arch/arm/boards/freescale-mx6-sabresd/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/freescale-mx6-sabresd/Makefile
+++ b/arch/arm/boards/freescale-mx6-sabresd/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/freescale-mx6sx-sabresdb/Makefile b/arch/arm/boards/freescale-mx6sx-sabresdb/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/freescale-mx6sx-sabresdb/Makefile
+++ b/arch/arm/boards/freescale-mx6sx-sabresdb/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/freescale-mx7-sabresd/Makefile b/arch/arm/boards/freescale-mx7-sabresd/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/freescale-mx7-sabresd/Makefile
+++ b/arch/arm/boards/freescale-mx7-sabresd/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/freescale-vf610-twr/Makefile b/arch/arm/boards/freescale-vf610-twr/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/arm/boards/freescale-vf610-twr/Makefile
+++ b/arch/arm/boards/freescale-vf610-twr/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/friendlyarm-mini2440/Kconfig b/arch/arm/boards/friendlyarm-mini2440/Kconfig
index feb905e96e33..1037f7c77ddd 100644
--- a/arch/arm/boards/friendlyarm-mini2440/Kconfig
+++ b/arch/arm/boards/friendlyarm-mini2440/Kconfig
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 if MACH_MINI2440
 
diff --git a/arch/arm/boards/friendlyarm-mini2440/Makefile b/arch/arm/boards/friendlyarm-mini2440/Makefile
index da3520cc816c..618828126cf7 100644
--- a/arch/arm/boards/friendlyarm-mini2440/Makefile
+++ b/arch/arm/boards/friendlyarm-mini2440/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 
 obj-y += mini2440.o
 lwl-y += lowlevel_init.o
diff --git a/arch/arm/boards/friendlyarm-mini6410/Makefile b/arch/arm/boards/friendlyarm-mini6410/Makefile
index c04150e97ff3..2e6ea7aa7e5c 100644
--- a/arch/arm/boards/friendlyarm-mini6410/Makefile
+++ b/arch/arm/boards/friendlyarm-mini6410/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += mini6410.o
 lwl-y += lowlevel.o
 bbenv-$(CONFIG_DEFAULT_ENVIRONMENT_GENERIC) += defaultenv-friendlyarm-mini6410
diff --git a/arch/arm/boards/friendlyarm-tiny210/Makefile b/arch/arm/boards/friendlyarm-tiny210/Makefile
index 7deb178739c5..d026a7ed4775 100644
--- a/arch/arm/boards/friendlyarm-tiny210/Makefile
+++ b/arch/arm/boards/friendlyarm-tiny210/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += tiny210.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/friendlyarm-tiny6410/Kconfig b/arch/arm/boards/friendlyarm-tiny6410/Kconfig
index 374820f8b351..1283b8e7d922 100644
--- a/arch/arm/boards/friendlyarm-tiny6410/Kconfig
+++ b/arch/arm/boards/friendlyarm-tiny6410/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if MACH_TINY6410
 
 choice
diff --git a/arch/arm/boards/friendlyarm-tiny6410/Makefile b/arch/arm/boards/friendlyarm-tiny6410/Makefile
index ba3f3360f8f6..f0b868d67fed 100644
--- a/arch/arm/boards/friendlyarm-tiny6410/Makefile
+++ b/arch/arm/boards/friendlyarm-tiny6410/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += tiny6410.o
 lwl-y += lowlevel.o
 lwl-$(CONFIG_MACH_TINY6410_FA) += development-board.o
diff --git a/arch/arm/boards/gateworks-ventana/Makefile b/arch/arm/boards/gateworks-ventana/Makefile
index 7d195eebd642..4e1cefbc4c94 100644
--- a/arch/arm/boards/gateworks-ventana/Makefile
+++ b/arch/arm/boards/gateworks-ventana/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o gsc.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/gk802/Makefile b/arch/arm/boards/gk802/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/gk802/Makefile
+++ b/arch/arm/boards/gk802/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/globalscale-guruplug/Makefile b/arch/arm/boards/globalscale-guruplug/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/arm/boards/globalscale-guruplug/Makefile
+++ b/arch/arm/boards/globalscale-guruplug/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/globalscale-mirabox/Makefile b/arch/arm/boards/globalscale-mirabox/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/arm/boards/globalscale-mirabox/Makefile
+++ b/arch/arm/boards/globalscale-mirabox/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/grinn-liteboard/Makefile b/arch/arm/boards/grinn-liteboard/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/grinn-liteboard/Makefile
+++ b/arch/arm/boards/grinn-liteboard/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/guf-neso/Makefile b/arch/arm/boards/guf-neso/Makefile
index af90c36c7e62..8d304e4afb41 100644
--- a/arch/arm/boards/guf-neso/Makefile
+++ b/arch/arm/boards/guf-neso/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
 obj-y += board.o
 obj-y += pll_init.o
diff --git a/arch/arm/boards/guf-santaro/Makefile b/arch/arm/boards/guf-santaro/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/guf-santaro/Makefile
+++ b/arch/arm/boards/guf-santaro/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/guf-vincell/Makefile b/arch/arm/boards/guf-vincell/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/guf-vincell/Makefile
+++ b/arch/arm/boards/guf-vincell/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/haba-knx/Makefile b/arch/arm/boards/haba-knx/Makefile
index b1c469dcf9a6..f2cf1123ed7a 100644
--- a/arch/arm/boards/haba-knx/Makefile
+++ b/arch/arm/boards/haba-knx/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += init.o
 
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/imx233-olinuxino/Makefile b/arch/arm/boards/imx233-olinuxino/Makefile
index 987b34394aa4..1288c8c1ded3 100644
--- a/arch/arm/boards/imx233-olinuxino/Makefile
+++ b/arch/arm/boards/imx233-olinuxino/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y = imx23-olinuxino.o
 lwl-y += lowlevel.o
 bbenv-y += defaultenv-imx233-olinuxino
diff --git a/arch/arm/boards/kamstrup-mx7-concentrator/Makefile b/arch/arm/boards/kamstrup-mx7-concentrator/Makefile
index 7ab9f5274768..458f5209008d 100644
--- a/arch/arm/boards/kamstrup-mx7-concentrator/Makefile
+++ b/arch/arm/boards/kamstrup-mx7-concentrator/Makefile
@@ -1 +1,3 @@
-lwl-y += lowlevel.o
\ No newline at end of file
+# SPDX-License-Identifier: GPL-2.0-only
+
+lwl-y += lowlevel.o
diff --git a/arch/arm/boards/karo-tx28/Makefile b/arch/arm/boards/karo-tx28/Makefile
index c7d7398cf3d4..b13ffc8f3c6e 100644
--- a/arch/arm/boards/karo-tx28/Makefile
+++ b/arch/arm/boards/karo-tx28/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += tx28.o
 obj-$(CONFIG_MACH_TX28STK5) += tx28-stk5.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/karo-tx53/Makefile b/arch/arm/boards/karo-tx53/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/karo-tx53/Makefile
+++ b/arch/arm/boards/karo-tx53/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/karo-tx6x/Makefile b/arch/arm/boards/karo-tx6x/Makefile
index 51b7c2d449d8..bfd7eed20a0a 100644
--- a/arch/arm/boards/karo-tx6x/Makefile
+++ b/arch/arm/boards/karo-tx6x/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
 obj-y += pmic-ltc3676.o pmic-rn5t567.o pmic-rn5t618.o
diff --git a/arch/arm/boards/kindle-mx50/Makefile b/arch/arm/boards/kindle-mx50/Makefile
index 2cc614a8785b..14cf83793d89 100644
--- a/arch/arm/boards/kindle-mx50/Makefile
+++ b/arch/arm/boards/kindle-mx50/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
 bbenv-y += defaultenv-kindle-mx50
diff --git a/arch/arm/boards/kindle3/Makefile b/arch/arm/boards/kindle3/Makefile
index 86c746240e28..75a0ff560f26 100644
--- a/arch/arm/boards/kindle3/Makefile
+++ b/arch/arm/boards/kindle3/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += kindle3.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/kontron-samx6i/Makefile b/arch/arm/boards/kontron-samx6i/Makefile
index 816962241a5f..d753ff5f1813 100644
--- a/arch/arm/boards/kontron-samx6i/Makefile
+++ b/arch/arm/boards/kontron-samx6i/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o mem.o
 lwl-y += lowlevel.o mem.o
diff --git a/arch/arm/boards/lenovo-ix4-300d/Makefile b/arch/arm/boards/lenovo-ix4-300d/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/arm/boards/lenovo-ix4-300d/Makefile
+++ b/arch/arm/boards/lenovo-ix4-300d/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/ls1046ardb/Makefile b/arch/arm/boards/ls1046ardb/Makefile
index 03ac4ecca3dd..829be5327aed 100644
--- a/arch/arm/boards/ls1046ardb/Makefile
+++ b/arch/arm/boards/ls1046ardb/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
 obj-y += board.o
 lwl-y += start.o
diff --git a/arch/arm/boards/lubbock/Makefile b/arch/arm/boards/lubbock/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/lubbock/Makefile
+++ b/arch/arm/boards/lubbock/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/lxa-mc1/Makefile b/arch/arm/boards/lxa-mc1/Makefile
index 092c31d6b28d..5678718188b9 100644
--- a/arch/arm/boards/lxa-mc1/Makefile
+++ b/arch/arm/boards/lxa-mc1/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
 obj-y += board.o
diff --git a/arch/arm/boards/mainstone/Makefile b/arch/arm/boards/mainstone/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/mainstone/Makefile
+++ b/arch/arm/boards/mainstone/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/marvell-armada-xp-db/Makefile b/arch/arm/boards/marvell-armada-xp-db/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/marvell-armada-xp-db/Makefile
+++ b/arch/arm/boards/marvell-armada-xp-db/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/marvell-armada-xp-gp/Makefile b/arch/arm/boards/marvell-armada-xp-gp/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/arm/boards/marvell-armada-xp-gp/Makefile
+++ b/arch/arm/boards/marvell-armada-xp-gp/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/microchip-ksz9477-evb/Makefile b/arch/arm/boards/microchip-ksz9477-evb/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/arm/boards/microchip-ksz9477-evb/Makefile
+++ b/arch/arm/boards/microchip-ksz9477-evb/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/mioa701/Makefile b/arch/arm/boards/mioa701/Makefile
index 3072706237d6..bf17869fb2ac 100644
--- a/arch/arm/boards/mioa701/Makefile
+++ b/arch/arm/boards/mioa701/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o gpio0_poweroff.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/mnt-reform/Makefile b/arch/arm/boards/mnt-reform/Makefile
index a3da88fbe68f..35d8640087b1 100644
--- a/arch/arm/boards/mnt-reform/Makefile
+++ b/arch/arm/boards/mnt-reform/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
-lwl-y += lowlevel.o lpddr4-timing.o
\ No newline at end of file
+lwl-y += lowlevel.o lpddr4-timing.o
diff --git a/arch/arm/boards/module-mb7707/Makefile b/arch/arm/boards/module-mb7707/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/module-mb7707/Makefile
+++ b/arch/arm/boards/module-mb7707/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/netgear-rn104/Makefile b/arch/arm/boards/netgear-rn104/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/arm/boards/netgear-rn104/Makefile
+++ b/arch/arm/boards/netgear-rn104/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/netgear-rn2120/Makefile b/arch/arm/boards/netgear-rn2120/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/netgear-rn2120/Makefile
+++ b/arch/arm/boards/netgear-rn2120/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/nhk8815/Makefile b/arch/arm/boards/nhk8815/Makefile
index 56f2013e2254..0367fa7dd5da 100644
--- a/arch/arm/boards/nhk8815/Makefile
+++ b/arch/arm/boards/nhk8815/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += setup.o
 lwl-y += lowlevel.o
 bbenv-$(CONFIG_DEFAULT_ENVIRONMENT_GENERIC) += defaultenv-nhk8815
diff --git a/arch/arm/boards/nvidia-beaver/Makefile b/arch/arm/boards/nvidia-beaver/Makefile
index 1b90eb13fdd0..6485e5d2da77 100644
--- a/arch/arm/boards/nvidia-beaver/Makefile
+++ b/arch/arm/boards/nvidia-beaver/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 CFLAGS_entry.pbl.o := -mcpu=arm7tdmi -march=armv4t
 soc := tegra30
 lwl-y += entry.o
diff --git a/arch/arm/boards/nvidia-jetson-tk1/Makefile b/arch/arm/boards/nvidia-jetson-tk1/Makefile
index d38001c15890..7d9402f9b345 100644
--- a/arch/arm/boards/nvidia-jetson-tk1/Makefile
+++ b/arch/arm/boards/nvidia-jetson-tk1/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 CFLAGS_entry.pbl.o := -mcpu=arm7tdmi -march=armv4t
 soc := tegra124
 lwl-y += entry.o
diff --git a/arch/arm/boards/nxp-imx6ull-evk/Makefile b/arch/arm/boards/nxp-imx6ull-evk/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/nxp-imx6ull-evk/Makefile
+++ b/arch/arm/boards/nxp-imx6ull-evk/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/nxp-imx8mm-evk/Makefile b/arch/arm/boards/nxp-imx8mm-evk/Makefile
index 4d0d9890153b..35d8640087b1 100644
--- a/arch/arm/boards/nxp-imx8mm-evk/Makefile
+++ b/arch/arm/boards/nxp-imx8mm-evk/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o lpddr4-timing.o
diff --git a/arch/arm/boards/nxp-imx8mn-evk/Makefile b/arch/arm/boards/nxp-imx8mn-evk/Makefile
index 4b13ff3b94e4..d74c5845ef7d 100644
--- a/arch/arm/boards/nxp-imx8mn-evk/Makefile
+++ b/arch/arm/boards/nxp-imx8mn-evk/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o ddr4-timing.o lpddr4-timing.o
diff --git a/arch/arm/boards/nxp-imx8mp-evk/Makefile b/arch/arm/boards/nxp-imx8mp-evk/Makefile
index 4d0d9890153b..35d8640087b1 100644
--- a/arch/arm/boards/nxp-imx8mp-evk/Makefile
+++ b/arch/arm/boards/nxp-imx8mp-evk/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o lpddr4-timing.o
diff --git a/arch/arm/boards/nxp-imx8mq-evk/Makefile b/arch/arm/boards/nxp-imx8mq-evk/Makefile
index 2995f06f0fd9..17d769f3309b 100644
--- a/arch/arm/boards/nxp-imx8mq-evk/Makefile
+++ b/arch/arm/boards/nxp-imx8mq-evk/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o ddr_init.o ddrphy_train.o
diff --git a/arch/arm/boards/omap343xdsp/Makefile b/arch/arm/boards/omap343xdsp/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/omap343xdsp/Makefile
+++ b/arch/arm/boards/omap343xdsp/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/omap3evm/Makefile b/arch/arm/boards/omap3evm/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/omap3evm/Makefile
+++ b/arch/arm/boards/omap3evm/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/panda/Makefile b/arch/arm/boards/panda/Makefile
index 5d4eb10b9b1b..3bd91350ce8b 100644
--- a/arch/arm/boards/panda/Makefile
+++ b/arch/arm/boards/panda/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o mux.o
diff --git a/arch/arm/boards/phytec-phycard-imx27/Makefile b/arch/arm/boards/phytec-phycard-imx27/Makefile
index 34492bb127b4..0e6411d58809 100644
--- a/arch/arm/boards/phytec-phycard-imx27/Makefile
+++ b/arch/arm/boards/phytec-phycard-imx27/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 lwl-y += lowlevel.o
 obj-y += pca100.o
diff --git a/arch/arm/boards/phytec-phycore-imx27/Makefile b/arch/arm/boards/phytec-phycore-imx27/Makefile
index 4723c77818f2..ce7b990407ce 100644
--- a/arch/arm/boards/phytec-phycore-imx27/Makefile
+++ b/arch/arm/boards/phytec-phycore-imx27/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y	+= pcm038.o pcm970.o
 lwl-y	+= lowlevel.o
 bbenv-y += defaultenv-pcm038
diff --git a/arch/arm/boards/phytec-phycore-imx7/Makefile b/arch/arm/boards/phytec-phycore-imx7/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/phytec-phycore-imx7/Makefile
+++ b/arch/arm/boards/phytec-phycore-imx7/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/phytec-phycore-omap4460/Makefile b/arch/arm/boards/phytec-phycore-omap4460/Makefile
index 5e78e11ec133..c5d3950bc3c7 100644
--- a/arch/arm/boards/phytec-phycore-omap4460/Makefile
+++ b/arch/arm/boards/phytec-phycore-omap4460/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o mux.o
 bbenv-$(CONFIG_DEFAULT_ENVIRONMENT_GENERIC) += defaultenv-phytec-phycore-omap4460
diff --git a/arch/arm/boards/phytec-phycore-pxa270/Makefile b/arch/arm/boards/phytec-phycore-pxa270/Makefile
index 040cf93944ee..e00d1cfd7f70 100644
--- a/arch/arm/boards/phytec-phycore-pxa270/Makefile
+++ b/arch/arm/boards/phytec-phycore-pxa270/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel_init.o
diff --git a/arch/arm/boards/phytec-som-am335x/Kconfig b/arch/arm/boards/phytec-som-am335x/Kconfig
index 52fa723a21a1..054a1d219f83 100644
--- a/arch/arm/boards/phytec-som-am335x/Kconfig
+++ b/arch/arm/boards/phytec-som-am335x/Kconfig
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 if MACH_PHYTEC_SOM_AM335X
 
diff --git a/arch/arm/boards/phytec-som-am335x/Makefile b/arch/arm/boards/phytec-som-am335x/Makefile
index 78397bd59fdf..82dd631c9f08 100644
--- a/arch/arm/boards/phytec-som-am335x/Makefile
+++ b/arch/arm/boards/phytec-som-am335x/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
 obj-y += board.o
 bbenv-y += defaultenv-physom-am335x
diff --git a/arch/arm/boards/phytec-som-imx6/Makefile b/arch/arm/boards/phytec-som-imx6/Makefile
index 73456aed8bf7..0780da79b9b3 100644
--- a/arch/arm/boards/phytec-som-imx6/Makefile
+++ b/arch/arm/boards/phytec-som-imx6/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
 bbenv-y += defaultenv-physom-imx6
diff --git a/arch/arm/boards/phytec-som-imx8mq/Makefile b/arch/arm/boards/phytec-som-imx8mq/Makefile
index 2995f06f0fd9..17d769f3309b 100644
--- a/arch/arm/boards/phytec-som-imx8mq/Makefile
+++ b/arch/arm/boards/phytec-som-imx8mq/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o ddr_init.o ddrphy_train.o
diff --git a/arch/arm/boards/phytec-som-rk3288/Makefile b/arch/arm/boards/phytec-som-rk3288/Makefile
index 6f34c9a2f21e..e4ba704dea09 100644
--- a/arch/arm/boards/phytec-som-rk3288/Makefile
+++ b/arch/arm/boards/phytec-som-rk3288/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
 bbenv-y += defaultenv-physom-rk3288
diff --git a/arch/arm/boards/plathome-openblocks-a6/Makefile b/arch/arm/boards/plathome-openblocks-a6/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/arm/boards/plathome-openblocks-a6/Makefile
+++ b/arch/arm/boards/plathome-openblocks-a6/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/plathome-openblocks-ax3/Makefile b/arch/arm/boards/plathome-openblocks-ax3/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/arm/boards/plathome-openblocks-ax3/Makefile
+++ b/arch/arm/boards/plathome-openblocks-ax3/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/pm9261/Makefile b/arch/arm/boards/pm9261/Makefile
index e9bf1212fe04..5b501a548fd5 100644
--- a/arch/arm/boards/pm9261/Makefile
+++ b/arch/arm/boards/pm9261/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += init.o
 
 lwl-y += lowlevel_init.o
diff --git a/arch/arm/boards/pm9263/Makefile b/arch/arm/boards/pm9263/Makefile
index 68bfbfa92695..7220ee11f357 100644
--- a/arch/arm/boards/pm9263/Makefile
+++ b/arch/arm/boards/pm9263/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += init.o
 
 lwl-y += lowlevel_init.o
diff --git a/arch/arm/boards/pm9g45/Makefile b/arch/arm/boards/pm9g45/Makefile
index abf50243e540..148ae4a2521c 100644
--- a/arch/arm/boards/pm9g45/Makefile
+++ b/arch/arm/boards/pm9g45/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += init.o
 
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/protonic-imx6/Makefile b/arch/arm/boards/protonic-imx6/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/protonic-imx6/Makefile
+++ b/arch/arm/boards/protonic-imx6/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/protonic-imx8m/Makefile b/arch/arm/boards/protonic-imx8m/Makefile
index 51a27f0c2dfd..18da0f5a4415 100644
--- a/arch/arm/boards/protonic-imx8m/Makefile
+++ b/arch/arm/boards/protonic-imx8m/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel-prt8mm.o lpddr4-timing-prt8mm.o
 bbenv-y += defaultenv-prt8m
diff --git a/arch/arm/boards/protonic-stm32mp1/Makefile b/arch/arm/boards/protonic-stm32mp1/Makefile
index 092c31d6b28d..5678718188b9 100644
--- a/arch/arm/boards/protonic-stm32mp1/Makefile
+++ b/arch/arm/boards/protonic-stm32mp1/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
 obj-y += board.o
diff --git a/arch/arm/boards/qemu-virt/Makefile b/arch/arm/boards/qemu-virt/Makefile
index dcfc2937d325..ad283446eaf1 100644
--- a/arch/arm/boards/qemu-virt/Makefile
+++ b/arch/arm/boards/qemu-virt/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
diff --git a/arch/arm/boards/qil-a926x/Makefile b/arch/arm/boards/qil-a926x/Makefile
index 82e46b369f41..bf5ed8b4f4c5 100644
--- a/arch/arm/boards/qil-a926x/Makefile
+++ b/arch/arm/boards/qil-a926x/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += init.o
 
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/radxa-rock/Makefile b/arch/arm/boards/radxa-rock/Makefile
index ec930bc264e7..79d3969dcde1 100644
--- a/arch/arm/boards/radxa-rock/Makefile
+++ b/arch/arm/boards/radxa-rock/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_MACH_RADXA_ROCK) += board.o
 lwl-y += lowlevel.o
 bbenv-y += defaultenv-radxa-rock
diff --git a/arch/arm/boards/raspberry-pi/Makefile b/arch/arm/boards/raspberry-pi/Makefile
index ddcf015f0848..6f995b564017 100644
--- a/arch/arm/boards/raspberry-pi/Makefile
+++ b/arch/arm/boards/raspberry-pi/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_MACH_RPI_COMMON) += rpi-common.o
 lwl-y += lowlevel.o
 bbenv-y += defaultenv-rpi
diff --git a/arch/arm/boards/reflex-achilles/Makefile b/arch/arm/boards/reflex-achilles/Makefile
index 092c31d6b28d..5678718188b9 100644
--- a/arch/arm/boards/reflex-achilles/Makefile
+++ b/arch/arm/boards/reflex-achilles/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
 obj-y += board.o
diff --git a/arch/arm/boards/rockchip-rk3568-evb/Makefile b/arch/arm/boards/rockchip-rk3568-evb/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/rockchip-rk3568-evb/Makefile
+++ b/arch/arm/boards/rockchip-rk3568-evb/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/sama5d27-giantboard/Makefile b/arch/arm/boards/sama5d27-giantboard/Makefile
index f5869c483978..e2c6a3adf671 100644
--- a/arch/arm/boards/sama5d27-giantboard/Makefile
+++ b/arch/arm/boards/sama5d27-giantboard/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
 obj-y += board.o
 bbenv-y += defaultenv-giantboard
diff --git a/arch/arm/boards/sama5d27-som1/Makefile b/arch/arm/boards/sama5d27-som1/Makefile
index 092c31d6b28d..5678718188b9 100644
--- a/arch/arm/boards/sama5d27-som1/Makefile
+++ b/arch/arm/boards/sama5d27-som1/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
 obj-y += board.o
diff --git a/arch/arm/boards/sama5d3_xplained/Makefile b/arch/arm/boards/sama5d3_xplained/Makefile
index e5c86e58957e..b7d6b2e7fa89 100644
--- a/arch/arm/boards/sama5d3_xplained/Makefile
+++ b/arch/arm/boards/sama5d3_xplained/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
 bbenv-$(CONFIG_DEFAULT_ENVIRONMENT_GENERIC) += defaultenv-sama5d3_xplained
diff --git a/arch/arm/boards/sama5d3xek/Makefile b/arch/arm/boards/sama5d3xek/Makefile
index 6ed914fc0a47..9691f0791702 100644
--- a/arch/arm/boards/sama5d3xek/Makefile
+++ b/arch/arm/boards/sama5d3xek/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += init.o
 obj-$(CONFIG_W1) += hw_version.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/sama5d4_xplained/Makefile b/arch/arm/boards/sama5d4_xplained/Makefile
index 8873dfc22c44..eece4cc38118 100644
--- a/arch/arm/boards/sama5d4_xplained/Makefile
+++ b/arch/arm/boards/sama5d4_xplained/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += sama5d4_xplained.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/sama5d4ek/Makefile b/arch/arm/boards/sama5d4ek/Makefile
index 152750bbe0a7..82ffe9771caf 100644
--- a/arch/arm/boards/sama5d4ek/Makefile
+++ b/arch/arm/boards/sama5d4ek/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += sama5d4ek.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/scb9328/Makefile b/arch/arm/boards/scb9328/Makefile
index 8e1c7ef7a505..5c13dddc0657 100644
--- a/arch/arm/boards/scb9328/Makefile
+++ b/arch/arm/boards/scb9328/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 lwl-y += lowlevel_init.o lowlevel.o
 obj-y += scb9328.o
diff --git a/arch/arm/boards/seeed-odyssey/Makefile b/arch/arm/boards/seeed-odyssey/Makefile
index 092c31d6b28d..5678718188b9 100644
--- a/arch/arm/boards/seeed-odyssey/Makefile
+++ b/arch/arm/boards/seeed-odyssey/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
 obj-y += board.o
diff --git a/arch/arm/boards/skov-arm9cpu/Makefile b/arch/arm/boards/skov-arm9cpu/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/skov-arm9cpu/Makefile
+++ b/arch/arm/boards/skov-arm9cpu/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/skov-imx6/Makefile b/arch/arm/boards/skov-imx6/Makefile
index 07b87ff11df0..b6b8b44b847b 100644
--- a/arch/arm/boards/skov-imx6/Makefile
+++ b/arch/arm/boards/skov-imx6/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
 obj-pbl-y += version.o
diff --git a/arch/arm/boards/solidrun-cubox/Makefile b/arch/arm/boards/solidrun-cubox/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/solidrun-cubox/Makefile
+++ b/arch/arm/boards/solidrun-cubox/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/solidrun-microsom/Makefile b/arch/arm/boards/solidrun-microsom/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/solidrun-microsom/Makefile
+++ b/arch/arm/boards/solidrun-microsom/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/stm32mp15x-ev1/Makefile b/arch/arm/boards/stm32mp15x-ev1/Makefile
index 092c31d6b28d..5678718188b9 100644
--- a/arch/arm/boards/stm32mp15x-ev1/Makefile
+++ b/arch/arm/boards/stm32mp15x-ev1/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
 obj-y += board.o
diff --git a/arch/arm/boards/stm32mp15xx-dkx/Makefile b/arch/arm/boards/stm32mp15xx-dkx/Makefile
index 092c31d6b28d..5678718188b9 100644
--- a/arch/arm/boards/stm32mp15xx-dkx/Makefile
+++ b/arch/arm/boards/stm32mp15xx-dkx/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
 obj-y += board.o
diff --git a/arch/arm/boards/technexion-pico-hobbit/Makefile b/arch/arm/boards/technexion-pico-hobbit/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/technexion-pico-hobbit/Makefile
+++ b/arch/arm/boards/technexion-pico-hobbit/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/technexion-wandboard/Makefile b/arch/arm/boards/technexion-wandboard/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/technexion-wandboard/Makefile
+++ b/arch/arm/boards/technexion-wandboard/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/telit-evk-pro3/Makefile b/arch/arm/boards/telit-evk-pro3/Makefile
index e11fd5b6924e..d59545033d21 100644
--- a/arch/arm/boards/telit-evk-pro3/Makefile
+++ b/arch/arm/boards/telit-evk-pro3/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += init.o
 
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/terasic-de0-nano-soc/Makefile b/arch/arm/boards/terasic-de0-nano-soc/Makefile
index 8c927fe291a6..ea898309d720 100644
--- a/arch/arm/boards/terasic-de0-nano-soc/Makefile
+++ b/arch/arm/boards/terasic-de0-nano-soc/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += lowlevel.o board.o
 pbl-y += lowlevel.o
diff --git a/arch/arm/boards/terasic-de10-nano/Makefile b/arch/arm/boards/terasic-de10-nano/Makefile
index 8c927fe291a6..ea898309d720 100644
--- a/arch/arm/boards/terasic-de10-nano/Makefile
+++ b/arch/arm/boards/terasic-de10-nano/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += lowlevel.o board.o
 pbl-y += lowlevel.o
diff --git a/arch/arm/boards/terasic-sockit/Makefile b/arch/arm/boards/terasic-sockit/Makefile
index 8c927fe291a6..ea898309d720 100644
--- a/arch/arm/boards/terasic-sockit/Makefile
+++ b/arch/arm/boards/terasic-sockit/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += lowlevel.o board.o
 pbl-y += lowlevel.o
diff --git a/arch/arm/boards/tny-a926x/Makefile b/arch/arm/boards/tny-a926x/Makefile
index d400788757b6..1ebe527d608e 100644
--- a/arch/arm/boards/tny-a926x/Makefile
+++ b/arch/arm/boards/tny-a926x/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += init.o
 
 obj-$(CONFIG_AT91_BOOTSTRAP) += tny_a9263_bootstrap.o
diff --git a/arch/arm/boards/toradex-colibri-t20/Makefile b/arch/arm/boards/toradex-colibri-t20/Makefile
index cdce48d1f847..aeb4765cf674 100644
--- a/arch/arm/boards/toradex-colibri-t20/Makefile
+++ b/arch/arm/boards/toradex-colibri-t20/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 CFLAGS_entry.pbl.o := -mcpu=arm7tdmi -march=armv4t
 soc := tegra20
 lwl-y += entry.o
diff --git a/arch/arm/boards/toshiba-ac100/Makefile b/arch/arm/boards/toshiba-ac100/Makefile
index e8158cb253cf..702c86a9247a 100644
--- a/arch/arm/boards/toshiba-ac100/Makefile
+++ b/arch/arm/boards/toshiba-ac100/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 CFLAGS_entry.pbl.o := -mcpu=arm7tdmi -march=armv4t
 lwl-y += entry.o
 obj-y += board.o
diff --git a/arch/arm/boards/tqma53/Makefile b/arch/arm/boards/tqma53/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/tqma53/Makefile
+++ b/arch/arm/boards/tqma53/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/tqma6x/Makefile b/arch/arm/boards/tqma6x/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/tqma6x/Makefile
+++ b/arch/arm/boards/tqma6x/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/tqmls1046a/Makefile b/arch/arm/boards/tqmls1046a/Makefile
index 851a5dcb3d7c..4af7fc3602a6 100644
--- a/arch/arm/boards/tqmls1046a/Makefile
+++ b/arch/arm/boards/tqmls1046a/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o start.o
 obj-y += board.o
 bbenv-y += defaultenv-tqmls1046a
diff --git a/arch/arm/boards/turris-omnia/Makefile b/arch/arm/boards/turris-omnia/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/arm/boards/turris-omnia/Makefile
+++ b/arch/arm/boards/turris-omnia/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/udoo-neo/Makefile b/arch/arm/boards/udoo-neo/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/udoo-neo/Makefile
+++ b/arch/arm/boards/udoo-neo/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/udoo/Makefile b/arch/arm/boards/udoo/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/udoo/Makefile
+++ b/arch/arm/boards/udoo/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/usb-a926x/Makefile b/arch/arm/boards/usb-a926x/Makefile
index 65cc4082fc0f..022b1a4ab6fb 100644
--- a/arch/arm/boards/usb-a926x/Makefile
+++ b/arch/arm/boards/usb-a926x/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += init.o
 
 obj-$(CONFIG_AT91_BOOTSTRAP) += usb_a9263_bootstrap.o
diff --git a/arch/arm/boards/usi-topkick/Makefile b/arch/arm/boards/usi-topkick/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/arm/boards/usi-topkick/Makefile
+++ b/arch/arm/boards/usi-topkick/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/variscite-mx6/Makefile b/arch/arm/boards/variscite-mx6/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/variscite-mx6/Makefile
+++ b/arch/arm/boards/variscite-mx6/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/versatile/Kconfig b/arch/arm/boards/versatile/Kconfig
index 94cba3ba8173..66492404e0b2 100644
--- a/arch/arm/boards/versatile/Kconfig
+++ b/arch/arm/boards/versatile/Kconfig
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 if MACH_VERSATILEPB
 
diff --git a/arch/arm/boards/versatile/Makefile b/arch/arm/boards/versatile/Makefile
index 89232a7884c8..5a55d0017d14 100644
--- a/arch/arm/boards/versatile/Makefile
+++ b/arch/arm/boards/versatile/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_MACH_VERSATILEPB) += versatilepb.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/vexpress/Makefile b/arch/arm/boards/vexpress/Makefile
index 2da0494d49b3..720210d8905f 100644
--- a/arch/arm/boards/vexpress/Makefile
+++ b/arch/arm/boards/vexpress/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += init.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/virt2real/Makefile b/arch/arm/boards/virt2real/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/virt2real/Makefile
+++ b/arch/arm/boards/virt2real/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/vscom-baltos/Makefile b/arch/arm/boards/vscom-baltos/Makefile
index 092c31d6b28d..5678718188b9 100644
--- a/arch/arm/boards/vscom-baltos/Makefile
+++ b/arch/arm/boards/vscom-baltos/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
 obj-y += board.o
diff --git a/arch/arm/boards/wago-pfc-am35xx/Makefile b/arch/arm/boards/wago-pfc-am35xx/Makefile
index 7bd3009f31e3..35ac0462cba1 100644
--- a/arch/arm/boards/wago-pfc-am35xx/Makefile
+++ b/arch/arm/boards/wago-pfc-am35xx/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
 ifdef CONFIG_OMAP_BUILD_IFT
 obj-y += board-mlo.o
diff --git a/arch/arm/boards/webasto-ccbv2/Makefile b/arch/arm/boards/webasto-ccbv2/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/webasto-ccbv2/Makefile
+++ b/arch/arm/boards/webasto-ccbv2/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/zii-common/Makefile b/arch/arm/boards/zii-common/Makefile
index 90bdf21e77bd..7488148cff9c 100644
--- a/arch/arm/boards/zii-common/Makefile
+++ b/arch/arm/boards/zii-common/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o switch-cmd.o pn-fixup.o
 bbenv-y += defaultenv-zii-common
diff --git a/arch/arm/boards/zii-imx51-rdu1/Makefile b/arch/arm/boards/zii-imx51-rdu1/Makefile
index 7f2569bda37d..96663f9ae867 100644
--- a/arch/arm/boards/zii-imx51-rdu1/Makefile
+++ b/arch/arm/boards/zii-imx51-rdu1/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
 bbenv-y += defaultenv-rdu1
diff --git a/arch/arm/boards/zii-imx6q-rdu2/Makefile b/arch/arm/boards/zii-imx6q-rdu2/Makefile
index c6285362f2ee..31b592bd36a5 100644
--- a/arch/arm/boards/zii-imx6q-rdu2/Makefile
+++ b/arch/arm/boards/zii-imx6q-rdu2/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
 bbenv-y += defaultenv-rdu2
diff --git a/arch/arm/boards/zii-imx7d-dev/Makefile b/arch/arm/boards/zii-imx7d-dev/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/zii-imx7d-dev/Makefile
+++ b/arch/arm/boards/zii-imx7d-dev/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/boards/zii-imx8mq-dev/Makefile b/arch/arm/boards/zii-imx8mq-dev/Makefile
index d0148b506752..8894e40b5a3f 100644
--- a/arch/arm/boards/zii-imx8mq-dev/Makefile
+++ b/arch/arm/boards/zii-imx8mq-dev/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o ddr_init.o ddrphy_train.o
 bbenv-y += defaultenv-imx8mq-zii-dev
diff --git a/arch/arm/boards/zii-vf610-dev/Makefile b/arch/arm/boards/zii-vf610-dev/Makefile
index 1297d815e319..a1a8318e1588 100644
--- a/arch/arm/boards/zii-vf610-dev/Makefile
+++ b/arch/arm/boards/zii-vf610-dev/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
 bbenv-y += defaultenv-zii-vf610-dev
diff --git a/arch/arm/boards/zylonite/Makefile b/arch/arm/boards/zylonite/Makefile
index 01c7a259e9a5..da63d2625f7a 100644
--- a/arch/arm/boards/zylonite/Makefile
+++ b/arch/arm/boards/zylonite/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/cpu/Kconfig b/arch/arm/cpu/Kconfig
index ca3bd98962e2..0a493754a418 100644
--- a/arch/arm/cpu/Kconfig
+++ b/arch/arm/cpu/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 comment "Processor Type"
 
 config PHYS_ADDR_T_64BIT
diff --git a/arch/arm/cpu/Makefile b/arch/arm/cpu/Makefile
index 6344ab506645..c0993c1abe5d 100644
--- a/arch/arm/cpu/Makefile
+++ b/arch/arm/cpu/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += cpu.o
 
 obj-$(CONFIG_ARM_EXCEPTIONS) += exceptions$(S64).o interrupts$(S64).o
diff --git a/arch/arm/crypto/Makefile b/arch/arm/crypto/Makefile
index fda4eeafeca0..990c0bd609cd 100644
--- a/arch/arm/crypto/Makefile
+++ b/arch/arm/crypto/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # Arch-specific CryptoAPI modules.
 #
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 76c96752cd78..8ae8244bfeee 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 # just to build a built-in.o. Otherwise compilation fails when no devicetree is
 # created.
 obj- += dummy.o
diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile
index 33db7350f85f..1a8144f6c64a 100644
--- a/arch/arm/lib/Makefile
+++ b/arch/arm/lib/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_BOOTM)	+= bootm.o
 obj-$(CONFIG_CMD_BOOTU)	+= bootu.o
diff --git a/arch/arm/lib32/Makefile b/arch/arm/lib32/Makefile
index ec6a3aea6721..82507fffc02b 100644
--- a/arch/arm/lib32/Makefile
+++ b/arch/arm/lib32/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_ARM_LINUX)	+= armlinux.o
 obj-$(CONFIG_CMD_BOOTZ)	+= bootz.o
 obj-$(CONFIG_BOOTM)     += bootm.o
diff --git a/arch/arm/lib64/Makefile b/arch/arm/lib64/Makefile
index a004af4867f2..e86a2e5a2f3d 100644
--- a/arch/arm/lib64/Makefile
+++ b/arch/arm/lib64/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += stacktrace.o
 obj-$(CONFIG_ARM_LINUX)	+= armlinux.o
 obj-y	+= div0.o
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 734256e3614e..bc55b1c4e76e 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if ARCH_AT91
 
 config HAVE_AT91_UTMI
diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile
index c895af7a2f8b..bfdc89f680ed 100644
--- a/arch/arm/mach-at91/Makefile
+++ b/arch/arm/mach-at91/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += setup.o aic.o
 lwl-y += at91_pmc_ll.o ddramc_ll.o matrix.o
 lwl-$(CONFIG_CLOCKSOURCE_ATMEL_PIT) += early_udelay.o
diff --git a/arch/arm/mach-bcm283x/Kconfig b/arch/arm/mach-bcm283x/Kconfig
index 9d6a7b2ec2d4..75acee8dad56 100644
--- a/arch/arm/mach-bcm283x/Kconfig
+++ b/arch/arm/mach-bcm283x/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if ARCH_BCM283X
 
 config ARCH_TEXT_BASE
diff --git a/arch/arm/mach-bcm283x/Makefile b/arch/arm/mach-bcm283x/Makefile
index 940f98cbce76..e5ef78af978f 100644
--- a/arch/arm/mach-bcm283x/Makefile
+++ b/arch/arm/mach-bcm283x/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += core.o mbox.o
diff --git a/arch/arm/mach-clps711x/Kconfig b/arch/arm/mach-clps711x/Kconfig
index c00514e86d6c..52cf8468c03f 100644
--- a/arch/arm/mach-clps711x/Kconfig
+++ b/arch/arm/mach-clps711x/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if ARCH_CLPS711X
 
 choice
diff --git a/arch/arm/mach-clps711x/Makefile b/arch/arm/mach-clps711x/Makefile
index 45525343d737..4d5950d9b5f0 100644
--- a/arch/arm/mach-clps711x/Makefile
+++ b/arch/arm/mach-clps711x/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += clock.o devices.o reset.o
 lwl-y += lowlevel.o
diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig
index c6d4fce603ae..a87b6256ce49 100644
--- a/arch/arm/mach-davinci/Kconfig
+++ b/arch/arm/mach-davinci/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if ARCH_DAVINCI
 
 config ARCH_TEXT_BASE
diff --git a/arch/arm/mach-davinci/Makefile b/arch/arm/mach-davinci/Makefile
index b96d4146f6d5..f7865a941b82 100644
--- a/arch/arm/mach-davinci/Makefile
+++ b/arch/arm/mach-davinci/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += time.o
diff --git a/arch/arm/mach-digic/Kconfig b/arch/arm/mach-digic/Kconfig
index d25c3b3f5108..25b9a0da2fe6 100644
--- a/arch/arm/mach-digic/Kconfig
+++ b/arch/arm/mach-digic/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if ARCH_DIGIC
 
 choice
diff --git a/arch/arm/mach-digic/Makefile b/arch/arm/mach-digic/Makefile
index 16a218658ade..1c2b374603ce 100644
--- a/arch/arm/mach-digic/Makefile
+++ b/arch/arm/mach-digic/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj- := __dummy__.o
diff --git a/arch/arm/mach-ep93xx/Kconfig b/arch/arm/mach-ep93xx/Kconfig
index f805a8fd527a..e39f1d8a9b28 100644
--- a/arch/arm/mach-ep93xx/Kconfig
+++ b/arch/arm/mach-ep93xx/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if ARCH_EP93XX
 
 config EP93XX_SDCE0_PHYS_OFFSET
diff --git a/arch/arm/mach-ep93xx/Makefile b/arch/arm/mach-ep93xx/Makefile
index fc0cb1afcd6e..80dbe7c42bfa 100644
--- a/arch/arm/mach-ep93xx/Makefile
+++ b/arch/arm/mach-ep93xx/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += clocksource.o gpio.o header.o
 
 lwl-y += lowlevel_init.o led.o
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 92db011baed7..454f7328d834 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if ARCH_IMX
 
 config ARCH_TEXT_BASE
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
index d94c846a13bf..2cafcd77e00d 100644
--- a/arch/arm/mach-imx/Makefile
+++ b/arch/arm/mach-imx/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_ARCH_IMX1)  += imx1.o
 obj-$(CONFIG_ARCH_IMX25) += imx25.o
 obj-$(CONFIG_ARCH_IMX21) += imx21.o
diff --git a/arch/arm/mach-layerscape/Kconfig b/arch/arm/mach-layerscape/Kconfig
index c15d5873a55e..bdd7d0dbfe52 100644
--- a/arch/arm/mach-layerscape/Kconfig
+++ b/arch/arm/mach-layerscape/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if ARCH_LAYERSCAPE
 
 config ARCH_LAYERSCAPE_PPA
diff --git a/arch/arm/mach-layerscape/Makefile b/arch/arm/mach-layerscape/Makefile
index 854a327c9125..58d3ea820aa3 100644
--- a/arch/arm/mach-layerscape/Makefile
+++ b/arch/arm/mach-layerscape/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj- := __dummy__.o
 lwl-y += lowlevel.o errata.o
 lwl-$(CONFIG_ARCH_LS1046) += lowlevel-ls1046a.o
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index bab22f07ff34..1b26148434ad 100644
--- a/arch/arm/mach-mvebu/Kconfig
+++ b/arch/arm/mach-mvebu/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if ARCH_MVEBU
 
 config ARCH_TEXT_BASE
diff --git a/arch/arm/mach-mvebu/Makefile b/arch/arm/mach-mvebu/Makefile
index 6079403b83dd..88580cb58f4c 100644
--- a/arch/arm/mach-mvebu/Makefile
+++ b/arch/arm/mach-mvebu/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-pbl-y			+= common.o
 obj-$(CONFIG_ARCH_ARMADA_370)	+= armada-370-xp.o
 obj-$(CONFIG_ARCH_ARMADA_XP)	+= armada-370-xp.o
diff --git a/arch/arm/mach-mxs/Kconfig b/arch/arm/mach-mxs/Kconfig
index f4a9d3d4221e..691c159e365f 100644
--- a/arch/arm/mach-mxs/Kconfig
+++ b/arch/arm/mach-mxs/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if ARCH_MXS
 
 config ARCH_TEXT_BASE
diff --git a/arch/arm/mach-mxs/Makefile b/arch/arm/mach-mxs/Makefile
index e3843368c2d1..0f3fba896751 100644
--- a/arch/arm/mach-mxs/Makefile
+++ b/arch/arm/mach-mxs/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += imx.o iomux-imx.o power.o
 pbl-y += iomux-imx.o
 obj-$(CONFIG_ARCH_IMX23) += clocksource-imx23.o usb-imx23.o soc-imx23.o
diff --git a/arch/arm/mach-nomadik/Kconfig b/arch/arm/mach-nomadik/Kconfig
index 51d490df1b1b..823777917391 100644
--- a/arch/arm/mach-nomadik/Kconfig
+++ b/arch/arm/mach-nomadik/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if ARCH_NOMADIK
 
 config ARCH_TEXT_BASE
diff --git a/arch/arm/mach-nomadik/Makefile b/arch/arm/mach-nomadik/Makefile
index 1d77c4cf52f9..0ab83f61c816 100644
--- a/arch/arm/mach-nomadik/Makefile
+++ b/arch/arm/mach-nomadik/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 obj-y	+= clock.o reset.o timer.o
 obj-y	+= 8815.o
diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig
index fd9084f83ea1..711f8ed8d83c 100644
--- a/arch/arm/mach-pxa/Kconfig
+++ b/arch/arm/mach-pxa/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if ARCH_PXA
 
 config ARCH_TEXT_BASE
diff --git a/arch/arm/mach-pxa/Makefile b/arch/arm/mach-pxa/Makefile
index 0c3219807bc6..9249c8fe14e3 100644
--- a/arch/arm/mach-pxa/Makefile
+++ b/arch/arm/mach-pxa/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += clocksource.o
 obj-y += common.o
 obj-y += gpio.o
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index 5603fc12c307..2e855714f7da 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 menu "Rockchip Features"
 	depends on ARCH_ROCKCHIP
 
diff --git a/arch/arm/mach-rockchip/Makefile b/arch/arm/mach-rockchip/Makefile
index 66bcdba2eb22..72bf77c1e124 100644
--- a/arch/arm/mach-rockchip/Makefile
+++ b/arch/arm/mach-rockchip/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += rockchip.o
 pbl-$(CONFIG_ARCH_RK3568) += atf.o
 obj-$(CONFIG_ARCH_RK3188) += rk3188.o
diff --git a/arch/arm/mach-samsung/Kconfig b/arch/arm/mach-samsung/Kconfig
index fa1a3ddcc49f..aa2ae67e2d86 100644
--- a/arch/arm/mach-samsung/Kconfig
+++ b/arch/arm/mach-samsung/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 config ARCH_SAMSUNG
 	bool
 
diff --git a/arch/arm/mach-samsung/Makefile b/arch/arm/mach-samsung/Makefile
index 284c80a2ad43..8a893a076ff1 100644
--- a/arch/arm/mach-samsung/Makefile
+++ b/arch/arm/mach-samsung/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += s3c-timer.o generic.o
 obj-$(CONFIG_RESET_SOURCE) += reset_source.o
 obj-lowlevel-$(CONFIG_ARCH_S3C24xx) += lowlevel-s3c24x0.o
diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig
index ea2abebaa20c..80344315e3d9 100644
--- a/arch/arm/mach-socfpga/Kconfig
+++ b/arch/arm/mach-socfpga/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if ARCH_SOCFPGA
 
 config ARCH_TEXT_BASE
diff --git a/arch/arm/mach-socfpga/Makefile b/arch/arm/mach-socfpga/Makefile
index 3a3a2fc57dd3..935270bfad8e 100644
--- a/arch/arm/mach-socfpga/Makefile
+++ b/arch/arm/mach-socfpga/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 pbl-$(CONFIG_ARCH_SOCFPGA_CYCLONE5) += cyclone5-init.o cyclone5-freeze-controller.o cyclone5-scan-manager.o cyclone5-system-manager.o
 pbl-$(CONFIG_ARCH_SOCFPGA_CYCLONE5) += cyclone5-clock-manager.o
 obj-$(CONFIG_ARCH_SOCFPGA_CYCLONE5) += cyclone5-generic.o nic301.o cyclone5-bootsource.o cyclone5-reset-manager.o
diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig
index 8328eb899aba..d059dbda56a9 100644
--- a/arch/arm/mach-stm32mp/Kconfig
+++ b/arch/arm/mach-stm32mp/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if ARCH_STM32MP
 
 config ARCH_NR_GPIO
diff --git a/arch/arm/mach-stm32mp/Makefile b/arch/arm/mach-stm32mp/Makefile
index 8e14b225359d..4163bd176b1f 100644
--- a/arch/arm/mach-stm32mp/Makefile
+++ b/arch/arm/mach-stm32mp/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y := init.o
 obj-pbl-y := ddrctrl.o
 obj-$(CONFIG_BOOTM) += stm32image.o
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
index f144d346b4c5..cc256f584ac6 100644
--- a/arch/arm/mach-tegra/Kconfig
+++ b/arch/arm/mach-tegra/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if ARCH_TEGRA
 
 config ARCH_TEXT_BASE
diff --git a/arch/arm/mach-tegra/Makefile b/arch/arm/mach-tegra/Makefile
index 60aae41ea06c..ddc029bda26a 100644
--- a/arch/arm/mach-tegra/Makefile
+++ b/arch/arm/mach-tegra/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 CFLAGS_tegra_avp_init.o := -mcpu=arm7tdmi -march=armv4t
 CFLAGS_tegra_avp_init.pbl.o := -mcpu=arm7tdmi -march=armv4t
 lwl-y += tegra_avp_init.o
diff --git a/arch/arm/mach-uemd/Kconfig b/arch/arm/mach-uemd/Kconfig
index 2bcdd320c99a..7844b9c78fbc 100644
--- a/arch/arm/mach-uemd/Kconfig
+++ b/arch/arm/mach-uemd/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if ARCH_UEMD
 
 config ARCH_TEXT_BASE
diff --git a/arch/arm/mach-uemd/Makefile b/arch/arm/mach-uemd/Makefile
index 16a218658ade..1c2b374603ce 100644
--- a/arch/arm/mach-uemd/Makefile
+++ b/arch/arm/mach-uemd/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj- := __dummy__.o
diff --git a/arch/arm/mach-versatile/Kconfig b/arch/arm/mach-versatile/Kconfig
index 95172cff8c2d..e0e1996d333e 100644
--- a/arch/arm/mach-versatile/Kconfig
+++ b/arch/arm/mach-versatile/Kconfig
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 if ARCH_VERSATILE
 
diff --git a/arch/arm/mach-versatile/Makefile b/arch/arm/mach-versatile/Makefile
index a8da54c27b2f..6a9630115f9f 100644
--- a/arch/arm/mach-versatile/Makefile
+++ b/arch/arm/mach-versatile/Makefile
@@ -1,2 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 obj-y += core.o
diff --git a/arch/arm/mach-vexpress/Kconfig b/arch/arm/mach-vexpress/Kconfig
index b72684caa722..1b89d0edf9ef 100644
--- a/arch/arm/mach-vexpress/Kconfig
+++ b/arch/arm/mach-vexpress/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if ARCH_VEXPRESS
 
 config ARCH_TEXT_BASE
diff --git a/arch/arm/mach-vexpress/Makefile b/arch/arm/mach-vexpress/Makefile
index 9a06e648a6f1..b52ba00f3c11 100644
--- a/arch/arm/mach-vexpress/Makefile
+++ b/arch/arm/mach-vexpress/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += v2m.o
 obj-y += reset.o
diff --git a/arch/arm/mach-zynq/Kconfig b/arch/arm/mach-zynq/Kconfig
index 3e07633e5f08..3f2cd8e99c14 100644
--- a/arch/arm/mach-zynq/Kconfig
+++ b/arch/arm/mach-zynq/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if ARCH_ZYNQ
 
 config ARCH_TEXT_BASE
diff --git a/arch/arm/mach-zynq/Makefile b/arch/arm/mach-zynq/Makefile
index 06c2ce996cfa..d5e94859a6b1 100644
--- a/arch/arm/mach-zynq/Makefile
+++ b/arch/arm/mach-zynq/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += zynq.o bootm-zynqimg.o
 lwl-y += cpu_init.o
diff --git a/arch/arm/tools/Makefile b/arch/arm/tools/Makefile
index bff825e58a01..298a7f90e627 100644
--- a/arch/arm/tools/Makefile
+++ b/arch/arm/tools/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #
 # linux/arch/arm/tools/Makefile
 #
diff --git a/arch/kvx/Kconfig b/arch/kvx/Kconfig
index 09344408806b..960b712ac9b4 100644
--- a/arch/kvx/Kconfig
+++ b/arch/kvx/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 config KVX
 	bool
 	select 64BIT
diff --git a/arch/kvx/Makefile b/arch/kvx/Makefile
index f29eeef9210b..9431c9fe18fd 100644
--- a/arch/kvx/Makefile
+++ b/arch/kvx/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 KBUILD_DEFCONFIG := generic_defconfig
 
 KBUILD_CPPFLAGS += -fno-strict-aliasing
diff --git a/arch/kvx/dts/Makefile b/arch/kvx/dts/Makefile
index d4221d2c1bb6..3f03192750bc 100644
--- a/arch/kvx/dts/Makefile
+++ b/arch/kvx/dts/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # just to build a built-in.o. Otherwise compilation fails when no devicetree is
 # created.
 obj- += dummy.o
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 7774abe94827..be5a4ff30de9 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1,6 +1,5 @@
-#
-#
-#
+# SPDX-License-Identifier: GPL-2.0-only
+
 config MIPS
 	bool
 	select GENERIC_LIB_ASHLDI3
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 786695194490..345e703d332b 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 KBUILD_DEFCONFIG := qemu-malta_defconfig
 
 #
diff --git a/arch/mips/boards/8devices-lima/Makefile b/arch/mips/boards/8devices-lima/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/mips/boards/8devices-lima/Makefile
+++ b/arch/mips/boards/8devices-lima/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/mips/boards/Makefile b/arch/mips/boards/Makefile
index 5f9b61e7545c..9402035856c2 100644
--- a/arch/mips/boards/Makefile
+++ b/arch/mips/boards/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_BOARD_8DEVICES_LIMA) += 8devices-lima/
 obj-$(CONFIG_BOARD_BLACK_SWIFT) += black-swift/
 obj-$(CONFIG_BOARD_CI20) += img-ci20/
diff --git a/arch/mips/boards/black-swift/Makefile b/arch/mips/boards/black-swift/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/mips/boards/black-swift/Makefile
+++ b/arch/mips/boards/black-swift/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/mips/boards/dlink-dir-320/Makefile b/arch/mips/boards/dlink-dir-320/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/mips/boards/dlink-dir-320/Makefile
+++ b/arch/mips/boards/dlink-dir-320/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/mips/boards/dptechnics-dpt-module/Makefile b/arch/mips/boards/dptechnics-dpt-module/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/mips/boards/dptechnics-dpt-module/Makefile
+++ b/arch/mips/boards/dptechnics-dpt-module/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/mips/boards/img-ci20/Makefile b/arch/mips/boards/img-ci20/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/mips/boards/img-ci20/Makefile
+++ b/arch/mips/boards/img-ci20/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/mips/boards/loongson-ls1b/Makefile b/arch/mips/boards/loongson-ls1b/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/mips/boards/loongson-ls1b/Makefile
+++ b/arch/mips/boards/loongson-ls1b/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/mips/boards/netgear-wg102/Makefile b/arch/mips/boards/netgear-wg102/Makefile
index 344a6711b2bd..fe0616fdb8f6 100644
--- a/arch/mips/boards/netgear-wg102/Makefile
+++ b/arch/mips/boards/netgear-wg102/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
 obj-y += ram.o
diff --git a/arch/mips/boards/okud-max9331/Makefile b/arch/mips/boards/okud-max9331/Makefile
index c58bf72354db..c28b1a9059a2 100644
--- a/arch/mips/boards/okud-max9331/Makefile
+++ b/arch/mips/boards/okud-max9331/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
 lwl-y += lowlevel_boot0.o
diff --git a/arch/mips/boards/openembed-som9331/Makefile b/arch/mips/boards/openembed-som9331/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/mips/boards/openembed-som9331/Makefile
+++ b/arch/mips/boards/openembed-som9331/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/mips/boards/qemu-malta/Makefile b/arch/mips/boards/qemu-malta/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/mips/boards/qemu-malta/Makefile
+++ b/arch/mips/boards/qemu-malta/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/mips/boards/ritmix-rzx50/Makefile b/arch/mips/boards/ritmix-rzx50/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/mips/boards/ritmix-rzx50/Makefile
+++ b/arch/mips/boards/ritmix-rzx50/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/mips/boards/tplink-mr3020/Makefile b/arch/mips/boards/tplink-mr3020/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/mips/boards/tplink-mr3020/Makefile
+++ b/arch/mips/boards/tplink-mr3020/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/mips/boards/tplink-wdr4300/Makefile b/arch/mips/boards/tplink-wdr4300/Makefile
index b08c4a93ca27..458f5209008d 100644
--- a/arch/mips/boards/tplink-wdr4300/Makefile
+++ b/arch/mips/boards/tplink-wdr4300/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel.o
diff --git a/arch/mips/boot/Makefile b/arch/mips/boot/Makefile
index 3d46e836f7a7..d1e27b5e6b8a 100644
--- a/arch/mips/boot/Makefile
+++ b/arch/mips/boot/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += start.o
 obj-y += main_entry.o
 
diff --git a/arch/mips/dts/Makefile b/arch/mips/dts/Makefile
index e5900c971b9a..e4cc3b44a53e 100644
--- a/arch/mips/dts/Makefile
+++ b/arch/mips/dts/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB_NAME))
 ifneq ($(BUILTIN_DTB),)
 obj-$(CONFIG_BUILTIN_DTB) += $(BUILTIN_DTB).dtb.o
diff --git a/arch/mips/lib/Makefile b/arch/mips/lib/Makefile
index 88a2bdbd282b..1ef340202acf 100644
--- a/arch/mips/lib/Makefile
+++ b/arch/mips/lib/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 extra-$(CONFIG_GENERIC_LINKER_SCRIPT) += barebox.lds
 obj-$(CONFIG_CSRC_R4K_LIB) += csrc-r4k.o
 obj-y += cpu-probe.o
diff --git a/arch/mips/mach-ar231x/Kconfig b/arch/mips/mach-ar231x/Kconfig
index f920f300bd20..f3e17000a754 100644
--- a/arch/mips/mach-ar231x/Kconfig
+++ b/arch/mips/mach-ar231x/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if MACH_MIPS_AR231X
 
 choice
diff --git a/arch/mips/mach-ar231x/Makefile b/arch/mips/mach-ar231x/Makefile
index eba8e818b5b7..65e32c7bc3a7 100644
--- a/arch/mips/mach-ar231x/Makefile
+++ b/arch/mips/mach-ar231x/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += ar231x.o
 obj-y += board.o
 obj-y += ar231x_reset.o
diff --git a/arch/mips/mach-ath79/Kconfig b/arch/mips/mach-ath79/Kconfig
index 2dfe0e587a65..75640504895c 100644
--- a/arch/mips/mach-ath79/Kconfig
+++ b/arch/mips/mach-ath79/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if MACH_MIPS_ATH79
 
 config SOC_QCA_AR9331
diff --git a/arch/mips/mach-ath79/Makefile b/arch/mips/mach-ath79/Makefile
index 396df66bf162..9f3a34b3eb77 100644
--- a/arch/mips/mach-ath79/Makefile
+++ b/arch/mips/mach-ath79/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 lwl-y += lowlevel_ar9331_spi_trap.o
 lwl-y += lowlevel_ar9331_sram.o
 
diff --git a/arch/mips/mach-bcm47xx/Kconfig b/arch/mips/mach-bcm47xx/Kconfig
index c4791901afb0..606d9e600099 100644
--- a/arch/mips/mach-bcm47xx/Kconfig
+++ b/arch/mips/mach-bcm47xx/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if MACH_MIPS_BCM47XX
 
 choice
diff --git a/arch/mips/mach-bcm47xx/Makefile b/arch/mips/mach-bcm47xx/Makefile
index f3cc6684b896..d19b1f29501a 100644
--- a/arch/mips/mach-bcm47xx/Makefile
+++ b/arch/mips/mach-bcm47xx/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += reset.o
diff --git a/arch/mips/mach-loongson/Kconfig b/arch/mips/mach-loongson/Kconfig
index ab7ccd0cb569..38d05e415be4 100644
--- a/arch/mips/mach-loongson/Kconfig
+++ b/arch/mips/mach-loongson/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if MACH_MIPS_LOONGSON
 
 choice
diff --git a/arch/mips/mach-loongson/Makefile b/arch/mips/mach-loongson/Makefile
index 52b36f3cf946..451c572e76cb 100644
--- a/arch/mips/mach-loongson/Makefile
+++ b/arch/mips/mach-loongson/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += loongson1_reset.o
diff --git a/arch/mips/mach-malta/Kconfig b/arch/mips/mach-malta/Kconfig
index 467107514006..cf061f667057 100644
--- a/arch/mips/mach-malta/Kconfig
+++ b/arch/mips/mach-malta/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if MACH_MIPS_MALTA
 
 config BOARD_QEMU_MALTA
diff --git a/arch/mips/mach-malta/Makefile b/arch/mips/mach-malta/Makefile
index 7d56f215b034..d937083bbb0a 100644
--- a/arch/mips/mach-malta/Makefile
+++ b/arch/mips/mach-malta/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_PCI) += pci.o
diff --git a/arch/mips/mach-xburst/Kconfig b/arch/mips/mach-xburst/Kconfig
index ae8093d1a311..954e295fd149 100644
--- a/arch/mips/mach-xburst/Kconfig
+++ b/arch/mips/mach-xburst/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if MACH_MIPS_XBURST
 
 config CPU_JZ4755
diff --git a/arch/mips/mach-xburst/Makefile b/arch/mips/mach-xburst/Makefile
index e5634ba9cc4c..0d2bb542c790 100644
--- a/arch/mips/mach-xburst/Makefile
+++ b/arch/mips/mach-xburst/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_CPU_JZ4755) += csrc-jz4750.o reset-jz4750.o
diff --git a/arch/mips/pbl/Makefile b/arch/mips/pbl/Makefile
index f85c7a6d6d58..38dfbd47243c 100644
--- a/arch/mips/pbl/Makefile
+++ b/arch/mips/pbl/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 suffix_$(CONFIG_IMAGE_COMPRESSION_GZIP) = gzip
 suffix_$(CONFIG_IMAGE_COMPRESSION_LZO)	= lzo
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig
index bd8851e4b306..34b24bec0858 100644
--- a/arch/openrisc/Kconfig
+++ b/arch/openrisc/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 config OPENRISC
 	bool
 	select OFTREE
diff --git a/arch/openrisc/Makefile b/arch/openrisc/Makefile
index 1776f56df97b..609b998de98e 100644
--- a/arch/openrisc/Makefile
+++ b/arch/openrisc/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 KBUILD_DEFCONFIG := generic_defconfig
 
 KBUILD_CPPFLAGS += -D__OR1K__ -ffixed-r10 -mhard-mul -mhard-div
diff --git a/arch/openrisc/boards/generic/Makefile b/arch/openrisc/boards/generic/Makefile
index d8a3d7f2cc2d..3cdac31b391d 100644
--- a/arch/openrisc/boards/generic/Makefile
+++ b/arch/openrisc/boards/generic/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += generic.o
diff --git a/arch/openrisc/cpu/Makefile b/arch/openrisc/cpu/Makefile
index 1cd7506003be..9828dff95d02 100644
--- a/arch/openrisc/cpu/Makefile
+++ b/arch/openrisc/cpu/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y                 += start.o
 obj-y                 += cpu.o
 obj-y                 += exceptions.o
diff --git a/arch/openrisc/dts/Makefile b/arch/openrisc/dts/Makefile
index 6d6c9a3ce094..f43a28d6b905 100644
--- a/arch/openrisc/dts/Makefile
+++ b/arch/openrisc/dts/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB_NAME))
 obj-$(CONFIG_BUILTIN_DTB) += $(BUILTIN_DTB).dtb.o
diff --git a/arch/openrisc/lib/Makefile b/arch/openrisc/lib/Makefile
index 808b09f3aa50..a55a9049e6e9 100644
--- a/arch/openrisc/lib/Makefile
+++ b/arch/openrisc/lib/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y                 += clock.o
 obj-y                 += board.o
 obj-y                 += cpuinfo.o
diff --git a/arch/powerpc/Kbuild b/arch/powerpc/Kbuild
index 65e249338688..e9f7b32848e0 100644
--- a/arch/powerpc/Kbuild
+++ b/arch/powerpc/Kbuild
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_ARCH_MPC85XX) += cpu-85xx/
 obj-y += lib/
 obj-$(CONFIG_FSL_DDR2) += ddr-8xxx/
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 376c1bf42b5e..7525ecef4948 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 config PPC
 	bool
 	select HAVE_CONFIGURABLE_TEXT_BASE
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index aa7626049613..ebd8fe60d3f1 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 KBUILD_DEFCONFIG := p2020rdb_defconfig
 
 KBUILD_CPPFLAGS += -ffixed-r14 -m32 	\
diff --git a/arch/powerpc/boards/freescale-p1010rdb/Makefile b/arch/powerpc/boards/freescale-p1010rdb/Makefile
index a7b64eef4d34..e54ee8ee43fa 100644
--- a/arch/powerpc/boards/freescale-p1010rdb/Makefile
+++ b/arch/powerpc/boards/freescale-p1010rdb/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y	+= p1010rdb.o
 obj-y	+= law.o
 obj-y	+= tlb.o
diff --git a/arch/powerpc/boards/freescale-p1022ds/Makefile b/arch/powerpc/boards/freescale-p1022ds/Makefile
index 48867fa851ee..1d969d48ebb2 100644
--- a/arch/powerpc/boards/freescale-p1022ds/Makefile
+++ b/arch/powerpc/boards/freescale-p1022ds/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y	+= p1022ds.o
 obj-y	+= law.o
 obj-y	+= tlb.o
diff --git a/arch/powerpc/boards/freescale-p2020rdb/Makefile b/arch/powerpc/boards/freescale-p2020rdb/Makefile
index b2497f695cc7..ff0cdd657c94 100644
--- a/arch/powerpc/boards/freescale-p2020rdb/Makefile
+++ b/arch/powerpc/boards/freescale-p2020rdb/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y	+= p2020rdb.o
 obj-y	+= law.o
 obj-y	+= tlb.o
diff --git a/arch/powerpc/boards/owc-da923rc/Makefile b/arch/powerpc/boards/owc-da923rc/Makefile
index 4cf6c5cf3c90..78b6885c0873 100644
--- a/arch/powerpc/boards/owc-da923rc/Makefile
+++ b/arch/powerpc/boards/owc-da923rc/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += da923rc.o
 obj-y += tlb.o
 obj-y += law.o
diff --git a/arch/powerpc/boards/pcm030/Makefile b/arch/powerpc/boards/pcm030/Makefile
index 4e5dc4f57bcd..95dd0610437c 100644
--- a/arch/powerpc/boards/pcm030/Makefile
+++ b/arch/powerpc/boards/pcm030/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += pcm030.o eeprom.o
 extra-y += barebox.lds
diff --git a/arch/powerpc/cpu-85xx/Makefile b/arch/powerpc/cpu-85xx/Makefile
index c649c4ec2530..c7c5c8a00663 100644
--- a/arch/powerpc/cpu-85xx/Makefile
+++ b/arch/powerpc/cpu-85xx/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y			+= traps.o
 obj-y			+= tlb.o
 obj-$(CONFIG_MMU)	+= mmu.o
diff --git a/arch/powerpc/ddr-8xxx/Makefile b/arch/powerpc/ddr-8xxx/Makefile
index 43ae3a41df4b..651fe050f65b 100644
--- a/arch/powerpc/ddr-8xxx/Makefile
+++ b/arch/powerpc/ddr-8xxx/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y	+=  	main.o util.o ctrl_regs.o options.o lc_common_dimm_params.o
 obj-y	+=	ddr_setctrl.o
 obj-$(CONFIG_FSL_DDR2)	+= ddr2_dimm_params.o
diff --git a/arch/powerpc/lib/Makefile b/arch/powerpc/lib/Makefile
index 405351c19929..65729953e693 100644
--- a/arch/powerpc/lib/Makefile
+++ b/arch/powerpc/lib/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += bat_rw.o
 obj-y += board.o
 obj-y += extable.o
diff --git a/arch/powerpc/mach-mpc5xxx/Kconfig b/arch/powerpc/mach-mpc5xxx/Kconfig
index 4da947dc6cfc..e78c2fa350b1 100644
--- a/arch/powerpc/mach-mpc5xxx/Kconfig
+++ b/arch/powerpc/mach-mpc5xxx/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if ARCH_MPC5XXX
 
 config ARCH_TEXT_BASE
diff --git a/arch/powerpc/mach-mpc5xxx/Makefile b/arch/powerpc/mach-mpc5xxx/Makefile
index 101d0618152a..9fc45c08bb31 100644
--- a/arch/powerpc/mach-mpc5xxx/Makefile
+++ b/arch/powerpc/mach-mpc5xxx/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y 				+= cpu.o
 obj-y				+= cpu_init.o
 obj-y				+= loadtask.o
diff --git a/arch/powerpc/mach-mpc85xx/Kconfig b/arch/powerpc/mach-mpc85xx/Kconfig
index aa518b98fca8..550c554286d7 100644
--- a/arch/powerpc/mach-mpc85xx/Kconfig
+++ b/arch/powerpc/mach-mpc85xx/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 if ARCH_MPC85XX
 
 config MMU
diff --git a/arch/powerpc/mach-mpc85xx/Makefile b/arch/powerpc/mach-mpc85xx/Makefile
index 9886c7da45d6..3e23c1b8125d 100644
--- a/arch/powerpc/mach-mpc85xx/Makefile
+++ b/arch/powerpc/mach-mpc85xx/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y 			+= cpuid.o
 obj-y 			+= cpu.o
 obj-y 			+= cpu_init.o
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 8c6669718554..e093ed4226de 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 config RISCV
 	def_bool y
 	select GENERIC_FIND_NEXT_BIT
diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index 9f2a4f825ebb..828b65a0c177 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 menu "SoC selection"
 
 config SOC_ERIZO
diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
index 23ea6178a25a..6fbf1d4dddbf 100644
--- a/arch/riscv/Makefile
+++ b/arch/riscv/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 KBUILD_DEFCONFIG := virt64_defconfig
 
 KBUILD_CPPFLAGS += -fno-strict-aliasing
diff --git a/arch/riscv/boards/riscvemu/Makefile b/arch/riscv/boards/riscvemu/Makefile
index dcfc2937d325..ad283446eaf1 100644
--- a/arch/riscv/boards/riscvemu/Makefile
+++ b/arch/riscv/boards/riscvemu/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig
index 01078bca971f..a8bca8757f28 100644
--- a/arch/sandbox/Kconfig
+++ b/arch/sandbox/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 source "scripts/Kconfig.include"
 
 config SANDBOX
diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile
index 5fc7e227be67..2cf51fa34917 100644
--- a/arch/sandbox/Makefile
+++ b/arch/sandbox/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 KBUILD_DEFCONFIG := sandbox_defconfig
 
 KBUILD_CPPFLAGS += -D__SANDBOX__ -fno-strict-aliasing -fvisibility=hidden
diff --git a/arch/sandbox/board/Makefile b/arch/sandbox/board/Makefile
index ed01cb9c3e25..11688c5aba45 100644
--- a/arch/sandbox/board/Makefile
+++ b/arch/sandbox/board/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += board.o
 obj-y += clock.o
 obj-y += hostfile.o
diff --git a/arch/sandbox/dts/Makefile b/arch/sandbox/dts/Makefile
index c8d83141ceab..9af91cb72c03 100644
--- a/arch/sandbox/dts/Makefile
+++ b/arch/sandbox/dts/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_OFTREE) += \
 	sandbox.dtb.o
 
diff --git a/arch/sandbox/lib/Makefile b/arch/sandbox/lib/Makefile
index b32ca6aaf804..9535305d5bfa 100644
--- a/arch/sandbox/lib/Makefile
+++ b/arch/sandbox/lib/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_ARCH_HAS_STACK_DUMP) += unwind.o
diff --git a/arch/sandbox/os/Makefile b/arch/sandbox/os/Makefile
index 5d0c938ce68c..ebcbe5833b26 100644
--- a/arch/sandbox/os/Makefile
+++ b/arch/sandbox/os/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 machine-y := sandbox
 
 machdirs := $(patsubst %,arch/sandbox/mach-%/,$(machine-y))
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index f40b14dddc00..5e2e26cd6e5b 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1,6 +1,5 @@
-#
-#
-#
+# SPDX-License-Identifier: GPL-2.0-only
+
 config X86
 	bool
 	select HAS_KALLSYMS
diff --git a/arch/x86/Makefile b/arch/x86/Makefile
index a0ce8c17f181..dba5b196b310 100644
--- a/arch/x86/Makefile
+++ b/arch/x86/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 KBUILD_DEFCONFIG := efi_defconfig
 
 KBUILD_CPPFLAGS += -D__X86__
diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile
index 360aebf56936..d713065fd395 100644
--- a/arch/x86/lib/Makefile
+++ b/arch/x86/lib/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_X86_32) += setjmp_32.o
 obj-$(CONFIG_X86_64) += setjmp_64.o
diff --git a/arch/x86/mach-efi/Makefile b/arch/x86/mach-efi/Makefile
index f633e7c7ed95..bddbac8f66b8 100644
--- a/arch/x86/mach-efi/Makefile
+++ b/arch/x86/mach-efi/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_X86_64) += reloc_x86_64.o crt0-efi-x86_64.o
 obj-$(CONFIG_X86_32) += reloc_ia32.o crt0-efi-ia32.o
 obj-y += clocksource.o
diff --git a/common/Kconfig b/common/Kconfig
index e540cba7ebaa..276b2c0d8f7d 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 source "common/boards/Kconfig"
 
 config GREGORIAN_CALENDER
diff --git a/common/Makefile b/common/Makefile
index f4496c4d9b69..35f2120496ea 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y				+= boards/
 obj-y				+= memory.o
 obj-y				+= memory_display.o
diff --git a/common/partitions/Kconfig b/common/partitions/Kconfig
index be9405a6495f..7f12383082c4 100644
--- a/common/partitions/Kconfig
+++ b/common/partitions/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 config PARTITION_DISK
 	depends on PARTITION
 	depends on BLOCK
diff --git a/common/partitions/Makefile b/common/partitions/Makefile
index 2b0c5b4b9c77..d304b6f8d587 100644
--- a/common/partitions/Makefile
+++ b/common/partitions/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_PARTITION_DISK_DOS)	+= dos.o
 obj-$(CONFIG_PARTITION_DISK_EFI)	+= efi.o
diff --git a/common/ratp/Kconfig b/common/ratp/Kconfig
index 25150addfd75..43720e30a0e4 100644
--- a/common/ratp/Kconfig
+++ b/common/ratp/Kconfig
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 config CONSOLE_RATP
 	bool
@@ -28,4 +29,4 @@ config RATP_CMD_GPIO
 	depends on GENERIC_GPIO
 	prompt "RATP GPIO support"
 	help
-	  This option adds support for GPIO get/set/direction commands via RATP.
\ No newline at end of file
+	  This option adds support for GPIO get/set/direction commands via RATP.
diff --git a/common/ratp/Makefile b/common/ratp/Makefile
index 71288bcb8ceb..e37ccca1fa5b 100644
--- a/common/ratp/Makefile
+++ b/common/ratp/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += ratp.o
 obj-y += ping.o
 obj-y += getenv.o
diff --git a/common/state/Makefile b/common/state/Makefile
index fcf9add52cbe..93215dd06921 100644
--- a/common/state/Makefile
+++ b/common/state/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += state.o
 obj-y += state_variables.o
 obj-y += backend_format_dtb.o
diff --git a/crypto/Kconfig b/crypto/Kconfig
index ff83a40f5b43..3b68836b3482 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 menu "Crypto support"
 
 config CRC32
diff --git a/crypto/Makefile b/crypto/Makefile
index 5da58d799882..be0f79d4e39c 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_CRC32)	+= crc32.o
 obj-pbl-$(CONFIG_CRC_ITU_T)	+= crc-itu-t.o
 obj-$(CONFIG_CRC7)	+= crc7.o
diff --git a/defaultenv/Makefile b/defaultenv/Makefile
index 68790321187d..1eaca9f41087 100644
--- a/defaultenv/Makefile
+++ b/defaultenv/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 bbenv-$(CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW) += defaultenv-2-base
 bbenv-$(CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU) += defaultenv-2-menu
 bbenv-$(CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_DFU) += defaultenv-2-dfu
diff --git a/firmware/Kconfig b/firmware/Kconfig
index b44753892776..b4a6fd913709 100644
--- a/firmware/Kconfig
+++ b/firmware/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 menu "Firmware files"
 
 config EXTRA_FIRMWARE_DIR
diff --git a/fs/Kconfig b/fs/Kconfig
index e0405de334ee..aeba00073eed 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 menu "Filesystem support"
 
diff --git a/fs/Makefile b/fs/Makefile
index fa950941de92..6160ef4e1a0b 100644
--- a/fs/Makefile
+++ b/fs/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_FS_CRAMFS)	+= cramfs/
 obj-$(CONFIG_FS_EXT4)	+= ext4/
 obj-$(CONFIG_FS_RAMFS)	+= ramfs.o
diff --git a/fs/cramfs/Makefile b/fs/cramfs/Makefile
index 4e84a98fe119..1b54096664b2 100644
--- a/fs/cramfs/Makefile
+++ b/fs/cramfs/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y	+= cramfs.o
 obj-y	+= uncompress.o
diff --git a/fs/ext4/Kconfig b/fs/ext4/Kconfig
index f36043d9a743..cb01675507ca 100644
--- a/fs/ext4/Kconfig
+++ b/fs/ext4/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 config FS_EXT4
 	bool
 	prompt "ext4 filesystem support"
diff --git a/fs/ext4/Makefile b/fs/ext4/Makefile
index 5084e3fb25ab..223f50e470f6 100644
--- a/fs/ext4/Makefile
+++ b/fs/ext4/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_FS_EXT4) += ext4fs.o ext4_common.o ext_barebox.o
diff --git a/fs/fat/Kconfig b/fs/fat/Kconfig
index bc3b4b69e870..8cd3b604baeb 100644
--- a/fs/fat/Kconfig
+++ b/fs/fat/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 menuconfig FS_FAT
 	bool
 	select FS_LEGACY
diff --git a/fs/fat/Makefile b/fs/fat/Makefile
index fe47569bda09..7a7a5ccdc688 100644
--- a/fs/fat/Makefile
+++ b/fs/fat/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += fat.o
 pbl-y += fat-pbl.o
 obj-pbl-y += ff.o fat-diskio.o
diff --git a/fs/jffs2/Kconfig b/fs/jffs2/Kconfig
index 3121d369b470..329e7b806a6e 100644
--- a/fs/jffs2/Kconfig
+++ b/fs/jffs2/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 menuconfig FS_JFFS2
 	bool
 	select CRC32
diff --git a/fs/jffs2/Makefile b/fs/jffs2/Makefile
index a4da48d3c3c6..3c5bfd261c48 100644
--- a/fs/jffs2/Makefile
+++ b/fs/jffs2/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += compr.o dir.o nodelist.o malloc.o
 obj-y += read.o readinode.o scan.o
 obj-y += build.o fs.o
diff --git a/fs/pstore/Kconfig b/fs/pstore/Kconfig
index 30c2de19c82a..ff9091d3f39f 100644
--- a/fs/pstore/Kconfig
+++ b/fs/pstore/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 menuconfig FS_PSTORE
 	select FS_LEGACY
 	bool
diff --git a/fs/pstore/Makefile b/fs/pstore/Makefile
index c4043e1a8fb2..18475497a3f3 100644
--- a/fs/pstore/Makefile
+++ b/fs/pstore/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #
 # Makefile for the linux pstorefs routines.
 #
diff --git a/fs/squashfs/Kconfig b/fs/squashfs/Kconfig
index 19b8297af622..af187a2a8ac7 100644
--- a/fs/squashfs/Kconfig
+++ b/fs/squashfs/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 menuconfig FS_SQUASHFS
 	bool
 	prompt "squashfs support"
diff --git a/fs/squashfs/Makefile b/fs/squashfs/Makefile
index 81fc7e570d81..59a78a24b0d7 100644
--- a/fs/squashfs/Makefile
+++ b/fs/squashfs/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y	+= squashfs.o
 obj-y	+= block.o
 obj-y	+= cache.o
diff --git a/fs/ubifs/Kconfig b/fs/ubifs/Kconfig
index 889a2be97a5f..ae58c2b7f230 100644
--- a/fs/ubifs/Kconfig
+++ b/fs/ubifs/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 menuconfig FS_UBIFS
 	bool
 	depends on MTD_UBI
diff --git a/fs/ubifs/Makefile b/fs/ubifs/Makefile
index d8c4b2299eb8..7a1ce4e8fcc0 100644
--- a/fs/ubifs/Makefile
+++ b/fs/ubifs/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += ubifs.o io.o super.o sb.o master.o
 obj-y += scan.o dir.o misc.o
 obj-y += tnc.o tnc_misc.o debug.o
diff --git a/images/Makefile b/images/Makefile
index cc330d957597..5e2b9ecaaa9f 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # barebox image generation Makefile
 #
diff --git a/lib/Kconfig b/lib/Kconfig
index 718033e56e64..53c0e70e3a7c 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 menu "Library routines"
 config PARAMETER
 	bool
diff --git a/lib/Makefile b/lib/Makefile
index 9b37d847e0cc..3f6653d74e9a 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y			+= bcd.o
 obj-$(CONFIG_BOOTSTRAP)	+= bootstrap/
 obj-pbl-y		+= ctype.o
diff --git a/lib/bootstrap/Kconfig b/lib/bootstrap/Kconfig
index 645f0b4b78dd..5cd6035beef4 100644
--- a/lib/bootstrap/Kconfig
+++ b/lib/bootstrap/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 menuconfig BOOTSTRAP
 	bool "Library bootstrap routines"
 	depends on SHELL_NONE
diff --git a/lib/bootstrap/Makefile b/lib/bootstrap/Makefile
index cbaa49f9d9da..295d63e07458 100644
--- a/lib/bootstrap/Makefile
+++ b/lib/bootstrap/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y				+= common.o
 obj-$(CONFIG_BOOTSTRAP_DEVFS)	+= devfs.o
 obj-$(CONFIG_BOOTSTRAP_DISK)	+= disk.o
diff --git a/lib/fonts/Kconfig b/lib/fonts/Kconfig
index e1a736d137c2..3201364cae27 100644
--- a/lib/fonts/Kconfig
+++ b/lib/fonts/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #
 # Font configuration
 #
diff --git a/lib/fonts/Makefile b/lib/fonts/Makefile
index 394e2c5e4c18..1eae8ee67b35 100644
--- a/lib/fonts/Makefile
+++ b/lib/fonts/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 # Font handling
 
 font-objs := fonts.o
diff --git a/lib/gui/Kconfig b/lib/gui/Kconfig
index 2625d9fb2fbe..d102604335b5 100644
--- a/lib/gui/Kconfig
+++ b/lib/gui/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 menu "Library gui routines"
 
 config IMAGE_RENDERER
diff --git a/lib/gui/Makefile b/lib/gui/Makefile
index 31e66225d7c0..59caa8fbeb8a 100644
--- a/lib/gui/Makefile
+++ b/lib/gui/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_BMP)	+= bmp.o
 obj-$(CONFIG_IMAGE_RENDERER)	+= image_renderer.o graphic_utils.o
 obj-$(CONFIG_PNG)	+= png.o
diff --git a/lib/kasan/Kconfig b/lib/kasan/Kconfig
index 7a18cf95be87..46fc4f263b3e 100644
--- a/lib/kasan/Kconfig
+++ b/lib/kasan/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 source "scripts/Kconfig.include"
 
 config HAVE_ARCH_KASAN
diff --git a/lib/kasan/Makefile b/lib/kasan/Makefile
index 31e9d890d538..e3f4bb61f900 100644
--- a/lib/kasan/Makefile
+++ b/lib/kasan/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 obj-y += generic_report.o generic.o report.o common.o test_kasan.o
 KASAN_SANITIZE_generic_report.o := n
diff --git a/lib/logo/Kconfig b/lib/logo/Kconfig
index 7d55f7fa2727..56ec76afb6cf 100644
--- a/lib/logo/Kconfig
+++ b/lib/logo/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 menuconfig BAREBOX_LOGO
 	bool "include barebox logos in build"
 	help
diff --git a/lib/logo/Makefile b/lib/logo/Makefile
index f08beef76b95..3e36cf911f94 100644
--- a/lib/logo/Makefile
+++ b/lib/logo/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 OPTS_barebox-logo-w64.bblogo = -resize 64
 bblogo-$(CONFIG_BAREBOX_LOGO_64) += barebox-logo-w64
diff --git a/lib/lz4/Makefile b/lib/lz4/Makefile
index 7f548c6d1c5c..7156ec914589 100644
--- a/lib/lz4/Makefile
+++ b/lib/lz4/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_LZ4_DECOMPRESS) += lz4_decompress.o
diff --git a/lib/lzo/Kconfig b/lib/lzo/Kconfig
index 17b0083236af..2ead1321e862 100644
--- a/lib/lzo/Kconfig
+++ b/lib/lzo/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 config LZO_DECOMPRESS
 	bool "include lzo uncompression support"
 	select UNCOMPRESS
diff --git a/lib/lzo/Makefile b/lib/lzo/Makefile
index 0e576a1c10d2..4ab28ff6f5cd 100644
--- a/lib/lzo/Makefile
+++ b/lib/lzo/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_LZO_DECOMPRESS) += lzo1x_decompress_safe.o
diff --git a/lib/math/Makefile b/lib/math/Makefile
index 756d7dd90d76..2830dedb2ff9 100644
--- a/lib/math/Makefile
+++ b/lib/math/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += div64.o
 pbl-y += div64.o
 obj-y += rational.o
diff --git a/lib/reed_solomon/Makefile b/lib/reed_solomon/Makefile
index c3d7136827ed..f7475981b92e 100644
--- a/lib/reed_solomon/Makefile
+++ b/lib/reed_solomon/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #
 # This is a modified version of reed solomon lib,
 #
diff --git a/lib/xz/Makefile b/lib/xz/Makefile
index 86ba5507335a..23581d2d8c6b 100644
--- a/lib/xz/Makefile
+++ b/lib/xz/Makefile
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_XZ_DECOMPRESS) += xz_crc32.o xz_dec_bcj.o
 obj-$(CONFIG_XZ_DECOMPRESS) += xz_dec_lzma2.o xz_dec_stream.o
diff --git a/lib/zlib_inflate/Makefile b/lib/zlib_inflate/Makefile
index 8e95fcd3c939..bfe12b0d6ed0 100644
--- a/lib/zlib_inflate/Makefile
+++ b/lib/zlib_inflate/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #
 # This is a modified version of zlib, which does all memory
 # allocation ahead of time.
diff --git a/lib/zstd/Makefile b/lib/zstd/Makefile
index 0c4f56c50c5b..4e8689a4855d 100644
--- a/lib/zstd/Makefile
+++ b/lib/zstd/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-$(CONFIG_ZSTD_DECOMPRESS) += zstd_decompress.o
 
 ccflags-y += -O3
diff --git a/net/Kconfig b/net/Kconfig
index 3512055c456a..59f14c23cba2 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 menuconfig NET
 	bool "Networking Support"
 	select POLLER
diff --git a/net/Makefile b/net/Makefile
index 962b2dec58e8..c93d0772c3e4 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y			+= lib.o
 obj-$(CONFIG_NET)	+= eth.o
 obj-$(CONFIG_NET)	+= net.o
diff --git a/pbl/Kconfig b/pbl/Kconfig
index 5fc9971084a5..ce0acbb646c7 100644
--- a/pbl/Kconfig
+++ b/pbl/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 config HAVE_PBL_IMAGE
 	bool
 
diff --git a/pbl/Makefile b/pbl/Makefile
index 9faa56ac91d1..f6e98e78be3f 100644
--- a/pbl/Makefile
+++ b/pbl/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #
 # only unsed by the pbl
 #
diff --git a/scripts/Kconfig b/scripts/Kconfig
index 96b0d26f8874..1ec907b5f1cc 100644
--- a/scripts/Kconfig
+++ b/scripts/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 menu "Host Tools"
 
 config COMPILE_HOST_TOOLS
diff --git a/scripts/Makefile b/scripts/Makefile
index dc5fa75f908b..2a17058333e7 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 ###
 # scripts contains sources for various helper programs used throughout
 # barebox for the build process.
diff --git a/scripts/imx/Kconfig b/scripts/imx/Kconfig
index ef83fa14dd14..759f5521a5e5 100644
--- a/scripts/imx/Kconfig
+++ b/scripts/imx/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 config ARCH_IMX_USBLOADER
 	depends on ARCH_MXS || ARCH_IMX || COMPILE_HOST_TOOLS
 	bool "imx-usb-loader"
diff --git a/scripts/imx/Makefile b/scripts/imx/Makefile
index a7f487a0452c..d62277bb5430 100644
--- a/scripts/imx/Makefile
+++ b/scripts/imx/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 hostprogs-always-$(CONFIG_ARCH_IMX_IMXIMAGE)	+= imx-image
 hostprogs-always-$(CONFIG_ARCH_IMX_USBLOADER)	+= imx-usb-loader
 
diff --git a/scripts/mod/Makefile b/scripts/mod/Makefile
index 9926ed08dc57..b381877a8330 100644
--- a/scripts/mod/Makefile
+++ b/scripts/mod/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 hostprogs-always-y	+= modpost mk_elfconfig
 always-y		+= empty.o
 
diff --git a/scripts/tegra/Makefile b/scripts/tegra/Makefile
index dec0b529d6a4..2c682786b168 100644
--- a/scripts/tegra/Makefile
+++ b/scripts/tegra/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 hostprogs-always-$(CONFIG_ARCH_TEGRA) += cbootimage
 
 HOSTLDLIBS_cbootimage  = '-lm'
diff --git a/test/Kconfig b/test/Kconfig
index eece702e68aa..958b483ea946 100644
--- a/test/Kconfig
+++ b/test/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 menuconfig TEST
 	bool "Testing"
 
diff --git a/test/Makefile b/test/Makefile
index 1b9eb2171a82..ac2aa2843518 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 obj-y += self/
-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 03/11] treewide: add SPDX-License-Identifier for .gitignore
  2022-01-03 12:05 [PATCH 00/11] treewide: SPDXify files without license statement Ahmad Fatoum
  2022-01-03 12:05 ` [PATCH 01/11] commands: set SPDX-License-Identifier for " Ahmad Fatoum
  2022-01-03 12:05 ` [PATCH 02/11] treewide: add SPDX-License-Identifier for Kbuild/Kconfig Ahmad Fatoum
@ 2022-01-03 12:05 ` Ahmad Fatoum
  2022-01-03 12:05 ` [PATCH 04/11] images: add SPDX-License-Identifiers Ahmad Fatoum
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: Ahmad Fatoum @ 2022-01-03 12:05 UTC (permalink / raw)
  To: barebox; +Cc: ukl, rhi, Ahmad Fatoum

Makes the files not appear when searching for files that lack
SPDX-License-Identifier.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 .gitignore                                   | 1 +
 Documentation/.gitignore                     | 2 ++
 arch/arm/boards/nxp-imx8mq-evk/.gitignore    | 2 ++
 arch/arm/boards/phytec-som-imx8mq/.gitignore | 2 ++
 arch/arm/boards/qemu-virt/.gitignore         | 2 ++
 arch/arm/crypto/.gitignore                   | 2 ++
 arch/arm/lib32/.gitignore                    | 2 ++
 arch/arm/lib64/.gitignore                    | 2 ++
 arch/mips/lib/.gitignore                     | 2 ++
 arch/mips/pbl/.gitignore                     | 2 ++
 arch/openrisc/cpu/.gitignore                 | 2 ++
 arch/powerpc/boards/.gitignore               | 2 ++
 arch/powerpc/mach-mpc85xx/.gitignore         | 2 ++
 arch/riscv/lib/.gitignore                    | 2 ++
 arch/sandbox/board/.gitignore                | 2 ++
 arch/x86/mach-efi/.gitignore                 | 2 ++
 common/.gitignore                            | 2 ++
 crypto/.gitignore                            | 2 ++
 defaultenv/.gitignore                        | 2 ++
 firmware/.gitignore                          | 2 ++
 images/.gitignore                            | 2 ++
 include/.gitignore                           | 2 ++
 lib/logo/.gitignore                          | 2 ++
 scripts/.gitignore                           | 2 ++
 scripts/dtc/.gitignore                       | 2 ++
 scripts/imx/.gitignore                       | 2 ++
 scripts/mod/.gitignore                       | 2 ++
 scripts/tegra/.gitignore                     | 2 ++
 test/.gitignore                              | 2 ++
 29 files changed, 57 insertions(+)

diff --git a/.gitignore b/.gitignore
index 529bcfc2128e..d551a610d4c0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # NOTE! Don't add files that are generated in specific
 # subdirectories here. Add them in the ".gitignore" file
diff --git a/Documentation/.gitignore b/Documentation/.gitignore
index 5c36dc3ec5de..e8b2851d2552 100644
--- a/Documentation/.gitignore
+++ b/Documentation/.gitignore
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 build
 commands
 html
diff --git a/arch/arm/boards/nxp-imx8mq-evk/.gitignore b/arch/arm/boards/nxp-imx8mq-evk/.gitignore
index ef13747c92ee..cafa52b2079a 100644
--- a/arch/arm/boards/nxp-imx8mq-evk/.gitignore
+++ b/arch/arm/boards/nxp-imx8mq-evk/.gitignore
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 *.ddr-phy-fw*
diff --git a/arch/arm/boards/phytec-som-imx8mq/.gitignore b/arch/arm/boards/phytec-som-imx8mq/.gitignore
index ef13747c92ee..cafa52b2079a 100644
--- a/arch/arm/boards/phytec-som-imx8mq/.gitignore
+++ b/arch/arm/boards/phytec-som-imx8mq/.gitignore
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 *.ddr-phy-fw*
diff --git a/arch/arm/boards/qemu-virt/.gitignore b/arch/arm/boards/qemu-virt/.gitignore
index 5d65b54bf17a..3e3932a3bfba 100644
--- a/arch/arm/boards/qemu-virt/.gitignore
+++ b/arch/arm/boards/qemu-virt/.gitignore
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 *.dtb*
diff --git a/arch/arm/crypto/.gitignore b/arch/arm/crypto/.gitignore
index b22a068f76f2..545a1b084d4e 100644
--- a/arch/arm/crypto/.gitignore
+++ b/arch/arm/crypto/.gitignore
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 /sha256-core.S
diff --git a/arch/arm/lib32/.gitignore b/arch/arm/lib32/.gitignore
index d1165788c9ab..03987a700942 100644
--- a/arch/arm/lib32/.gitignore
+++ b/arch/arm/lib32/.gitignore
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 barebox.lds
diff --git a/arch/arm/lib64/.gitignore b/arch/arm/lib64/.gitignore
index d1165788c9ab..03987a700942 100644
--- a/arch/arm/lib64/.gitignore
+++ b/arch/arm/lib64/.gitignore
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 barebox.lds
diff --git a/arch/mips/lib/.gitignore b/arch/mips/lib/.gitignore
index d1165788c9ab..03987a700942 100644
--- a/arch/mips/lib/.gitignore
+++ b/arch/mips/lib/.gitignore
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 barebox.lds
diff --git a/arch/mips/pbl/.gitignore b/arch/mips/pbl/.gitignore
index be604a81bf86..667b44eaf356 100644
--- a/arch/mips/pbl/.gitignore
+++ b/arch/mips/pbl/.gitignore
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 piggy.gzip
 piggy.lzo
 piggy.lz4
diff --git a/arch/openrisc/cpu/.gitignore b/arch/openrisc/cpu/.gitignore
index d1165788c9ab..03987a700942 100644
--- a/arch/openrisc/cpu/.gitignore
+++ b/arch/openrisc/cpu/.gitignore
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 barebox.lds
diff --git a/arch/powerpc/boards/.gitignore b/arch/powerpc/boards/.gitignore
index d1165788c9ab..03987a700942 100644
--- a/arch/powerpc/boards/.gitignore
+++ b/arch/powerpc/boards/.gitignore
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 barebox.lds
diff --git a/arch/powerpc/mach-mpc85xx/.gitignore b/arch/powerpc/mach-mpc85xx/.gitignore
index d1165788c9ab..03987a700942 100644
--- a/arch/powerpc/mach-mpc85xx/.gitignore
+++ b/arch/powerpc/mach-mpc85xx/.gitignore
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 barebox.lds
diff --git a/arch/riscv/lib/.gitignore b/arch/riscv/lib/.gitignore
index d1165788c9ab..03987a700942 100644
--- a/arch/riscv/lib/.gitignore
+++ b/arch/riscv/lib/.gitignore
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 barebox.lds
diff --git a/arch/sandbox/board/.gitignore b/arch/sandbox/board/.gitignore
index d1165788c9ab..03987a700942 100644
--- a/arch/sandbox/board/.gitignore
+++ b/arch/sandbox/board/.gitignore
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 barebox.lds
diff --git a/arch/x86/mach-efi/.gitignore b/arch/x86/mach-efi/.gitignore
index 847e317701f6..0dae36ae58e6 100644
--- a/arch/x86/mach-efi/.gitignore
+++ b/arch/x86/mach-efi/.gitignore
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 elf_x86_64_efi.lds
 elf_ia32_efi.lds
diff --git a/common/.gitignore b/common/.gitignore
index 8e0d6c160e8c..e3e3d504dc4b 100644
--- a/common/.gitignore
+++ b/common/.gitignore
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 module.lds
 barebox_default_env*
diff --git a/crypto/.gitignore b/crypto/.gitignore
index 92d8af3cf491..3d5e57e7dd37 100644
--- a/crypto/.gitignore
+++ b/crypto/.gitignore
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 rsa-keys.h
 rsa-keys.h.tmp
diff --git a/defaultenv/.gitignore b/defaultenv/.gitignore
index 7c338505990d..e2ef3c4205cb 100644
--- a/defaultenv/.gitignore
+++ b/defaultenv/.gitignore
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 barebox_default_env*
 barebox_zero_env
diff --git a/firmware/.gitignore b/firmware/.gitignore
index a8a0dcec4472..4f3e56d8b719 100644
--- a/firmware/.gitignore
+++ b/firmware/.gitignore
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 *.bin
diff --git a/images/.gitignore b/images/.gitignore
index 3a9a77dad16e..1aa9620a42d8 100644
--- a/images/.gitignore
+++ b/images/.gitignore
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 *.pbl
 *.pblb
 *.img
diff --git a/include/.gitignore b/include/.gitignore
index 18e58a752ad7..3ac630625dc7 100644
--- a/include/.gitignore
+++ b/include/.gitignore
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 /config.h
diff --git a/lib/logo/.gitignore b/lib/logo/.gitignore
index 0d5475cb7878..800a44c41472 100644
--- a/lib/logo/.gitignore
+++ b/lib/logo/.gitignore
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 barebox-logo-w64.bblogo
 barebox-logo-w64.bblogo.S
 barebox-logo-w240.bblogo
diff --git a/scripts/.gitignore b/scripts/.gitignore
index ae70c92af8a3..6ef43640b79f 100644
--- a/scripts/.gitignore
+++ b/scripts/.gitignore
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 bin2c
 mkimage
 fix_size
diff --git a/scripts/dtc/.gitignore b/scripts/dtc/.gitignore
index 2c0d6a1bf3e1..0079e3f1b516 100644
--- a/scripts/dtc/.gitignore
+++ b/scripts/dtc/.gitignore
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 dtc
 fdtget
diff --git a/scripts/imx/.gitignore b/scripts/imx/.gitignore
index 341aec9ee435..dce5c3306c26 100644
--- a/scripts/imx/.gitignore
+++ b/scripts/imx/.gitignore
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 imx-usb-loader
 imx-usb-loader-target
 imx-image
diff --git a/scripts/mod/.gitignore b/scripts/mod/.gitignore
index a6dd5e27e2f5..f507ef8560eb 100644
--- a/scripts/mod/.gitignore
+++ b/scripts/mod/.gitignore
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 elfconfig.h
 mk_elfconfig
 modpost
diff --git a/scripts/tegra/.gitignore b/scripts/tegra/.gitignore
index 5d5891b24389..96cc56e4a790 100644
--- a/scripts/tegra/.gitignore
+++ b/scripts/tegra/.gitignore
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 cbootimage
diff --git a/test/.gitignore b/test/.gitignore
index bee8a64b79a9..1a4103cb05f7 100644
--- a/test/.gitignore
+++ b/test/.gitignore
@@ -1 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 __pycache__
-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 04/11] images: add SPDX-License-Identifiers
  2022-01-03 12:05 [PATCH 00/11] treewide: SPDXify files without license statement Ahmad Fatoum
                   ` (2 preceding siblings ...)
  2022-01-03 12:05 ` [PATCH 03/11] treewide: add SPDX-License-Identifier for .gitignore Ahmad Fatoum
@ 2022-01-03 12:05 ` Ahmad Fatoum
  2022-01-03 12:05 ` [PATCH 05/11] fs: jffs2: add SPDX-License-Identifier: GPL-2.0-only Ahmad Fatoum
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: Ahmad Fatoum @ 2022-01-03 12:05 UTC (permalink / raw)
  To: barebox; +Cc: ukl, rhi, Ahmad Fatoum

They have no explicit license and thus have the project's license:
GPL-2.0-only. Record this.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 images/Makefile.am33xx     | 1 +
 images/Makefile.am35xx     | 1 +
 images/Makefile.ar231x     | 2 ++
 images/Makefile.at91       | 1 +
 images/Makefile.ath79      | 2 ++
 images/Makefile.bcm283x    | 3 ++-
 images/Makefile.bcm47xx    | 2 ++
 images/Makefile.imx        | 1 +
 images/Makefile.layerscape | 1 +
 images/Makefile.loongson   | 2 ++
 images/Makefile.malta      | 2 ++
 images/Makefile.mvebu      | 1 +
 images/Makefile.mxs        | 1 +
 images/Makefile.omap3      | 2 ++
 images/Makefile.rockchip   | 1 +
 images/Makefile.socfpga    | 1 +
 images/Makefile.tegra      | 1 +
 images/Makefile.vexpress   | 1 +
 images/Makefile.xburst     | 2 ++
 images/Makefile.zynq       | 1 +
 images/piggy.S             | 2 ++
 21 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/images/Makefile.am33xx b/images/Makefile.am33xx
index 1de2474df5c9..add676117c6e 100644
--- a/images/Makefile.am33xx
+++ b/images/Makefile.am33xx
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 # %.mlo - convert into mlo image
 # ----------------------------------------------------------------
diff --git a/images/Makefile.am35xx b/images/Makefile.am35xx
index 6d30baee64bb..d5371d9e112d 100644
--- a/images/Makefile.am35xx
+++ b/images/Makefile.am35xx
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 # %.mlo - convert into mlo image
 # ----------------------------------------------------------------
diff --git a/images/Makefile.ar231x b/images/Makefile.ar231x
index 31b97048660f..8992bc0fd099 100644
--- a/images/Makefile.ar231x
+++ b/images/Makefile.ar231x
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 pblb-$(CONFIG_BOARD_NETGEAR_WG102) += start_netgear_wg102
 FILE_barebox-netgear-wg102.img = start_netgear_wg102.pblb
 image-$(CONFIG_BOARD_NETGEAR_WG102) += barebox-netgear-wg102.img
diff --git a/images/Makefile.at91 b/images/Makefile.at91
index c7a2209e0085..71cc959f5d05 100644
--- a/images/Makefile.at91
+++ b/images/Makefile.at91
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # barebox image generation Makefile for AT91 images
 #
diff --git a/images/Makefile.ath79 b/images/Makefile.ath79
index 072062b0aa9a..018c2223ce9e 100644
--- a/images/Makefile.ath79
+++ b/images/Makefile.ath79
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 pblb-$(CONFIG_SOC_QCA_AR9331) += start_ar9331_spi_trap
 FILE_barebox-ar9331-spi-trap.img = start_ar9331_spi_trap.pblb
 image-$(CONFIG_SOC_QCA_AR9331) += barebox-ar9331-spi-trap.img
diff --git a/images/Makefile.bcm283x b/images/Makefile.bcm283x
index 3fd2c3d06ac9..82787f972c2d 100644
--- a/images/Makefile.bcm283x
+++ b/images/Makefile.bcm283x
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # barebox image generation Makefile for BCM283x images
 #
@@ -16,4 +17,4 @@ image-$(CONFIG_MACH_RPI3) += barebox-raspberry-pi-3.img
 
 pblb-$(CONFIG_MACH_RPI_CM3) += start_raspberry_pi_cm3
 FILE_barebox-raspberry-pi-cm3.img = start_raspberry_pi_cm3.pblb
-image-$(CONFIG_MACH_RPI_CM3) += barebox-raspberry-pi-cm3.img
\ No newline at end of file
+image-$(CONFIG_MACH_RPI_CM3) += barebox-raspberry-pi-cm3.img
diff --git a/images/Makefile.bcm47xx b/images/Makefile.bcm47xx
index 839243e3a81b..569a2b0ed1a3 100644
--- a/images/Makefile.bcm47xx
+++ b/images/Makefile.bcm47xx
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 pblb-$(CONFIG_BOARD_DLINK_DIR320) += start_dlink_dir_320
 FILE_barebox-dlink-dir-320.img = start_dlink_dir_320.pblb
 image-$(CONFIG_BOARD_DLINK_DIR320) += barebox-dlink-dir-320.img
diff --git a/images/Makefile.imx b/images/Makefile.imx
index d5476a326bdc..1dffab989ec3 100644
--- a/images/Makefile.imx
+++ b/images/Makefile.imx
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # barebox image generation Makefile for i.MX images
 #
diff --git a/images/Makefile.layerscape b/images/Makefile.layerscape
index 806c09d8fbce..a180c230c7a9 100644
--- a/images/Makefile.layerscape
+++ b/images/Makefile.layerscape
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # barebox image generation Makefile for NXP Layerscape images
 #
diff --git a/images/Makefile.loongson b/images/Makefile.loongson
index f5918b540778..75c20bf4bccd 100644
--- a/images/Makefile.loongson
+++ b/images/Makefile.loongson
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 pblb-$(CONFIG_BOARD_LOONGSON_TECH_LS1B) += start_loongson_ls1b
 FILE_barebox-loongson-ls1b.img = start_loongson_ls1b.pblb
 image-$(CONFIG_BOARD_LOONGSON_TECH_LS1B) += barebox-loongson-ls1b.img
diff --git a/images/Makefile.malta b/images/Makefile.malta
index 96d7b86b1187..87866f08acf0 100644
--- a/images/Makefile.malta
+++ b/images/Makefile.malta
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 quiet_cmd_bswap32_image = BSWAP4  $@
       cmd_bswap32_image = cp $< $@ && \
 			  truncate -s %4 $@ && \
diff --git a/images/Makefile.mvebu b/images/Makefile.mvebu
index 112227424b75..7c918cb9f184 100644
--- a/images/Makefile.mvebu
+++ b/images/Makefile.mvebu
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # barebox image generation Makefile for Marvell mvebu
 #
diff --git a/images/Makefile.mxs b/images/Makefile.mxs
index ceb7b376a533..87549afe4837 100644
--- a/images/Makefile.mxs
+++ b/images/Makefile.mxs
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # barebox image generation Makefile for MXS images
 #
diff --git a/images/Makefile.omap3 b/images/Makefile.omap3
index 4d87b1da26e0..f8ecb68684d9 100644
--- a/images/Makefile.omap3
+++ b/images/Makefile.omap3
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # %.mlo - convert into mlo image
 # ----------------------------------------------------------------
 quiet_cmd_omap3_mlo_image = MLO     $@
diff --git a/images/Makefile.rockchip b/images/Makefile.rockchip
index 19980914b29d..0a485cad24d1 100644
--- a/images/Makefile.rockchip
+++ b/images/Makefile.rockchip
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # barebox image generation Makefile for Rockchip images
 #
diff --git a/images/Makefile.socfpga b/images/Makefile.socfpga
index 26220178af12..90e3c066dc08 100644
--- a/images/Makefile.socfpga
+++ b/images/Makefile.socfpga
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # barebox image generation Makefile for Altera socfpga
 #
diff --git a/images/Makefile.tegra b/images/Makefile.tegra
index f5b5841e0664..97a92f321cce 100644
--- a/images/Makefile.tegra
+++ b/images/Makefile.tegra
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # barebox image generation Makefile for Tegra images
 #
diff --git a/images/Makefile.vexpress b/images/Makefile.vexpress
index d2af19184558..11c49cca0cbd 100644
--- a/images/Makefile.vexpress
+++ b/images/Makefile.vexpress
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # barebox image generation Makefile for VExpress images
 #
diff --git a/images/Makefile.xburst b/images/Makefile.xburst
index 6c63a5657bdf..13ed130672c9 100644
--- a/images/Makefile.xburst
+++ b/images/Makefile.xburst
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 pblb-$(CONFIG_BOARD_CI20) += start_img_ci20
 FILE_barebox-img-ci20.img = start_img_ci20.pblb
 image-$(CONFIG_BOARD_CI20) += barebox-img-ci20.img
diff --git a/images/Makefile.zynq b/images/Makefile.zynq
index b00e74869714..3e61ad6eb611 100644
--- a/images/Makefile.zynq
+++ b/images/Makefile.zynq
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # barebox image generation Makefile for Xilinx Zynq images
 #
diff --git a/images/piggy.S b/images/piggy.S
index c2274ebac735..654933ea2ffe 100644
--- a/images/piggy.S
+++ b/images/piggy.S
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
         .section .piggydata,"a"
         .globl  input_data
 input_data:
-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 05/11] fs: jffs2: add SPDX-License-Identifier: GPL-2.0-only
  2022-01-03 12:05 [PATCH 00/11] treewide: SPDXify files without license statement Ahmad Fatoum
                   ` (3 preceding siblings ...)
  2022-01-03 12:05 ` [PATCH 04/11] images: add SPDX-License-Identifiers Ahmad Fatoum
@ 2022-01-03 12:05 ` Ahmad Fatoum
  2022-01-03 12:05 ` [PATCH 06/11] include: add SPDX-License-Identifier Ahmad Fatoum
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: Ahmad Fatoum @ 2022-01-03 12:05 UTC (permalink / raw)
  To: barebox; +Cc: ukl, rhi, Ahmad Fatoum

The files refer to the (Linux) top-level LICENSE file. Replace that with
GPL-2.0-only.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 fs/jffs2/acl.h         | 4 +---
 fs/jffs2/build.c       | 4 +---
 fs/jffs2/compr.c       | 4 +---
 fs/jffs2/compr.h       | 4 +---
 fs/jffs2/compr_lzo.c   | 4 +---
 fs/jffs2/compr_rtime.c | 5 +----
 fs/jffs2/compr_rubin.c | 4 +---
 fs/jffs2/compr_zlib.c  | 4 +---
 fs/jffs2/debug.c       | 4 +---
 fs/jffs2/debug.h       | 5 ++---
 fs/jffs2/dir.c         | 4 +---
 fs/jffs2/fs.c          | 4 +---
 fs/jffs2/jffs2_fs_i.h  | 5 ++---
 fs/jffs2/jffs2_fs_sb.h | 5 ++---
 fs/jffs2/malloc.c      | 4 +---
 fs/jffs2/nodelist.c    | 4 +---
 fs/jffs2/nodelist.h    | 4 +---
 fs/jffs2/os-linux.h    | 5 ++---
 fs/jffs2/read.c        | 4 +---
 fs/jffs2/readinode.c   | 4 +---
 fs/jffs2/scan.c        | 4 +---
 fs/jffs2/summary.h     | 4 +---
 fs/jffs2/super.c       | 5 ++---
 fs/jffs2/xattr.h       | 4 +---
 24 files changed, 29 insertions(+), 73 deletions(-)

diff --git a/fs/jffs2/acl.h b/fs/jffs2/acl.h
index 12d0271bdde3..2e1794f5aee4 100644
--- a/fs/jffs2/acl.h
+++ b/fs/jffs2/acl.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2006  NEC Corporation
  *
  * Created by KaiGai Kohei <kaigai@ak.jp.nec.com>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 struct jffs2_acl_entry {
diff --git a/fs/jffs2/build.c b/fs/jffs2/build.c
index f3fc0ade207c..d5757d100bf5 100644
--- a/fs/jffs2/build.c
+++ b/fs/jffs2/build.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/compr.c b/fs/jffs2/compr.c
index 1c5a7d9137e2..04b014199fde 100644
--- a/fs/jffs2/compr.c
+++ b/fs/jffs2/compr.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -7,9 +8,6 @@
  *		    University of Szeged, Hungary
  *
  * Created by Arjan van de Ven <arjan@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 #include <common.h>
diff --git a/fs/jffs2/compr.h b/fs/jffs2/compr.h
index 2e3c368acee5..20267beeca8e 100644
--- a/fs/jffs2/compr.h
+++ b/fs/jffs2/compr.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2004   Ferenc Havasi <havasi@inf.u-szeged.hu>,
  *		      University of Szeged, Hungary
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef __JFFS2_COMPR_H__
diff --git a/fs/jffs2/compr_lzo.c b/fs/jffs2/compr_lzo.c
index 1be30dc60443..643b83fa7474 100644
--- a/fs/jffs2/compr_lzo.c
+++ b/fs/jffs2/compr_lzo.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * Created by Richard Purdie <rpurdie@openedhand.com>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #include <common.h>
diff --git a/fs/jffs2/compr_rtime.c b/fs/jffs2/compr_rtime.c
index d74d7d3d794a..f8bc4ab1142e 100644
--- a/fs/jffs2/compr_rtime.c
+++ b/fs/jffs2/compr_rtime.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -6,10 +7,6 @@
  *
  * Created by Arjan van de Ven <arjanv@redhat.com>
  *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
- *
- *
  * Very simple lz77-ish encoder.
  *
  * Theory of operation: Both encoder and decoder have a list of "last
diff --git a/fs/jffs2/compr_rubin.c b/fs/jffs2/compr_rubin.c
index 3e4faa739a3e..91a500f4fb29 100644
--- a/fs/jffs2/compr_rubin.c
+++ b/fs/jffs2/compr_rubin.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * Created by Arjan van de Ven <arjanv@redhat.com>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/compr_zlib.c b/fs/jffs2/compr_zlib.c
index 222e0d6e5fcf..2b7914f1f5d2 100644
--- a/fs/jffs2/compr_zlib.c
+++ b/fs/jffs2/compr_zlib.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 #include <common.h>
diff --git a/fs/jffs2/debug.c b/fs/jffs2/debug.c
index 536a1786c163..edf853976223 100644
--- a/fs/jffs2/debug.c
+++ b/fs/jffs2/debug.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/debug.h b/fs/jffs2/debug.h
index 97733ecca72f..d40569e6fed9 100644
--- a/fs/jffs2/debug.h
+++ b/fs/jffs2/debug.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +7,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef _JFFS2_DEBUG_H_
diff --git a/fs/jffs2/dir.c b/fs/jffs2/dir.c
index 4d28d2b5531c..34f8d141f289 100644
--- a/fs/jffs2/dir.c
+++ b/fs/jffs2/dir.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 #include <common.h>
diff --git a/fs/jffs2/fs.c b/fs/jffs2/fs.c
index a267ec0669cc..f3f472d6876c 100644
--- a/fs/jffs2/fs.c
+++ b/fs/jffs2/fs.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 #include <common.h>
diff --git a/fs/jffs2/jffs2_fs_i.h b/fs/jffs2/jffs2_fs_i.h
index 2d4b03040fad..5d420a926dd0 100644
--- a/fs/jffs2/jffs2_fs_i.h
+++ b/fs/jffs2/jffs2_fs_i.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +7,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef _JFFS2_FS_I
diff --git a/fs/jffs2/jffs2_fs_sb.h b/fs/jffs2/jffs2_fs_sb.h
index 84d118c2e9de..20fa9a26a4ff 100644
--- a/fs/jffs2/jffs2_fs_sb.h
+++ b/fs/jffs2/jffs2_fs_sb.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +7,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef _JFFS2_FS_SB
diff --git a/fs/jffs2/malloc.c b/fs/jffs2/malloc.c
index 7e3e0797b3b8..202191be944a 100644
--- a/fs/jffs2/malloc.c
+++ b/fs/jffs2/malloc.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/nodelist.c b/fs/jffs2/nodelist.c
index 446407e1380e..94753e1995cb 100644
--- a/fs/jffs2/nodelist.c
+++ b/fs/jffs2/nodelist.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/nodelist.h b/fs/jffs2/nodelist.h
index 26afb7ccd789..b5f7716ce2d0 100644
--- a/fs/jffs2/nodelist.h
+++ b/fs/jffs2/nodelist.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef __JFFS2_NODELIST_H__
diff --git a/fs/jffs2/os-linux.h b/fs/jffs2/os-linux.h
index b86a55e482bc..3f6af905829d 100644
--- a/fs/jffs2/os-linux.h
+++ b/fs/jffs2/os-linux.h
@@ -1,12 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef __JFFS2_OS_LINUX_H__
diff --git a/fs/jffs2/read.c b/fs/jffs2/read.c
index 2848e4d1d86d..a1c3b9d47bb4 100644
--- a/fs/jffs2/read.c
+++ b/fs/jffs2/read.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/readinode.c b/fs/jffs2/readinode.c
index 0fe67cbb6b30..aaf26196135b 100644
--- a/fs/jffs2/readinode.c
+++ b/fs/jffs2/readinode.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/scan.c b/fs/jffs2/scan.c
index 64a5e02c216c..0d74a8f51f97 100644
--- a/fs/jffs2/scan.c
+++ b/fs/jffs2/scan.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/summary.h b/fs/jffs2/summary.h
index a4b4747825e5..87a782f11ec3 100644
--- a/fs/jffs2/summary.h
+++ b/fs/jffs2/summary.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  *		     Zoltan Sogor <weth@inf.u-szeged.hu>,
  *		     Patrik Kluba <pajko@halom.u-szeged.hu>,
  *		     University of Szeged, Hungary
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef JFFS2_SUMMARY_H
diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c
index d9bb6d0bff9c..6001be8e1038 100644
--- a/fs/jffs2/super.c
+++ b/fs/jffs2/super.c
@@ -1,12 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 #include <common.h>
diff --git a/fs/jffs2/xattr.h b/fs/jffs2/xattr.h
index dced8737669e..e348190bd3d1 100644
--- a/fs/jffs2/xattr.h
+++ b/fs/jffs2/xattr.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2006  NEC Corporation
  *
  * Created by KaiGai Kohei <kaigai@ak.jp.nec.com>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef _JFFS2_FS_XATTR_H_
-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 06/11] include: add SPDX-License-Identifier
  2022-01-03 12:05 [PATCH 00/11] treewide: SPDXify files without license statement Ahmad Fatoum
                   ` (4 preceding siblings ...)
  2022-01-03 12:05 ` [PATCH 05/11] fs: jffs2: add SPDX-License-Identifier: GPL-2.0-only Ahmad Fatoum
@ 2022-01-03 12:05 ` Ahmad Fatoum
  2022-01-03 12:05 ` [PATCH 07/11] ARM: i.MX: add SPDX-License-Identifier for DCD Ahmad Fatoum
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: Ahmad Fatoum @ 2022-01-03 12:05 UTC (permalink / raw)
  To: barebox; +Cc: ukl, rhi, Ahmad Fatoum

All these files lack a license statement, so add the default
GPL-2.0-only.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 include/aiodev.h                        | 2 ++
 include/asm-generic/atomic-long.h       | 2 ++
 include/asm-generic/barebox.lds.h       | 2 ++
 include/asm-generic/bitops/__ffs.h      | 2 ++
 include/asm-generic/bitops/__fls.h      | 2 ++
 include/asm-generic/bitops/ffs.h        | 2 ++
 include/asm-generic/bitops/ffz.h        | 2 ++
 include/asm-generic/bitops/find.h       | 2 ++
 include/asm-generic/bitops/fls.h        | 2 ++
 include/asm-generic/bitops/fls64.h      | 2 ++
 include/asm-generic/bitops/hweight.h    | 2 ++
 include/asm-generic/bitops/ops.h        | 2 ++
 include/asm-generic/bitsperlong.h       | 2 ++
 include/asm-generic/bug.h               | 2 ++
 include/asm-generic/errno.h             | 2 ++
 include/asm-generic/int-ll64.h          | 2 ++
 include/asm-generic/ioctl.h             | 2 ++
 include/asm-generic/memory_layout.h     | 2 ++
 include/asm-generic/posix_types.h       | 2 ++
 include/asm-generic/sections.h          | 2 ++
 include/asm-generic/swab.h              | 2 ++
 include/base64.h                        | 2 ++
 include/cramfs/cramfs_fs.h              | 2 ++
 include/crypto/crc.h                    | 2 ++
 include/crypto/des.h                    | 2 ++
 include/crypto/sha.h                    | 2 ++
 include/debug_ll/ns16550.h              | 2 ++
 include/debug_ll/pl011.h                | 2 ++
 include/fastboot.h                      | 2 ++
 include/fpga-bridge.h                   | 1 +
 include/gui/2d-primitives.h             | 2 ++
 include/i2c/i2c-early.h                 | 2 ++
 include/input/input.h                   | 2 ++
 include/input/keyboard.h                | 2 ++
 include/input/matrix_keypad.h           | 2 ++
 include/linux/amba/mmci.h               | 2 ++
 include/linux/amba/pl061.h              | 2 ++
 include/linux/bcd.h                     | 2 ++
 include/linux/bitmap.h                  | 2 ++
 include/linux/bitops.h                  | 2 ++
 include/linux/bitrev.h                  | 2 ++
 include/linux/bug.h                     | 2 ++
 include/linux/byteorder/big_endian.h    | 2 ++
 include/linux/byteorder/generic.h       | 2 ++
 include/linux/byteorder/little_endian.h | 2 ++
 include/linux/circ_buf.h                | 2 ++
 include/linux/compiler_types.h          | 2 ++
 include/linux/const.h                   | 2 ++
 include/linux/crc8.h                    | 2 ++
 include/linux/ctype.h                   | 2 ++
 include/linux/dcache.h                  | 2 ++
 include/linux/decompress/mm.h           | 2 ++
 include/linux/decompress/unlz4.h        | 2 ++
 include/linux/err.h                     | 2 ++
 include/linux/ethtool.h                 | 2 ++
 include/linux/fs.h                      | 2 ++
 include/linux/gcd.h                     | 2 ++
 include/linux/hash.h                    | 2 ++
 include/linux/ioport.h                  | 2 ++
 include/linux/jffs2.h                   | 2 ++
 include/linux/kbuild.h                  | 2 ++
 include/linux/linkage.h                 | 2 ++
 include/linux/list_sort.h               | 2 ++
 include/linux/magic.h                   | 2 ++
 include/linux/mdio-bitbang.h            | 2 ++
 include/linux/mii.h                     | 2 ++
 include/linux/mod_devicetable.h         | 2 ++
 include/linux/mount.h                   | 2 ++
 include/linux/mtd/mtd-abi.h             | 2 ++
 include/linux/mtd/nftl.h                | 2 ++
 include/linux/mutex.h                   | 2 ++
 include/linux/pagemap.h                 | 2 ++
 include/linux/path.h                    | 2 ++
 include/linux/pci.h                     | 2 ++
 include/linux/pci_regs.h                | 2 ++
 include/linux/posix_types.h             | 2 ++
 include/linux/reset-controller.h        | 2 ++
 include/linux/reset.h                   | 2 ++
 include/linux/rtc.h                     | 2 ++
 include/linux/rwsem.h                   | 2 ++
 include/linux/sched.h                   | 2 ++
 include/linux/slab.h                    | 2 ++
 include/linux/smscphy.h                 | 2 ++
 include/linux/spinlock.h                | 2 ++
 include/linux/stat.h                    | 2 ++
 include/linux/stddef.h                  | 2 ++
 include/linux/string.h                  | 2 ++
 include/linux/stringify.h               | 2 ++
 include/linux/swab.h                    | 2 ++
 include/linux/time.h                    | 2 ++
 include/linux/types.h                   | 2 ++
 include/linux/unaligned/access_ok.h     | 2 ++
 include/linux/unaligned/be_byteshift.h  | 2 ++
 include/linux/unaligned/be_memmove.h    | 2 ++
 include/linux/unaligned/be_struct.h     | 2 ++
 include/linux/unaligned/generic.h       | 2 ++
 include/linux/unaligned/le_byteshift.h  | 2 ++
 include/linux/unaligned/le_memmove.h    | 2 ++
 include/linux/unaligned/le_struct.h     | 2 ++
 include/linux/unaligned/memmove.h       | 2 ++
 include/linux/unaligned/packed_struct.h | 2 ++
 include/linux/wait.h                    | 2 ++
 include/linux/xz.h                      | 2 ++
 include/linux/zutil.h                   | 2 ++
 include/machine_id.h                    | 2 ++
 include/mfd/lp3972.h                    | 2 ++
 include/mfd/pfuze.h                     | 2 ++
 include/mtd/mtd-peb.h                   | 2 ++
 include/platform_data/atmel-mci.h       | 2 ++
 include/platform_data/cadence_qspi.h    | 2 ++
 include/platform_data/dw_mmc.h          | 2 ++
 include/platform_data/eth-designware.h  | 2 ++
 include/platform_data/eth-dm9000.h      | 1 +
 include/platform_data/pca953x.h         | 2 ++
 include/pm_domain.h                     | 4 +++-
 include/serial/cadence.h                | 2 ++
 include/serial/imx-uart.h               | 2 ++
 include/slice.h                         | 2 ++
 include/soc/fsl/fsl_udc.h               | 2 ++
 include/soc/imx/imx-nand-bcb.h          | 2 ++
 include/soc/imx8m/clk-early.h           | 2 ++
 include/sys/ioctl.h                     | 2 ++
 include/sys/mount.h                     | 2 ++
 include/sys/stat.h                      | 2 ++
 include/usb/cdc.h                       | 2 ++
 include/usb/ch11.h                      | 2 ++
 include/usb/ch9.h                       | 2 ++
 include/usb/chipidea-imx.h              | 2 ++
 include/usb/ehci.h                      | 2 ++
 include/usb/fastboot.h                  | 2 ++
 include/usb/fsl_usb2.h                  | 2 ++
 include/usb/gadget-multi.h              | 2 ++
 include/usb/musb.h                      | 2 ++
 include/usb/phy.h                       | 2 ++
 include/usb/ulpi.h                      | 2 ++
 include/usb/usbserial.h                 | 2 ++
 include/video/backlight.h               | 2 ++
 include/video/fourcc.h                  | 2 ++
 include/video/vpl.h                     | 2 ++
 include/work.h                          | 2 ++
 140 files changed, 279 insertions(+), 1 deletion(-)

diff --git a/include/aiodev.h b/include/aiodev.h
index d5577156718d..f0c26d7c580c 100644
--- a/include/aiodev.h
+++ b/include/aiodev.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * core.c - Code implementing core functionality of AIODEV susbsystem
  *
diff --git a/include/asm-generic/atomic-long.h b/include/asm-generic/atomic-long.h
index fd1fdad20f66..cafb25172cf6 100644
--- a/include/asm-generic/atomic-long.h
+++ b/include/asm-generic/atomic-long.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_GENERIC_ATOMIC_LONG_H
 #define _ASM_GENERIC_ATOMIC_LONG_H
 /*
diff --git a/include/asm-generic/barebox.lds.h b/include/asm-generic/barebox.lds.h
index a03655d41cc4..a22e251c9d64 100644
--- a/include/asm-generic/barebox.lds.h
+++ b/include/asm-generic/barebox.lds.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 
 /*
  * Align to a 32 byte boundary equal to the
diff --git a/include/asm-generic/bitops/__ffs.h b/include/asm-generic/bitops/__ffs.h
index 9a3274aecf83..6421acb3a5b6 100644
--- a/include/asm-generic/bitops/__ffs.h
+++ b/include/asm-generic/bitops/__ffs.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_GENERIC_BITOPS___FFS_H_
 #define _ASM_GENERIC_BITOPS___FFS_H_
 
diff --git a/include/asm-generic/bitops/__fls.h b/include/asm-generic/bitops/__fls.h
index be24465403d6..a5615539c359 100644
--- a/include/asm-generic/bitops/__fls.h
+++ b/include/asm-generic/bitops/__fls.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_GENERIC_BITOPS___FLS_H_
 #define _ASM_GENERIC_BITOPS___FLS_H_
 
diff --git a/include/asm-generic/bitops/ffs.h b/include/asm-generic/bitops/ffs.h
index 0ff1b8b7c79a..4a375eae14df 100644
--- a/include/asm-generic/bitops/ffs.h
+++ b/include/asm-generic/bitops/ffs.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_GENERIC_BITOPS_FFS_H_
 #define _ASM_GENERIC_BITOPS_FFS_H_
 
diff --git a/include/asm-generic/bitops/ffz.h b/include/asm-generic/bitops/ffz.h
index 6744bd4cdf46..f9f624837ed0 100644
--- a/include/asm-generic/bitops/ffz.h
+++ b/include/asm-generic/bitops/ffz.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_GENERIC_BITOPS_FFZ_H_
 #define _ASM_GENERIC_BITOPS_FFZ_H_
 
diff --git a/include/asm-generic/bitops/find.h b/include/asm-generic/bitops/find.h
index 72a51e5a12ef..2ef6e94fa1ea 100644
--- a/include/asm-generic/bitops/find.h
+++ b/include/asm-generic/bitops/find.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_GENERIC_BITOPS_FIND_H_
 #define _ASM_GENERIC_BITOPS_FIND_H_
 
diff --git a/include/asm-generic/bitops/fls.h b/include/asm-generic/bitops/fls.h
index cc0d3ca95aaa..faa02fc48dfb 100644
--- a/include/asm-generic/bitops/fls.h
+++ b/include/asm-generic/bitops/fls.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_GENERIC_BITOPS_FLS_H_
 #define _ASM_GENERIC_BITOPS_FLS_H_
 
diff --git a/include/asm-generic/bitops/fls64.h b/include/asm-generic/bitops/fls64.h
index 86d403f8b256..45533402f06b 100644
--- a/include/asm-generic/bitops/fls64.h
+++ b/include/asm-generic/bitops/fls64.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_GENERIC_BITOPS_FLS64_H_
 #define _ASM_GENERIC_BITOPS_FLS64_H_
 
diff --git a/include/asm-generic/bitops/hweight.h b/include/asm-generic/bitops/hweight.h
index 7268c8b9ab2e..f0c188b675a8 100644
--- a/include/asm-generic/bitops/hweight.h
+++ b/include/asm-generic/bitops/hweight.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_GENERIC_BITOPS_HWEIGHT_H_
 #define _ASM_GENERIC_BITOPS_HWEIGHT_H_
 
diff --git a/include/asm-generic/bitops/ops.h b/include/asm-generic/bitops/ops.h
index f19bcaa29bfd..1684621922e5 100644
--- a/include/asm-generic/bitops/ops.h
+++ b/include/asm-generic/bitops/ops.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_GENERIC_BITOPS_OPS_H_
 #define _ASM_GENERIC_BITOPS_OPS_H_
 
diff --git a/include/asm-generic/bitsperlong.h b/include/asm-generic/bitsperlong.h
index bb986502988d..836a1d4c83dd 100644
--- a/include/asm-generic/bitsperlong.h
+++ b/include/asm-generic/bitsperlong.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_GENERIC_BITS_PER_LONG
 #define __ASM_GENERIC_BITS_PER_LONG
 
diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h
index 6aa3eada0ec5..f20e1b4d65ac 100644
--- a/include/asm-generic/bug.h
+++ b/include/asm-generic/bug.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_GENERIC_BUG_H
 #define _ASM_GENERIC_BUG_H
 
diff --git a/include/asm-generic/errno.h b/include/asm-generic/errno.h
index 7d99a9537050..a96f8864dfd4 100644
--- a/include/asm-generic/errno.h
+++ b/include/asm-generic/errno.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ARM_ERRNO_H
 #define _ARM_ERRNO_H
 
diff --git a/include/asm-generic/int-ll64.h b/include/asm-generic/int-ll64.h
index f394147c0739..8f220128d7f8 100644
--- a/include/asm-generic/int-ll64.h
+++ b/include/asm-generic/int-ll64.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * asm-generic/int-ll64.h
  *
diff --git a/include/asm-generic/ioctl.h b/include/asm-generic/ioctl.h
index 864181385579..eba15da2cc3e 100644
--- a/include/asm-generic/ioctl.h
+++ b/include/asm-generic/ioctl.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_GENERIC_IOCTL_H
 #define _ASM_GENERIC_IOCTL_H
 
diff --git a/include/asm-generic/memory_layout.h b/include/asm-generic/memory_layout.h
index 0d7ce3fe02a1..5cfd2a43a056 100644
--- a/include/asm-generic/memory_layout.h
+++ b/include/asm-generic/memory_layout.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_GENERIC_MEMORY_LAYOUT_H
 #define __ASM_GENERIC_MEMORY_LAYOUT_H
 
diff --git a/include/asm-generic/posix_types.h b/include/asm-generic/posix_types.h
index 136f161e1520..35123c776a2b 100644
--- a/include/asm-generic/posix_types.h
+++ b/include/asm-generic/posix_types.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_GENERIC_POSIX_TYPES_H
 #define __ASM_GENERIC_POSIX_TYPES_H
 
diff --git a/include/asm-generic/sections.h b/include/asm-generic/sections.h
index 870bff21f668..0b2ed5615bd6 100644
--- a/include/asm-generic/sections.h
+++ b/include/asm-generic/sections.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_GENERIC_SECTIONS_H_
 #define _ASM_GENERIC_SECTIONS_H_
 
diff --git a/include/asm-generic/swab.h b/include/asm-generic/swab.h
index 3ab5add54f75..f652dfe93fa1 100644
--- a/include/asm-generic/swab.h
+++ b/include/asm-generic/swab.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _ASM_GENERIC_SWAB_H
 #define _ASM_GENERIC_SWAB_H
 
diff --git a/include/base64.h b/include/base64.h
index 0df510281df4..993a366b48b0 100644
--- a/include/base64.h
+++ b/include/base64.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __BASE64_H
 #define __BASE64_H
 
diff --git a/include/cramfs/cramfs_fs.h b/include/cramfs/cramfs_fs.h
index d2b67c5fe0aa..6b1d7a62d895 100644
--- a/include/cramfs/cramfs_fs.h
+++ b/include/cramfs/cramfs_fs.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __CRAMFS_H
 #define __CRAMFS_H
 
diff --git a/include/crypto/crc.h b/include/crypto/crc.h
index 6428634d0a27..f36c2d644503 100644
--- a/include/crypto/crc.h
+++ b/include/crypto/crc.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * Common values for CRC algorithms
  */
diff --git a/include/crypto/des.h b/include/crypto/des.h
index 58fdaaa99d7b..abc3d9c59d01 100644
--- a/include/crypto/des.h
+++ b/include/crypto/des.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /* 
  * DES & Triple DES EDE Cipher Algorithms.
  */
diff --git a/include/crypto/sha.h b/include/crypto/sha.h
index 190f8a0e0242..17a489bd4a8d 100644
--- a/include/crypto/sha.h
+++ b/include/crypto/sha.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * Common values for SHA algorithms
  */
diff --git a/include/debug_ll/ns16550.h b/include/debug_ll/ns16550.h
index 373c917d86a3..a4ca7332d300 100644
--- a/include/debug_ll/ns16550.h
+++ b/include/debug_ll/ns16550.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __DEBUG_LL_NS16550_H
 #define __DEBUG_LL_NS16550_H
 
diff --git a/include/debug_ll/pl011.h b/include/debug_ll/pl011.h
index db015a373bc0..12f9ce1564c5 100644
--- a/include/debug_ll/pl011.h
+++ b/include/debug_ll/pl011.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __INCLUDE_ARM_ASM_DEBUG_LL_PL011_H__
 #define __INCLUDE_ARM_ASM_DEBUG_LL_PL011_H__
 
diff --git a/include/fastboot.h b/include/fastboot.h
index cf8a177bf12c..8a98b482fe14 100644
--- a/include/fastboot.h
+++ b/include/fastboot.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __FASTBOOT__
 #define __FASTBOOT__
 
diff --git a/include/fpga-bridge.h b/include/fpga-bridge.h
index fef2a9ccbbd3..300ab17b25ae 100644
--- a/include/fpga-bridge.h
+++ b/include/fpga-bridge.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 #include <common.h>
 
 #ifndef _LINUX_FPGA_BRIDGE_H
diff --git a/include/gui/2d-primitives.h b/include/gui/2d-primitives.h
index 06216bb03c56..4fbddfae2567 100644
--- a/include/gui/2d-primitives.h
+++ b/include/gui/2d-primitives.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __2D_PRIMITIVES__
 #define __2D_PRIMITIVES__
 
diff --git a/include/i2c/i2c-early.h b/include/i2c/i2c-early.h
index d64c1a438448..fa93656e28e8 100644
--- a/include/i2c/i2c-early.h
+++ b/include/i2c/i2c-early.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __I2C_EARLY_H
 #define __I2C_EARLY_H
 
diff --git a/include/input/input.h b/include/input/input.h
index dbf3e7f57406..d169c647bdaf 100644
--- a/include/input/input.h
+++ b/include/input/input.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __INPUT_H
 #define __INPUT_H
 
diff --git a/include/input/keyboard.h b/include/input/keyboard.h
index d1f5bf553ad4..5761273a4ff7 100644
--- a/include/input/keyboard.h
+++ b/include/input/keyboard.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __INPUT_KEYBOARD_H
 #define __INPUT_KEYBOARD_H
 
diff --git a/include/input/matrix_keypad.h b/include/input/matrix_keypad.h
index 03d963af0e73..7b78944f9bf6 100644
--- a/include/input/matrix_keypad.h
+++ b/include/input/matrix_keypad.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _MATRIX_KEYPAD_H
 #define _MATRIX_KEYPAD_H
 
diff --git a/include/linux/amba/mmci.h b/include/linux/amba/mmci.h
index 0bf558124cef..719daadbb7b7 100644
--- a/include/linux/amba/mmci.h
+++ b/include/linux/amba/mmci.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  *  include/linux/amba/mmci.h
  */
diff --git a/include/linux/amba/pl061.h b/include/linux/amba/pl061.h
index d498cd7a8c5f..e1b2fac1523f 100644
--- a/include/linux/amba/pl061.h
+++ b/include/linux/amba/pl061.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __AMBA_PL061_H__
 #define __AMBA_PL061_H__
 
diff --git a/include/linux/bcd.h b/include/linux/bcd.h
index 18fff11fb3ea..718f305bf7c9 100644
--- a/include/linux/bcd.h
+++ b/include/linux/bcd.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _BCD_H
 #define _BCD_H
 
diff --git a/include/linux/bitmap.h b/include/linux/bitmap.h
index 4b98521a833e..adaf5428fe86 100644
--- a/include/linux/bitmap.h
+++ b/include/linux/bitmap.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __LINUX_BITMAP_H
 #define __LINUX_BITMAP_H
 
diff --git a/include/linux/bitops.h b/include/linux/bitops.h
index dd13bf93118c..645fd2e6f68c 100644
--- a/include/linux/bitops.h
+++ b/include/linux/bitops.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_BITOPS_H
 #define _LINUX_BITOPS_H
 #include <asm/types.h>
diff --git a/include/linux/bitrev.h b/include/linux/bitrev.h
index 7ffe03f4693d..ba2965977dd5 100644
--- a/include/linux/bitrev.h
+++ b/include/linux/bitrev.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_BITREV_H
 #define _LINUX_BITREV_H
 
diff --git a/include/linux/bug.h b/include/linux/bug.h
index 8367a11ec227..d8fc328a0706 100644
--- a/include/linux/bug.h
+++ b/include/linux/bug.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_BUG_H
 #define _LINUX_BUG_H
 
diff --git a/include/linux/byteorder/big_endian.h b/include/linux/byteorder/big_endian.h
index 539f710a3938..ba07edf0aeed 100644
--- a/include/linux/byteorder/big_endian.h
+++ b/include/linux/byteorder/big_endian.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_BYTEORDER_BIG_ENDIAN_H
 #define _LINUX_BYTEORDER_BIG_ENDIAN_H
 
diff --git a/include/linux/byteorder/generic.h b/include/linux/byteorder/generic.h
index e59ba455e3ee..d5252959d8a1 100644
--- a/include/linux/byteorder/generic.h
+++ b/include/linux/byteorder/generic.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_BYTEORDER_GENERIC_H
 #define _LINUX_BYTEORDER_GENERIC_H
 
diff --git a/include/linux/byteorder/little_endian.h b/include/linux/byteorder/little_endian.h
index dfe9531fbaf4..e23111d4cd7d 100644
--- a/include/linux/byteorder/little_endian.h
+++ b/include/linux/byteorder/little_endian.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_BYTEORDER_LITTLE_ENDIAN_H
 #define _LINUX_BYTEORDER_LITTLE_ENDIAN_H
 
diff --git a/include/linux/circ_buf.h b/include/linux/circ_buf.h
index 90f2471dc6f2..36b3be9c1476 100644
--- a/include/linux/circ_buf.h
+++ b/include/linux/circ_buf.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * See Documentation/circular-buffers.txt for more information.
  */
diff --git a/include/linux/compiler_types.h b/include/linux/compiler_types.h
index db192becfec4..9a5a6f0e8b17 100644
--- a/include/linux/compiler_types.h
+++ b/include/linux/compiler_types.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __LINUX_COMPILER_TYPES_H
 #define __LINUX_COMPILER_TYPES_H
 
diff --git a/include/linux/const.h b/include/linux/const.h
index c872bfd25e13..07f886d27155 100644
--- a/include/linux/const.h
+++ b/include/linux/const.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /* const.h: Macros for dealing with constants.  */
 
 #ifndef _LINUX_CONST_H
diff --git a/include/linux/crc8.h b/include/linux/crc8.h
index 13c8dabb0441..8fcd6d1324a2 100644
--- a/include/linux/crc8.h
+++ b/include/linux/crc8.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * Copyright (c) 2011 Broadcom Corporation
  *
diff --git a/include/linux/ctype.h b/include/linux/ctype.h
index 633c3862d843..ab9bf910d84d 100644
--- a/include/linux/ctype.h
+++ b/include/linux/ctype.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_CTYPE_H
 #define _LINUX_CTYPE_H
 
diff --git a/include/linux/dcache.h b/include/linux/dcache.h
index a9619422013e..ed7e5c2cbcff 100644
--- a/include/linux/dcache.h
+++ b/include/linux/dcache.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __LINUX_DCACHE_H
 #define __LINUX_DCACHE_H
 
diff --git a/include/linux/decompress/mm.h b/include/linux/decompress/mm.h
index 81676ae9067d..ac0702dfb111 100644
--- a/include/linux/decompress/mm.h
+++ b/include/linux/decompress/mm.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * linux/compr_mm.h
  *
diff --git a/include/linux/decompress/unlz4.h b/include/linux/decompress/unlz4.h
index 7aaafc2b1c62..0ad189d2d9ef 100644
--- a/include/linux/decompress/unlz4.h
+++ b/include/linux/decompress/unlz4.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef DECOMPRESS_UNLZ4_H
 #define DECOMPRESS_UNLZ4_H
 
diff --git a/include/linux/err.h b/include/linux/err.h
index ed563f2c4a71..69efc7c4ac27 100644
--- a/include/linux/err.h
+++ b/include/linux/err.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_ERR_H
 #define _LINUX_ERR_H
 
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h
index 324e40cdeb5f..f47e17ea31bb 100644
--- a/include/linux/ethtool.h
+++ b/include/linux/ethtool.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * ethtool.h: Defines for Linux ethtool.
  *
diff --git a/include/linux/fs.h b/include/linux/fs.h
index a72bc066c30d..fc1357137ade 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_FS_H
 #define _LINUX_FS_H
 
diff --git a/include/linux/gcd.h b/include/linux/gcd.h
index 0ac262162d1f..affb402f22cd 100644
--- a/include/linux/gcd.h
+++ b/include/linux/gcd.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _GCD_H
 #define _GCD_H
 
diff --git a/include/linux/hash.h b/include/linux/hash.h
index ad6fa21d977b..5e62f1bd8c85 100644
--- a/include/linux/hash.h
+++ b/include/linux/hash.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_HASH_H
 #define _LINUX_HASH_H
 /* Fast hashing routine for ints,  longs and pointers.
diff --git a/include/linux/ioport.h b/include/linux/ioport.h
index 295ab4a49dff..ee9587ba0feb 100644
--- a/include/linux/ioport.h
+++ b/include/linux/ioport.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * ioport.h	Definitions of routines for detecting, reserving and
  *		allocating system resources.
diff --git a/include/linux/jffs2.h b/include/linux/jffs2.h
index ed2ebcfc42a1..e34465263cf8 100644
--- a/include/linux/jffs2.h
+++ b/include/linux/jffs2.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
diff --git a/include/linux/kbuild.h b/include/linux/kbuild.h
index 359d4a8682a1..de0f9bdb952f 100644
--- a/include/linux/kbuild.h
+++ b/include/linux/kbuild.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __LINUX_KBUILD_H
 #define __LINUX_KBUILD_H
 
diff --git a/include/linux/linkage.h b/include/linux/linkage.h
index 9fd1f859021b..efb2d6fa407b 100644
--- a/include/linux/linkage.h
+++ b/include/linux/linkage.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_LINKAGE_H
 #define _LINUX_LINKAGE_H
 
diff --git a/include/linux/list_sort.h b/include/linux/list_sort.h
index 1a2df2efb771..9260df2fb1ac 100644
--- a/include/linux/list_sort.h
+++ b/include/linux/list_sort.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_LIST_SORT_H
 #define _LINUX_LIST_SORT_H
 
diff --git a/include/linux/magic.h b/include/linux/magic.h
index 0de181ad73d5..2af96650750a 100644
--- a/include/linux/magic.h
+++ b/include/linux/magic.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __LINUX_MAGIC_H__
 #define __LINUX_MAGIC_H__
 
diff --git a/include/linux/mdio-bitbang.h b/include/linux/mdio-bitbang.h
index 76f52bbbb2f4..a6e60578865f 100644
--- a/include/linux/mdio-bitbang.h
+++ b/include/linux/mdio-bitbang.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __LINUX_MDIO_BITBANG_H
 #define __LINUX_MDIO_BITBANG_H
 
diff --git a/include/linux/mii.h b/include/linux/mii.h
index 5bac6c229a24..257dfd179060 100644
--- a/include/linux/mii.h
+++ b/include/linux/mii.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * linux/mii.h: definitions for MII-compatible transceivers
  * Originally drivers/net/sunhme.h.
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 2c04454260a9..dac3c6e8a57c 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * Device tables which are exported to userspace via
  * scripts/mod/file2alias.c.  You must keep that file in sync with this
diff --git a/include/linux/mount.h b/include/linux/mount.h
index 9557365fb51f..4abeda6b7942 100644
--- a/include/linux/mount.h
+++ b/include/linux/mount.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  *
  * Definitions for mount interface. This describes the in the kernel build
diff --git a/include/linux/mtd/mtd-abi.h b/include/linux/mtd/mtd-abi.h
index b7a8955880fe..b74f4b834897 100644
--- a/include/linux/mtd/mtd-abi.h
+++ b/include/linux/mtd/mtd-abi.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * $Id: mtd-abi.h,v 1.13 2005/11/07 11:14:56 gleixner Exp $
  *
diff --git a/include/linux/mtd/nftl.h b/include/linux/mtd/nftl.h
index 438130625df9..36b80dea7792 100644
--- a/include/linux/mtd/nftl.h
+++ b/include/linux/mtd/nftl.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 
 /* Defines for NAND Flash Translation Layer  */
 /* (c) 1999 Machine Vision Holdings, Inc.    */
diff --git a/include/linux/mutex.h b/include/linux/mutex.h
index de698dbc4fe2..41eda79b763a 100644
--- a/include/linux/mutex.h
+++ b/include/linux/mutex.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * Mutexes: blocking mutual exclusion locks
  *
diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h
index 345bd402b775..20c38a0b8912 100644
--- a/include/linux/pagemap.h
+++ b/include/linux/pagemap.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_PAGEMAP_H
 #define _LINUX_PAGEMAP_H
 
diff --git a/include/linux/path.h b/include/linux/path.h
index cbebdc5c9a60..3891c784d2f0 100644
--- a/include/linux/path.h
+++ b/include/linux/path.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_PATH_H
 #define _LINUX_PATH_H
 
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 486d4251d42a..269e7b354c2e 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  *	pci.h
  *
diff --git a/include/linux/pci_regs.h b/include/linux/pci_regs.h
index efe3443572ba..2c335f583588 100644
--- a/include/linux/pci_regs.h
+++ b/include/linux/pci_regs.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  *	pci_regs.h
  *
diff --git a/include/linux/posix_types.h b/include/linux/posix_types.h
index bd37e1faf459..4a0b852b27a6 100644
--- a/include/linux/posix_types.h
+++ b/include/linux/posix_types.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_POSIX_TYPES_H
 #define _LINUX_POSIX_TYPES_H
 
diff --git a/include/linux/reset-controller.h b/include/linux/reset-controller.h
index aff03a9c62dd..8ace8cd41794 100644
--- a/include/linux/reset-controller.h
+++ b/include/linux/reset-controller.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_RESET_CONTROLLER_H_
 #define _LINUX_RESET_CONTROLLER_H_
 
diff --git a/include/linux/reset.h b/include/linux/reset.h
index 818b06412f8c..d25464d4bd60 100644
--- a/include/linux/reset.h
+++ b/include/linux/reset.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_RESET_H_
 #define _LINUX_RESET_H_
 
diff --git a/include/linux/rtc.h b/include/linux/rtc.h
index 2dacb14239f1..632bc9b7bc70 100644
--- a/include/linux/rtc.h
+++ b/include/linux/rtc.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * Generic RTC interface.
  * This version contains the part of the user interface to the Real Time Clock
diff --git a/include/linux/rwsem.h b/include/linux/rwsem.h
index 5259957ed266..4ed693dc2c37 100644
--- a/include/linux/rwsem.h
+++ b/include/linux/rwsem.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /* rwsem.h: R/W semaphores, public interface
  *
  * Written by David Howells (dhowells@redhat.com).
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 3375a09f2da0..18b90ad8844b 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_SCHED_H
 #define _LINUX_SCHED_H
 
diff --git a/include/linux/slab.h b/include/linux/slab.h
index 806d5bfb21d2..348770a3a28c 100644
--- a/include/linux/slab.h
+++ b/include/linux/slab.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_SLAB_H
 #define _LINUX_SLAB_H
 
diff --git a/include/linux/smscphy.h b/include/linux/smscphy.h
index ce718cbce435..45e1192384c3 100644
--- a/include/linux/smscphy.h
+++ b/include/linux/smscphy.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __LINUX_SMSCPHY_H__
 #define __LINUX_SMSCPHY_H__
 
diff --git a/include/linux/spinlock.h b/include/linux/spinlock.h
index 7d011785eda7..12af3dab231b 100644
--- a/include/linux/spinlock.h
+++ b/include/linux/spinlock.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __LINUX_SPINLOCK_H
 #define __LINUX_SPINLOCK_H
 
diff --git a/include/linux/stat.h b/include/linux/stat.h
index f5043d8bcea7..2bdf3ec9c96c 100644
--- a/include/linux/stat.h
+++ b/include/linux/stat.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_STAT_H
 #define _LINUX_STAT_H
 
diff --git a/include/linux/stddef.h b/include/linux/stddef.h
index 680d0c76627d..5429a7b58295 100644
--- a/include/linux/stddef.h
+++ b/include/linux/stddef.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_STDDEF_H
 #define _LINUX_STDDEF_H
 
diff --git a/include/linux/string.h b/include/linux/string.h
index 47a27a391f0b..3da174116a92 100644
--- a/include/linux/string.h
+++ b/include/linux/string.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_STRING_H_
 #define _LINUX_STRING_H_
 
diff --git a/include/linux/stringify.h b/include/linux/stringify.h
index 841cec8ed525..55f6d04d48b1 100644
--- a/include/linux/stringify.h
+++ b/include/linux/stringify.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __LINUX_STRINGIFY_H
 #define __LINUX_STRINGIFY_H
 
diff --git a/include/linux/swab.h b/include/linux/swab.h
index ea0c02fd5163..243315184e9c 100644
--- a/include/linux/swab.h
+++ b/include/linux/swab.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_SWAB_H
 #define _LINUX_SWAB_H
 
diff --git a/include/linux/time.h b/include/linux/time.h
index 7903139a65b2..ebb7cb82ee5d 100644
--- a/include/linux/time.h
+++ b/include/linux/time.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_TIME_H
 #define _LINUX_TIME_H
 
diff --git a/include/linux/types.h b/include/linux/types.h
index dfef336c198b..5872bd8e381a 100644
--- a/include/linux/types.h
+++ b/include/linux/types.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_TYPES_H
 #define _LINUX_TYPES_H
 #ifndef __ASSEMBLY__
diff --git a/include/linux/unaligned/access_ok.h b/include/linux/unaligned/access_ok.h
index 99c1b4d20b0f..7039ec8ed0a4 100644
--- a/include/linux/unaligned/access_ok.h
+++ b/include/linux/unaligned/access_ok.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_UNALIGNED_ACCESS_OK_H
 #define _LINUX_UNALIGNED_ACCESS_OK_H
 
diff --git a/include/linux/unaligned/be_byteshift.h b/include/linux/unaligned/be_byteshift.h
index 9356b24223ac..632a7308b570 100644
--- a/include/linux/unaligned/be_byteshift.h
+++ b/include/linux/unaligned/be_byteshift.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_UNALIGNED_BE_BYTESHIFT_H
 #define _LINUX_UNALIGNED_BE_BYTESHIFT_H
 
diff --git a/include/linux/unaligned/be_memmove.h b/include/linux/unaligned/be_memmove.h
index c2a76c5c9ed0..0723c286fc23 100644
--- a/include/linux/unaligned/be_memmove.h
+++ b/include/linux/unaligned/be_memmove.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_UNALIGNED_BE_MEMMOVE_H
 #define _LINUX_UNALIGNED_BE_MEMMOVE_H
 
diff --git a/include/linux/unaligned/be_struct.h b/include/linux/unaligned/be_struct.h
index 132415836c50..3cc8fcd68dd0 100644
--- a/include/linux/unaligned/be_struct.h
+++ b/include/linux/unaligned/be_struct.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_UNALIGNED_BE_STRUCT_H
 #define _LINUX_UNALIGNED_BE_STRUCT_H
 
diff --git a/include/linux/unaligned/generic.h b/include/linux/unaligned/generic.h
index 43d5f2af2480..298e977fb7a7 100644
--- a/include/linux/unaligned/generic.h
+++ b/include/linux/unaligned/generic.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_UNALIGNED_GENERIC_H
 #define _LINUX_UNALIGNED_GENERIC_H
 
diff --git a/include/linux/unaligned/le_byteshift.h b/include/linux/unaligned/le_byteshift.h
index be376fb79b64..aa425707f865 100644
--- a/include/linux/unaligned/le_byteshift.h
+++ b/include/linux/unaligned/le_byteshift.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_UNALIGNED_LE_BYTESHIFT_H
 #define _LINUX_UNALIGNED_LE_BYTESHIFT_H
 
diff --git a/include/linux/unaligned/le_memmove.h b/include/linux/unaligned/le_memmove.h
index 269849bee4ec..e21fccc9b96d 100644
--- a/include/linux/unaligned/le_memmove.h
+++ b/include/linux/unaligned/le_memmove.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_UNALIGNED_LE_MEMMOVE_H
 #define _LINUX_UNALIGNED_LE_MEMMOVE_H
 
diff --git a/include/linux/unaligned/le_struct.h b/include/linux/unaligned/le_struct.h
index 088c4572faa8..4bbeba57784c 100644
--- a/include/linux/unaligned/le_struct.h
+++ b/include/linux/unaligned/le_struct.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_UNALIGNED_LE_STRUCT_H
 #define _LINUX_UNALIGNED_LE_STRUCT_H
 
diff --git a/include/linux/unaligned/memmove.h b/include/linux/unaligned/memmove.h
index eeb5a779a4fd..c44dff67ab26 100644
--- a/include/linux/unaligned/memmove.h
+++ b/include/linux/unaligned/memmove.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_UNALIGNED_MEMMOVE_H
 #define _LINUX_UNALIGNED_MEMMOVE_H
 
diff --git a/include/linux/unaligned/packed_struct.h b/include/linux/unaligned/packed_struct.h
index 2498bb9fe002..7caf433fae99 100644
--- a/include/linux/unaligned/packed_struct.h
+++ b/include/linux/unaligned/packed_struct.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_UNALIGNED_PACKED_STRUCT_H
 #define _LINUX_UNALIGNED_PACKED_STRUCT_H
 
diff --git a/include/linux/wait.h b/include/linux/wait.h
index e2df8878ed78..e4b0e2a49207 100644
--- a/include/linux/wait.h
+++ b/include/linux/wait.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_WAIT_H
 #define _LINUX_WAIT_H
 /*
diff --git a/include/linux/xz.h b/include/linux/xz.h
index d1afab056242..77e80ce4b1bb 100644
--- a/include/linux/xz.h
+++ b/include/linux/xz.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * XZ decompressor
  *
diff --git a/include/linux/zutil.h b/include/linux/zutil.h
index 6adfa9a6ffe9..b10b50d0970d 100644
--- a/include/linux/zutil.h
+++ b/include/linux/zutil.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /* zutil.h -- internal interface and configuration of the compression library
  * Copyright (C) 1995-1998 Jean-loup Gailly.
  * For conditions of distribution and use, see copyright notice in zlib.h
diff --git a/include/machine_id.h b/include/machine_id.h
index 31d5e0bb2851..e30bbada1acd 100644
--- a/include/machine_id.h
+++ b/include/machine_id.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACHINE_ID_H__
 #define __MACHINE_ID_H__
 
diff --git a/include/mfd/lp3972.h b/include/mfd/lp3972.h
index edb580111893..40ab98665796 100644
--- a/include/mfd/lp3972.h
+++ b/include/mfd/lp3972.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __ASM_ARCH_LP3972_H
 #define __ASM_ARCH_LP3972_H
 
diff --git a/include/mfd/pfuze.h b/include/mfd/pfuze.h
index 8e021680ef64..4fb3863a723e 100644
--- a/include/mfd/pfuze.h
+++ b/include/mfd/pfuze.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __INCLUDE_PFUZE_H
 #define __INCLUDE_PFUZE_H
 
diff --git a/include/mtd/mtd-peb.h b/include/mtd/mtd-peb.h
index 311f25c3df44..cfcc0be611b5 100644
--- a/include/mtd/mtd-peb.h
+++ b/include/mtd/mtd-peb.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __LINUX_MTD_MTDPEB_H
 #define __LINUX_MTD_MTDPEB_H
 
diff --git a/include/platform_data/atmel-mci.h b/include/platform_data/atmel-mci.h
index d99ee3d1382b..53c2e4dfa5f9 100644
--- a/include/platform_data/atmel-mci.h
+++ b/include/platform_data/atmel-mci.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef PLATFORM_DATA_ATMEL_MCI_H
 #define PLATFORM_DATA_ATMEL_MCI_H
 
diff --git a/include/platform_data/cadence_qspi.h b/include/platform_data/cadence_qspi.h
index ad1a680c9f95..e1095cf6b808 100644
--- a/include/platform_data/cadence_qspi.h
+++ b/include/platform_data/cadence_qspi.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __INCLUDE_PLATFORM_DATA_CADENCE_QSPI_H
 #define __INCLUDE_PLATFORM_DATA_CADENCE_QSPI_H
 
diff --git a/include/platform_data/dw_mmc.h b/include/platform_data/dw_mmc.h
index 4325a4f483d7..6c648d7073b3 100644
--- a/include/platform_data/dw_mmc.h
+++ b/include/platform_data/dw_mmc.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __INCLUDE_PLATFORM_DATA_DW_MMC_H
 #define __INCLUDE_PLATFORM_DATA_DW_MMC_H
 
diff --git a/include/platform_data/eth-designware.h b/include/platform_data/eth-designware.h
index 7a7a26abfde1..df00c5e64f6d 100644
--- a/include/platform_data/eth-designware.h
+++ b/include/platform_data/eth-designware.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __DWC_UNIMAC_H
 #define __DWC_UNIMAC_H
 
diff --git a/include/platform_data/eth-dm9000.h b/include/platform_data/eth-dm9000.h
index a9a4635d2aa8..241552cee266 100644
--- a/include/platform_data/eth-dm9000.h
+++ b/include/platform_data/eth-dm9000.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #ifndef __DM9000_H__
 #define __DM9000_H__
diff --git a/include/platform_data/pca953x.h b/include/platform_data/pca953x.h
index cfd253ebceda..de71c864816c 100644
--- a/include/platform_data/pca953x.h
+++ b/include/platform_data/pca953x.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _LINUX_PCA953X_H
 #define _LINUX_PCA953X_H
 
diff --git a/include/pm_domain.h b/include/pm_domain.h
index 6d59587ece44..48fd170007fd 100644
--- a/include/pm_domain.h
+++ b/include/pm_domain.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _PM_DOMAIN_H
 #define _PM_DOMAIN_H
 
@@ -79,4 +81,4 @@ of_genpd_add_provider_simple(struct device_node *np,
 
 #endif
 
-#endif
\ No newline at end of file
+#endif
diff --git a/include/serial/cadence.h b/include/serial/cadence.h
index f08b5b0cba4a..9105883dd641 100644
--- a/include/serial/cadence.h
+++ b/include/serial/cadence.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __CADENCE_UART_H__
 #define __CADENCE_UART_H__
 
diff --git a/include/serial/imx-uart.h b/include/serial/imx-uart.h
index c0a03ac05401..516f318b68c9 100644
--- a/include/serial/imx-uart.h
+++ b/include/serial/imx-uart.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __IMX_UART_H__
 #define __IMX_UART_H__
 
diff --git a/include/slice.h b/include/slice.h
index 6c4688e308fa..800c5b2de08c 100644
--- a/include/slice.h
+++ b/include/slice.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __SLICE_H
 #define __SLICE_H
 
diff --git a/include/soc/fsl/fsl_udc.h b/include/soc/fsl/fsl_udc.h
index 0b409a9f6be8..9fb6da58a146 100644
--- a/include/soc/fsl/fsl_udc.h
+++ b/include/soc/fsl/fsl_udc.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __FSL_UDC_H
 #define __FSL_UDC_H
 
diff --git a/include/soc/imx/imx-nand-bcb.h b/include/soc/imx/imx-nand-bcb.h
index b60205bd59ee..6c42d804289c 100644
--- a/include/soc/imx/imx-nand-bcb.h
+++ b/include/soc/imx/imx-nand-bcb.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_IMX_NAND_BCB_H
 #define __MACH_IMX_NAND_BCB_H
 
diff --git a/include/soc/imx8m/clk-early.h b/include/soc/imx8m/clk-early.h
index 1e1ca5954336..c2034e54f070 100644
--- a/include/soc/imx8m/clk-early.h
+++ b/include/soc/imx8m/clk-early.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __SOC_IMX8M_CLK_EARLY_H
 #define __SOC_IMX8M_CLK_EARLY_H
 
diff --git a/include/sys/ioctl.h b/include/sys/ioctl.h
index 6d6d3f5c004b..5a949f1f3c0c 100644
--- a/include/sys/ioctl.h
+++ b/include/sys/ioctl.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __SYS_IOCTL_H
 #define __SYS_IOCTL_H
 
diff --git a/include/sys/mount.h b/include/sys/mount.h
index 978f3406e80a..368e54a343c7 100644
--- a/include/sys/mount.h
+++ b/include/sys/mount.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __SYS_MOUNT_H
 #define __SYS_MOUNT_H
 
diff --git a/include/sys/stat.h b/include/sys/stat.h
index 037e5f136d12..0dd43d1f02c8 100644
--- a/include/sys/stat.h
+++ b/include/sys/stat.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __STAT_H
 #define __STAT_H
 
diff --git a/include/usb/cdc.h b/include/usb/cdc.h
index c24124a42ce5..e29429d783ba 100644
--- a/include/usb/cdc.h
+++ b/include/usb/cdc.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * USB Communications Device Class (CDC) definitions
  *
diff --git a/include/usb/ch11.h b/include/usb/ch11.h
index 93f891aea753..c712d80275e1 100644
--- a/include/usb/ch11.h
+++ b/include/usb/ch11.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * This file holds Hub protocol constants and data structures that are
  * defined in chapter 11 (Hub Specification) of the USB 2.0 specification.
diff --git a/include/usb/ch9.h b/include/usb/ch9.h
index 2e06dd89fd02..4c1e7653261c 100644
--- a/include/usb/ch9.h
+++ b/include/usb/ch9.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * This file holds USB constants and structures that are needed for
  * USB device APIs.  These are used by the USB device model, which is
diff --git a/include/usb/chipidea-imx.h b/include/usb/chipidea-imx.h
index dfd84a965033..772f48c631d9 100644
--- a/include/usb/chipidea-imx.h
+++ b/include/usb/chipidea-imx.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __USB_CHIPIDEA_IMX_H
 #define __USB_CHIPIDEA_IMX_H
 
diff --git a/include/usb/ehci.h b/include/usb/ehci.h
index 327500d49aed..d937146b4d23 100644
--- a/include/usb/ehci.h
+++ b/include/usb/ehci.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __USB_EHCI_H
 #define __USB_EHCI_H
 
diff --git a/include/usb/fastboot.h b/include/usb/fastboot.h
index a3609ba5dbe9..7dc445455a84 100644
--- a/include/usb/fastboot.h
+++ b/include/usb/fastboot.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _USB_FASTBOOT_H
 #define _USB_FASTBOOT_H
 
diff --git a/include/usb/fsl_usb2.h b/include/usb/fsl_usb2.h
index 39757f71ad60..01232da4f92f 100644
--- a/include/usb/fsl_usb2.h
+++ b/include/usb/fsl_usb2.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __USB_FSL_USB2_H
 #define __USB_FSL_USB2_H
 
diff --git a/include/usb/gadget-multi.h b/include/usb/gadget-multi.h
index 79b24ca4df72..2d8d7533a816 100644
--- a/include/usb/gadget-multi.h
+++ b/include/usb/gadget-multi.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __USB_GADGET_MULTI_H
 #define __USB_GADGET_MULTI_H
 
diff --git a/include/usb/musb.h b/include/usb/musb.h
index fef7dc5f2c8d..c21428dbf159 100644
--- a/include/usb/musb.h
+++ b/include/usb/musb.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * This is used to for host and peripheral modes of the driver for
  * Inventra (Multidrop) Highspeed Dual-Role Controllers:  (M)HDRC.
diff --git a/include/usb/phy.h b/include/usb/phy.h
index 057ad1cd9588..8f11e70dfd77 100644
--- a/include/usb/phy.h
+++ b/include/usb/phy.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /* USB OTG (On The Go) defines */
 /*
  *
diff --git a/include/usb/ulpi.h b/include/usb/ulpi.h
index e45ea6e0f920..efbfc632083e 100644
--- a/include/usb/ulpi.h
+++ b/include/usb/ulpi.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __MACH_ULPI_H
 #define __MACH_ULPI_H
 
diff --git a/include/usb/usbserial.h b/include/usb/usbserial.h
index c537eba900fe..e1375c489a02 100644
--- a/include/usb/usbserial.h
+++ b/include/usb/usbserial.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef _USB_SERIAL_H
 #define _USB_SERIAL_H
 
diff --git a/include/video/backlight.h b/include/video/backlight.h
index afa384cc9adf..7810ec998ee6 100644
--- a/include/video/backlight.h
+++ b/include/video/backlight.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __VIDEO_BACKLIGHT_H
 #define __VIDEO_BACKLIGHT_H
 
diff --git a/include/video/fourcc.h b/include/video/fourcc.h
index 211aabb1f3d2..4db1d0d0018e 100644
--- a/include/video/fourcc.h
+++ b/include/video/fourcc.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __VIDEO_FOURCC_H
 #define __VIDEO_FOURCC_H
 
diff --git a/include/video/vpl.h b/include/video/vpl.h
index 6ae7b0f3e0e2..15711b47018b 100644
--- a/include/video/vpl.h
+++ b/include/video/vpl.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __VIDEO_VPL_H
 #define __VIDEO_VPL_H
 
diff --git a/include/work.h b/include/work.h
index 0785bb3a8818..e6de867f5321 100644
--- a/include/work.h
+++ b/include/work.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __WORK_H
 #define __WORK_H
 
-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 07/11] ARM: i.MX: add SPDX-License-Identifier for DCD
  2022-01-03 12:05 [PATCH 00/11] treewide: SPDXify files without license statement Ahmad Fatoum
                   ` (5 preceding siblings ...)
  2022-01-03 12:05 ` [PATCH 06/11] include: add SPDX-License-Identifier Ahmad Fatoum
@ 2022-01-03 12:05 ` Ahmad Fatoum
  2022-01-03 12:05 ` [PATCH 08/11] arch: add SPDX-License-Identifier to all headers Ahmad Fatoum
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: Ahmad Fatoum @ 2022-01-03 12:05 UTC (permalink / raw)
  To: barebox; +Cc: ukl, rhi, Ahmad Fatoum

In absence of a license statement, the default is GPL-2.0-only. Add that
to the DCD files. All of //  /* */  # are acceptable comment characters
in the DSL. If there are nearby comments in the file, the same character
is used, otherwise #.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 .../advantech-mx6/flash-header-advantech-rom-7421.imxcfg      | 2 ++
 .../flash-header-nitrogen6dl-1g.imxcfg                        | 2 ++
 .../flash-header-nitrogen6dl-2g.imxcfg                        | 2 ++
 .../flash-header-nitrogen6q-1g.imxcfg                         | 2 ++
 .../flash-header-nitrogen6q-2g.imxcfg                         | 2 ++
 .../flash-header-nitrogen6qp-max.imxcfg                       | 2 ++
 arch/arm/boards/boundarydevices-nitrogen6/ram-base.imxcfg     | 2 ++
 arch/arm/boards/ccxmx51/flash-header.imxcfg                   | 2 ++
 .../arm/boards/ccxmx53/flash-header-imx53-ccxmx53_1gib.imxcfg | 2 ++
 .../boards/ccxmx53/flash-header-imx53-ccxmx53_512mb.imxcfg    | 2 ++
 arch/arm/boards/cm-fx6/flash-header-mx6-cm-fx6.imxcfg         | 2 ++
 arch/arm/boards/datamodul-edm-qmx6/flash-header.imxcfg        | 2 ++
 .../dfi-fs700-m60/flash-header-fs700-m60-6q-micron.imxcfg     | 2 ++
 .../dfi-fs700-m60/flash-header-fs700-m60-6q-nanya.imxcfg      | 2 ++
 .../arm/boards/dfi-fs700-m60/flash-header-fs700-m60-6s.imxcfg | 2 ++
 .../flash-header-imx6ul-ccimx6ulsbcpro.imxcfg                 | 2 ++
 .../flash-header-imx51-genesi-efikasb.imxcfg                  | 2 ++
 .../boards/eltec-hipercam/flash-header-eltec-hipercam.imxcfg  | 2 ++
 arch/arm/boards/embedsky-e9/flash-header-e9.imxcfg            | 2 ++
 .../embest-marsboard/flash-header-embest-marsboard.imxcfg     | 2 ++
 .../embest-riotboard/flash-header-embest-riotboard.imxcfg     | 2 ++
 arch/arm/boards/eukrea_cpuimx25/flash-header.imxcfg           | 2 ++
 arch/arm/boards/eukrea_cpuimx35/flash-header.imxcfg           | 2 ++
 arch/arm/boards/eukrea_cpuimx51/flash-header.imxcfg           | 2 ++
 arch/arm/boards/freescale-mx25-3ds/flash-header.imxcfg        | 2 ++
 arch/arm/boards/freescale-mx35-3ds/flash-header.imxcfg        | 2 ++
 .../freescale-mx51-babbage/flash-header-imx51-babbage.imxcfg  | 2 ++
 .../boards/freescale-mx53-qsb/flash-header-imx53-loco.imxcfg  | 2 ++
 arch/arm/boards/freescale-mx53-smd/flash-header.imxcfg        | 2 ++
 .../freescale-mx53-vmx53/flash-header-imx53-vmx53.imxcfg      | 2 ++
 .../freescale-mx6-sabrelite/flash-header-mx6-sabrelite.imxcfg | 2 ++
 .../freescale-mx6-sabresd/flash-header-mx6q-sabresd.imxcfg    | 2 ++
 .../freescale-mx6-sabresd/flash-header-mx6qp-sabresd.imxcfg   | 2 ++
 .../flash-header-mx6sx-sabresdb.imxcfg                        | 2 ++
 .../freescale-mx7-sabresd/flash-header-mx7-sabresd.imxcfg     | 4 +++-
 .../boards/freescale-vf610-twr/flash-header-vf610-twr.imxcfg  | 2 ++
 .../gateworks-ventana/flash-header-ventana-quad-1gx64.imxcfg  | 2 ++
 arch/arm/boards/gateworks-ventana/quad_128x64.imxcfg          | 2 ++
 arch/arm/boards/gateworks-ventana/ram-base.imxcfg             | 2 ++
 arch/arm/boards/gk802/flash-header.imxcfg                     | 2 ++
 .../grinn-liteboard/flash-header-liteboard-256mb.imxcfg       | 1 +
 .../grinn-liteboard/flash-header-liteboard-512mb.imxcfg       | 1 +
 arch/arm/boards/grinn-liteboard/flash-header-liteboard.h      | 1 +
 arch/arm/boards/guf-santaro/flash-header.imxcfg               | 2 ++
 arch/arm/boards/guf-vincell/flash-header.imxcfg               | 2 ++
 .../kamstrup-mx7-concentrator/flash-header-tqma7d.imxcfg      | 2 ++
 arch/arm/boards/karo-tx25/flash-header-tx25.imxcfg            | 1 +
 arch/arm/boards/karo-tx28/tx28.h                              | 1 +
 arch/arm/boards/karo-tx53/flash-header-tx53-rev1011.imxcfg    | 2 ++
 .../boards/karo-tx53/flash-header-tx53-revxx30-samsung.imxcfg | 2 ++
 arch/arm/boards/karo-tx53/flash-header-tx53-revxx30.imxcfg    | 2 ++
 arch/arm/boards/karo-tx6x/1600mhz_4x128mx16.imxcfg            | 2 ++
 arch/arm/boards/karo-tx6x/flash-header-tx6dl-1g.imxcfg        | 2 ++
 arch/arm/boards/karo-tx6x/flash-header-tx6dl-512m.imxcfg      | 2 ++
 arch/arm/boards/karo-tx6x/flash-header-tx6q-1g.imxcfg         | 2 ++
 arch/arm/boards/karo-tx6x/flash-header-tx6qp-2g.imxcfg        | 2 ++
 arch/arm/boards/karo-tx6x/pmic.h                              | 1 +
 arch/arm/boards/karo-tx6x/ram-base.imxcfg                     | 2 ++
 arch/arm/boards/kindle-mx50/flash-header-kindle-lpddr1.imxcfg | 2 ++
 arch/arm/boards/kindle-mx50/flash-header-kindle-lpddr2.imxcfg | 2 ++
 arch/arm/boards/kindle3/flash-header.imxcfg                   | 2 ++
 .../boards/kontron-samx6i/flash-header-samx6i-duallite.imxcfg | 2 ++
 .../arm/boards/kontron-samx6i/flash-header-samx6i-quad.imxcfg | 2 ++
 arch/arm/boards/kontron-samx6i/mem.h                          | 2 ++
 arch/arm/boards/ls1046ardb/ls1046ardb_pbi.cfg                 | 2 ++
 arch/arm/boards/ls1046ardb/ls1046ardb_qspi_pbi.cfg            | 2 ++
 arch/arm/boards/ls1046ardb/ls1046ardb_rcw_emmc.cfg            | 2 ++
 arch/arm/boards/ls1046ardb/ls1046ardb_rcw_qspi.cfg            | 2 ++
 arch/arm/boards/ls1046ardb/ls1046ardb_rcw_sd.cfg              | 2 ++
 arch/arm/boards/mnt-reform/flash-header-mnt-reform.imxcfg     | 2 ++
 arch/arm/boards/nxp-imx8mm-evk/flash-header-imx8mm-evk.imxcfg | 2 ++
 arch/arm/boards/nxp-imx8mn-evk/flash-header-imx8mn-evk.imxcfg | 2 ++
 arch/arm/boards/nxp-imx8mp-evk/flash-header-imx8mp-evk.imxcfg | 2 ++
 arch/arm/boards/nxp-imx8mq-evk/flash-header-imx8mq-evk.imxcfg | 2 ++
 arch/arm/boards/panda/mux.h                                   | 2 ++
 arch/arm/boards/phytec-phycard-omap4/mux.h                    | 2 ++
 arch/arm/boards/phytec-phycore-imx35/flash-header.imxcfg      | 2 ++
 arch/arm/boards/phytec-phycore-omap4460/mux.h                 | 2 ++
 .../flash-header-phytec-pcaaxl3-1gib-1bank.imxcfg             | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pcaaxl3-1gib.imxcfg   | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pcaaxl3-2gib.imxcfg   | 2 ++
 arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcaaxl3.h | 2 ++
 .../boards/phytec-som-imx6/flash-header-phytec-pcl063-512mb.h | 1 +
 arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063.h  | 1 +
 .../phytec-som-imx6/flash-header-phytec-pcl063ul-512mb.imxcfg | 1 +
 .../flash-header-phytec-pcl063ull-256mb.imxcfg                | 1 +
 .../flash-header-phytec-pcl063ull-512mb.imxcfg                | 1 +
 .../phytec-som-imx6/flash-header-phytec-pcm058-1gib.imxcfg    | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pcm058-2gib.imxcfg    | 2 ++
 arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058.h  | 2 ++
 .../flash-header-phytec-pcm058dl-1gib-32bit.imxcfg            | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pcm058dl-1gib.imxcfg  | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pcm058dl-256mb.imxcfg | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pcm058dl-512mb.imxcfg | 2 ++
 .../arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl.h | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pcm058qp-1gib.imxcfg  | 2 ++
 .../arm/boards/phytec-som-imx6/flash-header-phytec-pcm058qp.h | 2 ++
 .../flash-header-phytec-pfla02-1gib-1bank.imxcfg              | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pfla02-1gib.imxcfg    | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pfla02-2gib.imxcfg    | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pfla02-4gib.imxcfg    | 2 ++
 .../flash-header-phytec-pfla02-512mb-1bank.imxcfg             | 2 ++
 arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02.h  | 2 ++
 .../flash-header-phytec-pfla02dl-1gib-1bank.imxcfg            | 2 ++
 .../phytec-som-imx6/flash-header-phytec-pfla02dl-1gib.imxcfg  | 2 ++
 .../arm/boards/phytec-som-imx6/flash-header-phytec-pfla02dl.h | 2 ++
 .../flash-header-phytec-pfla02s-128mb-1bank.imxcfg            | 2 ++
 .../flash-header-phytec-pfla02s-256mb-1bank.imxcfg            | 2 ++
 .../flash-header-phytec-pfla02s-512mb-1bank.imxcfg            | 2 ++
 .../phytec-som-imx8mq/flash-header-phycore-imx8mq.imxcfg      | 2 ++
 arch/arm/boards/protonic-imx6/ddr3-defines.imxcfg             | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-alti6p.imxcfg      | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-jozacp.imxcfg      | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-lanmcu.imxcfg      | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-plybas.imxcfg      | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-plym2m.imxcfg      | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-prti6g.imxcfg      | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-prti6q.imxcfg      | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-prtmvt.imxcfg      | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-prtrvt.imxcfg      | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-prtvt7.imxcfg      | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-prtwd2.imxcfg      | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-prtwd3.imxcfg      | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-victgo.imxcfg      | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-vicut1.imxcfg      | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-vicut1q.imxcfg     | 2 ++
 arch/arm/boards/protonic-imx6/flash-header-vicutp.imxcfg      | 2 ++
 arch/arm/boards/protonic-imx6/lpddr2-defines.imxcfg           | 2 ++
 arch/arm/boards/protonic-imx6/padsetup-dl.imxcfg              | 1 +
 arch/arm/boards/protonic-imx6/padsetup-q.imxcfg               | 1 +
 arch/arm/boards/protonic-imx6/padsetup-ul.imxcfg              | 1 +
 arch/arm/boards/protonic-imx8m/flash-header-prt8mm.imxcfg     | 2 ++
 arch/arm/boards/skov-imx6/flash-header-mx6-skov-imx6.imxcfg   | 2 ++
 .../boards/solidrun-microsom/flash-header-microsom-i1.imxcfg  | 2 ++
 .../boards/solidrun-microsom/flash-header-microsom-i2.imxcfg  | 2 ++
 .../solidrun-microsom/flash-header-microsom-i2eX.imxcfg       | 2 ++
 .../boards/solidrun-microsom/flash-header-microsom-i4.imxcfg  | 2 ++
 .../flash-header-imx6ul-pico-hobbit-256.imxcfg                | 2 ++
 .../flash-header-imx6ul-pico-hobbit-512.imxcfg                | 2 ++
 .../flash-header-technexion-wandboard.imxcfg                  | 2 ++
 arch/arm/boards/tqma53/flash-header-tq-tqma53-1gib.imxcfg     | 2 ++
 arch/arm/boards/tqma53/flash-header-tq-tqma53-512mib.imxcfg   | 2 ++
 arch/arm/boards/tqma53/flash-header-tq-tqma53.h               | 2 ++
 arch/arm/boards/tqma53/flash-header.imxcfg                    | 2 ++
 arch/arm/boards/tqma6x/flash-header-tqma6dl.imxcfg            | 2 ++
 arch/arm/boards/tqma6x/flash-header-tqma6q.imxcfg             | 2 ++
 arch/arm/boards/tqmls1046a/tqmls1046a_pbi.cfg                 | 2 ++
 arch/arm/boards/tqmls1046a/tqmls1046a_rcw_qspi_3333_5559.cfg  | 2 ++
 arch/arm/boards/tqmls1046a/tqmls1046a_rcw_sd_3333_5559.cfg    | 2 ++
 .../boards/udoo-neo/flash-header-mx6sx-udoo-neo_full.imxcfg   | 2 ++
 arch/arm/boards/udoo/flash-header-mx6-udoo.imxcfg             | 2 ++
 arch/arm/boards/variscite-mx6/flash-header-variscite.imxcfg   | 2 ++
 .../boards/zii-imx51-rdu1/flash-header-imx51-zii-rdu1.imxcfg  | 2 ++
 arch/arm/boards/zii-imx6q-rdu2/flash-header-rdu2.imxcfg       | 2 ++
 .../boards/zii-imx7d-dev/flash-header-zii-imx7d-dev.imxcfg    | 2 ++
 .../boards/zii-imx8mq-dev/flash-header-zii-imx8mq-dev.imxcfg  | 2 ++
 .../boards/zii-vf610-dev/flash-header-zii-vf610-dev.imxcfg    | 2 ++
 .../include/mach/flash-header/vf610-ddr-cr-default.imxcfg     | 4 +++-
 .../include/mach/flash-header/vf610-ddr-pll2-400mhz.imxcfg    | 2 ++
 159 files changed, 306 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boards/advantech-mx6/flash-header-advantech-rom-7421.imxcfg b/arch/arm/boards/advantech-mx6/flash-header-advantech-rom-7421.imxcfg
index aefdf68e8950..91a8babafd57 100644
--- a/arch/arm/boards/advantech-mx6/flash-header-advantech-rom-7421.imxcfg
+++ b/arch/arm/boards/advantech-mx6/flash-header-advantech-rom-7421.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/boundarydevices-nitrogen6/flash-header-nitrogen6dl-1g.imxcfg b/arch/arm/boards/boundarydevices-nitrogen6/flash-header-nitrogen6dl-1g.imxcfg
index 5da5fd941942..8282d4140ce3 100644
--- a/arch/arm/boards/boundarydevices-nitrogen6/flash-header-nitrogen6dl-1g.imxcfg
+++ b/arch/arm/boards/boundarydevices-nitrogen6/flash-header-nitrogen6dl-1g.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x20000000
 ivtofs 0x400
diff --git a/arch/arm/boards/boundarydevices-nitrogen6/flash-header-nitrogen6dl-2g.imxcfg b/arch/arm/boards/boundarydevices-nitrogen6/flash-header-nitrogen6dl-2g.imxcfg
index 3ccf7591c50a..9ef9b5789fcc 100644
--- a/arch/arm/boards/boundarydevices-nitrogen6/flash-header-nitrogen6dl-2g.imxcfg
+++ b/arch/arm/boards/boundarydevices-nitrogen6/flash-header-nitrogen6dl-2g.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x20000000
 ivtofs 0x400
diff --git a/arch/arm/boards/boundarydevices-nitrogen6/flash-header-nitrogen6q-1g.imxcfg b/arch/arm/boards/boundarydevices-nitrogen6/flash-header-nitrogen6q-1g.imxcfg
index 7bdc0e736cff..5c5af546a74a 100644
--- a/arch/arm/boards/boundarydevices-nitrogen6/flash-header-nitrogen6q-1g.imxcfg
+++ b/arch/arm/boards/boundarydevices-nitrogen6/flash-header-nitrogen6q-1g.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x20000000
 ivtofs 0x400
diff --git a/arch/arm/boards/boundarydevices-nitrogen6/flash-header-nitrogen6q-2g.imxcfg b/arch/arm/boards/boundarydevices-nitrogen6/flash-header-nitrogen6q-2g.imxcfg
index c6f5aa8484e1..58b9dc74681c 100644
--- a/arch/arm/boards/boundarydevices-nitrogen6/flash-header-nitrogen6q-2g.imxcfg
+++ b/arch/arm/boards/boundarydevices-nitrogen6/flash-header-nitrogen6q-2g.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x20000000
 ivtofs 0x400
diff --git a/arch/arm/boards/boundarydevices-nitrogen6/flash-header-nitrogen6qp-max.imxcfg b/arch/arm/boards/boundarydevices-nitrogen6/flash-header-nitrogen6qp-max.imxcfg
index 797b9717e7a5..4ab0a653bd5c 100644
--- a/arch/arm/boards/boundarydevices-nitrogen6/flash-header-nitrogen6qp-max.imxcfg
+++ b/arch/arm/boards/boundarydevices-nitrogen6/flash-header-nitrogen6qp-max.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x20000000
 ivtofs 0x400
diff --git a/arch/arm/boards/boundarydevices-nitrogen6/ram-base.imxcfg b/arch/arm/boards/boundarydevices-nitrogen6/ram-base.imxcfg
index 5d675883fd49..bf2aec5d965a 100644
--- a/arch/arm/boards/boundarydevices-nitrogen6/ram-base.imxcfg
+++ b/arch/arm/boards/boundarydevices-nitrogen6/ram-base.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 wm 32 MX6_IOM_DRAM_SDQS0		0x00000030
 wm 32 MX6_IOM_DRAM_SDQS1		0x00000030
 wm 32 MX6_IOM_DRAM_SDQS2		0x00000030
diff --git a/arch/arm/boards/ccxmx51/flash-header.imxcfg b/arch/arm/boards/ccxmx51/flash-header.imxcfg
index 3b1df11133ea..185a48fe18e5 100644
--- a/arch/arm/boards/ccxmx51/flash-header.imxcfg
+++ b/arch/arm/boards/ccxmx51/flash-header.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx51
 loadaddr 0x90000000
 ivtofs 0x400
diff --git a/arch/arm/boards/ccxmx53/flash-header-imx53-ccxmx53_1gib.imxcfg b/arch/arm/boards/ccxmx53/flash-header-imx53-ccxmx53_1gib.imxcfg
index 390b75b4f230..c049b2a10f52 100644
--- a/arch/arm/boards/ccxmx53/flash-header-imx53-ccxmx53_1gib.imxcfg
+++ b/arch/arm/boards/ccxmx53/flash-header-imx53-ccxmx53_1gib.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 loadaddr 0x70000000
 soc imx53
 ivtofs 0x400
diff --git a/arch/arm/boards/ccxmx53/flash-header-imx53-ccxmx53_512mb.imxcfg b/arch/arm/boards/ccxmx53/flash-header-imx53-ccxmx53_512mb.imxcfg
index c32ab9c1628d..a6460e0333c9 100644
--- a/arch/arm/boards/ccxmx53/flash-header-imx53-ccxmx53_512mb.imxcfg
+++ b/arch/arm/boards/ccxmx53/flash-header-imx53-ccxmx53_512mb.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 loadaddr 0x70000000
 soc imx53
 ivtofs 0x400
diff --git a/arch/arm/boards/cm-fx6/flash-header-mx6-cm-fx6.imxcfg b/arch/arm/boards/cm-fx6/flash-header-mx6-cm-fx6.imxcfg
index 4bb615ebb0f6..da4cd4bebf77 100644
--- a/arch/arm/boards/cm-fx6/flash-header-mx6-cm-fx6.imxcfg
+++ b/arch/arm/boards/cm-fx6/flash-header-mx6-cm-fx6.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx6
 loadaddr 0x00907000
 max_load_size 0x11000
diff --git a/arch/arm/boards/datamodul-edm-qmx6/flash-header.imxcfg b/arch/arm/boards/datamodul-edm-qmx6/flash-header.imxcfg
index 14146bed2284..139e6df79206 100644
--- a/arch/arm/boards/datamodul-edm-qmx6/flash-header.imxcfg
+++ b/arch/arm/boards/datamodul-edm-qmx6/flash-header.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx6
 loadaddr 0x00907000
 ivtofs 0x400
diff --git a/arch/arm/boards/dfi-fs700-m60/flash-header-fs700-m60-6q-micron.imxcfg b/arch/arm/boards/dfi-fs700-m60/flash-header-fs700-m60-6q-micron.imxcfg
index fe8bd8cbd6ee..9f821650668e 100644
--- a/arch/arm/boards/dfi-fs700-m60/flash-header-fs700-m60-6q-micron.imxcfg
+++ b/arch/arm/boards/dfi-fs700-m60/flash-header-fs700-m60-6q-micron.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 loadaddr 0x27800000
 soc imx6
 ivtofs 0x400
diff --git a/arch/arm/boards/dfi-fs700-m60/flash-header-fs700-m60-6q-nanya.imxcfg b/arch/arm/boards/dfi-fs700-m60/flash-header-fs700-m60-6q-nanya.imxcfg
index 6919bd8c3f8e..ccb3e6848766 100644
--- a/arch/arm/boards/dfi-fs700-m60/flash-header-fs700-m60-6q-nanya.imxcfg
+++ b/arch/arm/boards/dfi-fs700-m60/flash-header-fs700-m60-6q-nanya.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 loadaddr 0x27800000
 soc imx6
 ivtofs 0x400
diff --git a/arch/arm/boards/dfi-fs700-m60/flash-header-fs700-m60-6s.imxcfg b/arch/arm/boards/dfi-fs700-m60/flash-header-fs700-m60-6s.imxcfg
index 709c11974b08..5b8bc2625741 100644
--- a/arch/arm/boards/dfi-fs700-m60/flash-header-fs700-m60-6s.imxcfg
+++ b/arch/arm/boards/dfi-fs700-m60/flash-header-fs700-m60-6s.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 loadaddr 0x17800000
 soc imx6
 ivtofs 0x400
diff --git a/arch/arm/boards/digi-ccimx6ulsom/flash-header-imx6ul-ccimx6ulsbcpro.imxcfg b/arch/arm/boards/digi-ccimx6ulsom/flash-header-imx6ul-ccimx6ulsbcpro.imxcfg
index 7b2a198672dd..6f1c5bc8a78e 100644
--- a/arch/arm/boards/digi-ccimx6ulsom/flash-header-imx6ul-ccimx6ulsbcpro.imxcfg
+++ b/arch/arm/boards/digi-ccimx6ulsom/flash-header-imx6ul-ccimx6ulsbcpro.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 loadaddr 0x80000000
 soc imx6
 ivtofs 0x400
diff --git a/arch/arm/boards/efika-mx-smartbook/flash-header-imx51-genesi-efikasb.imxcfg b/arch/arm/boards/efika-mx-smartbook/flash-header-imx51-genesi-efikasb.imxcfg
index 60436e7e37d0..de28650519cc 100644
--- a/arch/arm/boards/efika-mx-smartbook/flash-header-imx51-genesi-efikasb.imxcfg
+++ b/arch/arm/boards/efika-mx-smartbook/flash-header-imx51-genesi-efikasb.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx51
 loadaddr 0x90000000
 ivtofs 0x400
diff --git a/arch/arm/boards/eltec-hipercam/flash-header-eltec-hipercam.imxcfg b/arch/arm/boards/eltec-hipercam/flash-header-eltec-hipercam.imxcfg
index 5b422a786714..e53f1c107fe1 100644
--- a/arch/arm/boards/eltec-hipercam/flash-header-eltec-hipercam.imxcfg
+++ b/arch/arm/boards/eltec-hipercam/flash-header-eltec-hipercam.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/embedsky-e9/flash-header-e9.imxcfg b/arch/arm/boards/embedsky-e9/flash-header-e9.imxcfg
index d51dc17a1262..474ad3a15943 100644
--- a/arch/arm/boards/embedsky-e9/flash-header-e9.imxcfg
+++ b/arch/arm/boards/embedsky-e9/flash-header-e9.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 loadaddr 0x27800000
 soc imx6
 ivtofs 0x400
diff --git a/arch/arm/boards/embest-marsboard/flash-header-embest-marsboard.imxcfg b/arch/arm/boards/embest-marsboard/flash-header-embest-marsboard.imxcfg
index afc95d9bd936..5cf7201e88fd 100644
--- a/arch/arm/boards/embest-marsboard/flash-header-embest-marsboard.imxcfg
+++ b/arch/arm/boards/embest-marsboard/flash-header-embest-marsboard.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x20000000
 ivtofs 0x400
diff --git a/arch/arm/boards/embest-riotboard/flash-header-embest-riotboard.imxcfg b/arch/arm/boards/embest-riotboard/flash-header-embest-riotboard.imxcfg
index bc30e4c38759..a005b500dee3 100644
--- a/arch/arm/boards/embest-riotboard/flash-header-embest-riotboard.imxcfg
+++ b/arch/arm/boards/embest-riotboard/flash-header-embest-riotboard.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 loadaddr 0x20000000
 soc imx6
 ivtofs 0x400
diff --git a/arch/arm/boards/eukrea_cpuimx25/flash-header.imxcfg b/arch/arm/boards/eukrea_cpuimx25/flash-header.imxcfg
index 129498ca8521..00417dddedb7 100644
--- a/arch/arm/boards/eukrea_cpuimx25/flash-header.imxcfg
+++ b/arch/arm/boards/eukrea_cpuimx25/flash-header.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx25
 loadaddr 0x80000000
 ivtofs 0x400
diff --git a/arch/arm/boards/eukrea_cpuimx35/flash-header.imxcfg b/arch/arm/boards/eukrea_cpuimx35/flash-header.imxcfg
index c1353e2904ec..ad187db742dc 100644
--- a/arch/arm/boards/eukrea_cpuimx35/flash-header.imxcfg
+++ b/arch/arm/boards/eukrea_cpuimx35/flash-header.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx35
 loadaddr 0x80000000
 ivtofs 0x400
diff --git a/arch/arm/boards/eukrea_cpuimx51/flash-header.imxcfg b/arch/arm/boards/eukrea_cpuimx51/flash-header.imxcfg
index 85c128c8fdd8..7f9a8773dab8 100644
--- a/arch/arm/boards/eukrea_cpuimx51/flash-header.imxcfg
+++ b/arch/arm/boards/eukrea_cpuimx51/flash-header.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx51
 ivtofs 0x400
 loadaddr 0x90000000
diff --git a/arch/arm/boards/freescale-mx25-3ds/flash-header.imxcfg b/arch/arm/boards/freescale-mx25-3ds/flash-header.imxcfg
index 8c1a25782967..9f83d102cbce 100644
--- a/arch/arm/boards/freescale-mx25-3ds/flash-header.imxcfg
+++ b/arch/arm/boards/freescale-mx25-3ds/flash-header.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx25
 loadaddr 0x80000000
 ivtofs 0x400
diff --git a/arch/arm/boards/freescale-mx35-3ds/flash-header.imxcfg b/arch/arm/boards/freescale-mx35-3ds/flash-header.imxcfg
index ea1803b7de59..a6d16e8ab421 100644
--- a/arch/arm/boards/freescale-mx35-3ds/flash-header.imxcfg
+++ b/arch/arm/boards/freescale-mx35-3ds/flash-header.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx35
 loadaddr 0x80000000
 ivtofs 0x400
diff --git a/arch/arm/boards/freescale-mx51-babbage/flash-header-imx51-babbage.imxcfg b/arch/arm/boards/freescale-mx51-babbage/flash-header-imx51-babbage.imxcfg
index b4e11fc22743..56e2a9607cd4 100644
--- a/arch/arm/boards/freescale-mx51-babbage/flash-header-imx51-babbage.imxcfg
+++ b/arch/arm/boards/freescale-mx51-babbage/flash-header-imx51-babbage.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 loadaddr 0x90000000
 soc imx51
 ivtofs 0x400
diff --git a/arch/arm/boards/freescale-mx53-qsb/flash-header-imx53-loco.imxcfg b/arch/arm/boards/freescale-mx53-qsb/flash-header-imx53-loco.imxcfg
index 2025f5da082c..da08c607392d 100644
--- a/arch/arm/boards/freescale-mx53-qsb/flash-header-imx53-loco.imxcfg
+++ b/arch/arm/boards/freescale-mx53-qsb/flash-header-imx53-loco.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 loadaddr 0x70000000
 soc imx53
 ivtofs 0x400
diff --git a/arch/arm/boards/freescale-mx53-smd/flash-header.imxcfg b/arch/arm/boards/freescale-mx53-smd/flash-header.imxcfg
index fac4c29019a3..e885186c5418 100644
--- a/arch/arm/boards/freescale-mx53-smd/flash-header.imxcfg
+++ b/arch/arm/boards/freescale-mx53-smd/flash-header.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 loadaddr 0x70000000
 soc imx53
 ivtofs 0x400
diff --git a/arch/arm/boards/freescale-mx53-vmx53/flash-header-imx53-vmx53.imxcfg b/arch/arm/boards/freescale-mx53-vmx53/flash-header-imx53-vmx53.imxcfg
index e6f73df30e6d..20e028691a29 100644
--- a/arch/arm/boards/freescale-mx53-vmx53/flash-header-imx53-vmx53.imxcfg
+++ b/arch/arm/boards/freescale-mx53-vmx53/flash-header-imx53-vmx53.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 loadaddr 0x70000000
 soc imx53
 ivtofs 0x400
diff --git a/arch/arm/boards/freescale-mx6-sabrelite/flash-header-mx6-sabrelite.imxcfg b/arch/arm/boards/freescale-mx6-sabrelite/flash-header-mx6-sabrelite.imxcfg
index d635c8b9487a..af2807134edc 100644
--- a/arch/arm/boards/freescale-mx6-sabrelite/flash-header-mx6-sabrelite.imxcfg
+++ b/arch/arm/boards/freescale-mx6-sabrelite/flash-header-mx6-sabrelite.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx6
 loadaddr 0x20000000
 ivtofs 0x400
diff --git a/arch/arm/boards/freescale-mx6-sabresd/flash-header-mx6q-sabresd.imxcfg b/arch/arm/boards/freescale-mx6-sabresd/flash-header-mx6q-sabresd.imxcfg
index d0a0b40189a0..39f8950e8e16 100644
--- a/arch/arm/boards/freescale-mx6-sabresd/flash-header-mx6q-sabresd.imxcfg
+++ b/arch/arm/boards/freescale-mx6-sabresd/flash-header-mx6q-sabresd.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 loadaddr 0x10000000
 soc imx6
 ivtofs 0x400
diff --git a/arch/arm/boards/freescale-mx6-sabresd/flash-header-mx6qp-sabresd.imxcfg b/arch/arm/boards/freescale-mx6-sabresd/flash-header-mx6qp-sabresd.imxcfg
index aa52776afb74..224ac3207f01 100644
--- a/arch/arm/boards/freescale-mx6-sabresd/flash-header-mx6qp-sabresd.imxcfg
+++ b/arch/arm/boards/freescale-mx6-sabresd/flash-header-mx6qp-sabresd.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 loadaddr 0x10000000
 soc imx6
 ivtofs 0x400
diff --git a/arch/arm/boards/freescale-mx6sx-sabresdb/flash-header-mx6sx-sabresdb.imxcfg b/arch/arm/boards/freescale-mx6sx-sabresdb/flash-header-mx6sx-sabresdb.imxcfg
index 5536f342b4fe..ebae00b8ea10 100644
--- a/arch/arm/boards/freescale-mx6sx-sabresdb/flash-header-mx6sx-sabresdb.imxcfg
+++ b/arch/arm/boards/freescale-mx6sx-sabresdb/flash-header-mx6sx-sabresdb.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 loadaddr 0x80000000
 soc imx6
 ivtofs 0x400
diff --git a/arch/arm/boards/freescale-mx7-sabresd/flash-header-mx7-sabresd.imxcfg b/arch/arm/boards/freescale-mx7-sabresd/flash-header-mx7-sabresd.imxcfg
index 41e0e9ca61c2..9194b19fe4e8 100644
--- a/arch/arm/boards/freescale-mx7-sabresd/flash-header-mx7-sabresd.imxcfg
+++ b/arch/arm/boards/freescale-mx7-sabresd/flash-header-mx7-sabresd.imxcfg
@@ -1,5 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx7
 loadaddr 0x80000000
 ivtofs 0x400
 
-#include <mach/flash-header/imx7d-ddr-sabresd.imxcfg>
\ No newline at end of file
+#include <mach/flash-header/imx7d-ddr-sabresd.imxcfg>
diff --git a/arch/arm/boards/freescale-vf610-twr/flash-header-vf610-twr.imxcfg b/arch/arm/boards/freescale-vf610-twr/flash-header-vf610-twr.imxcfg
index bcef9921fab0..06d5a40a69cd 100644
--- a/arch/arm/boards/freescale-vf610-twr/flash-header-vf610-twr.imxcfg
+++ b/arch/arm/boards/freescale-vf610-twr/flash-header-vf610-twr.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc vf610
 loadaddr 0x80000000
 ivtofs 0x400
diff --git a/arch/arm/boards/gateworks-ventana/flash-header-ventana-quad-1gx64.imxcfg b/arch/arm/boards/gateworks-ventana/flash-header-ventana-quad-1gx64.imxcfg
index 98c7ae60953a..8f155a88dd2a 100644
--- a/arch/arm/boards/gateworks-ventana/flash-header-ventana-quad-1gx64.imxcfg
+++ b/arch/arm/boards/gateworks-ventana/flash-header-ventana-quad-1gx64.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx6
 loadaddr 0x20000000
 ivtofs 0x400
diff --git a/arch/arm/boards/gateworks-ventana/quad_128x64.imxcfg b/arch/arm/boards/gateworks-ventana/quad_128x64.imxcfg
index daf01a8ad1da..66a78766495d 100644
--- a/arch/arm/boards/gateworks-ventana/quad_128x64.imxcfg
+++ b/arch/arm/boards/gateworks-ventana/quad_128x64.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 wm 32 MX6_MMDC_P0_MPWLDECTRL0	0x00190017
 wm 32 MX6_MMDC_P0_MPWLDECTRL1	0x00140026
 wm 32 MX6_MMDC_P1_MPWLDECTRL0	0x0021001C
diff --git a/arch/arm/boards/gateworks-ventana/ram-base.imxcfg b/arch/arm/boards/gateworks-ventana/ram-base.imxcfg
index 07dc34c0bbd1..c482f60b0930 100644
--- a/arch/arm/boards/gateworks-ventana/ram-base.imxcfg
+++ b/arch/arm/boards/gateworks-ventana/ram-base.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 wm 32 MX6_IOM_DRAM_SDQS0	0x00000030
 wm 32 MX6_IOM_DRAM_SDQS1	0x00000030
 wm 32 MX6_IOM_DRAM_SDQS2	0x00000030
diff --git a/arch/arm/boards/gk802/flash-header.imxcfg b/arch/arm/boards/gk802/flash-header.imxcfg
index acc7a367856a..aa5aef554f1f 100644
--- a/arch/arm/boards/gk802/flash-header.imxcfg
+++ b/arch/arm/boards/gk802/flash-header.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 loadaddr 0x10000000
 soc imx6
 ivtofs 0x400
diff --git a/arch/arm/boards/grinn-liteboard/flash-header-liteboard-256mb.imxcfg b/arch/arm/boards/grinn-liteboard/flash-header-liteboard-256mb.imxcfg
index 1b980c7846dd..c2d4b2875bfe 100644
--- a/arch/arm/boards/grinn-liteboard/flash-header-liteboard-256mb.imxcfg
+++ b/arch/arm/boards/grinn-liteboard/flash-header-liteboard-256mb.imxcfg
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 #define SETUP_MDASP_MDCTL		\
 	wm 32 0x021B0040 0x00000047;	\
diff --git a/arch/arm/boards/grinn-liteboard/flash-header-liteboard-512mb.imxcfg b/arch/arm/boards/grinn-liteboard/flash-header-liteboard-512mb.imxcfg
index c93a2cc0faa7..45bc841ab598 100644
--- a/arch/arm/boards/grinn-liteboard/flash-header-liteboard-512mb.imxcfg
+++ b/arch/arm/boards/grinn-liteboard/flash-header-liteboard-512mb.imxcfg
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 #define SETUP_MDASP_MDCTL		\
 	wm 32 0x021B0040 0x0000004F;	\
diff --git a/arch/arm/boards/grinn-liteboard/flash-header-liteboard.h b/arch/arm/boards/grinn-liteboard/flash-header-liteboard.h
index 82f5c627a3ab..776a69f8b60f 100644
--- a/arch/arm/boards/grinn-liteboard/flash-header-liteboard.h
+++ b/arch/arm/boards/grinn-liteboard/flash-header-liteboard.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 loadaddr 0x80000000
 soc imx6
diff --git a/arch/arm/boards/guf-santaro/flash-header.imxcfg b/arch/arm/boards/guf-santaro/flash-header.imxcfg
index 4505d81ea1f1..eff9f66f9404 100644
--- a/arch/arm/boards/guf-santaro/flash-header.imxcfg
+++ b/arch/arm/boards/guf-santaro/flash-header.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 loadaddr 0x10000000
 soc imx6
 ivtofs 0x400
diff --git a/arch/arm/boards/guf-vincell/flash-header.imxcfg b/arch/arm/boards/guf-vincell/flash-header.imxcfg
index c17dcbab6e64..f5f2eceb5da5 100644
--- a/arch/arm/boards/guf-vincell/flash-header.imxcfg
+++ b/arch/arm/boards/guf-vincell/flash-header.imxcfg
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 loadaddr 0x71000000
 soc imx53
 ivtofs 0x400
diff --git a/arch/arm/boards/kamstrup-mx7-concentrator/flash-header-tqma7d.imxcfg b/arch/arm/boards/kamstrup-mx7-concentrator/flash-header-tqma7d.imxcfg
index 4b363241100d..564fa62b91a6 100644
--- a/arch/arm/boards/kamstrup-mx7-concentrator/flash-header-tqma7d.imxcfg
+++ b/arch/arm/boards/kamstrup-mx7-concentrator/flash-header-tqma7d.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx7
 loadaddr 0xbfbff000
 ivtofs 0x400
diff --git a/arch/arm/boards/karo-tx25/flash-header-tx25.imxcfg b/arch/arm/boards/karo-tx25/flash-header-tx25.imxcfg
index 6f8eaf0fc566..0786017a852e 100644
--- a/arch/arm/boards/karo-tx25/flash-header-tx25.imxcfg
+++ b/arch/arm/boards/karo-tx25/flash-header-tx25.imxcfg
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # currently unused in barebox, but useful to generate
 # a imx-image to use with imx-usb-loader
diff --git a/arch/arm/boards/karo-tx28/tx28.h b/arch/arm/boards/karo-tx28/tx28.h
index 5fb1e13412b6..2e14211b7a95 100644
--- a/arch/arm/boards/karo-tx28/tx28.h
+++ b/arch/arm/boards/karo-tx28/tx28.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 void base_board_init(void);
 
diff --git a/arch/arm/boards/karo-tx53/flash-header-tx53-rev1011.imxcfg b/arch/arm/boards/karo-tx53/flash-header-tx53-rev1011.imxcfg
index 4bcb3b8b5eba..158233cc86ae 100644
--- a/arch/arm/boards/karo-tx53/flash-header-tx53-rev1011.imxcfg
+++ b/arch/arm/boards/karo-tx53/flash-header-tx53-rev1011.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 loadaddr 0x71000000
 soc imx53
 ivtofs 0x400
diff --git a/arch/arm/boards/karo-tx53/flash-header-tx53-revxx30-samsung.imxcfg b/arch/arm/boards/karo-tx53/flash-header-tx53-revxx30-samsung.imxcfg
index a4e3fab9a377..d7da89beef68 100644
--- a/arch/arm/boards/karo-tx53/flash-header-tx53-revxx30-samsung.imxcfg
+++ b/arch/arm/boards/karo-tx53/flash-header-tx53-revxx30-samsung.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 loadaddr 0x71000000
 soc imx53
 ivtofs 0x400
diff --git a/arch/arm/boards/karo-tx53/flash-header-tx53-revxx30.imxcfg b/arch/arm/boards/karo-tx53/flash-header-tx53-revxx30.imxcfg
index 5b6b79f7058d..d516da37702f 100644
--- a/arch/arm/boards/karo-tx53/flash-header-tx53-revxx30.imxcfg
+++ b/arch/arm/boards/karo-tx53/flash-header-tx53-revxx30.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 loadaddr 0x71000000
 soc imx53
 ivtofs 0x400
diff --git a/arch/arm/boards/karo-tx6x/1600mhz_4x128mx16.imxcfg b/arch/arm/boards/karo-tx6x/1600mhz_4x128mx16.imxcfg
index 7e244edfd33d..f11387b0232b 100644
--- a/arch/arm/boards/karo-tx6x/1600mhz_4x128mx16.imxcfg
+++ b/arch/arm/boards/karo-tx6x/1600mhz_4x128mx16.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /* MDMISC	mirroring	interleaved (row/bank/col) */
 wm 32 MX6_MMDC_P0_MDMISC		0x00000742
 check 32 until_all_bits_set MX6_MMDC_P0_MDMISC 0x00000002
diff --git a/arch/arm/boards/karo-tx6x/flash-header-tx6dl-1g.imxcfg b/arch/arm/boards/karo-tx6x/flash-header-tx6dl-1g.imxcfg
index 7d77f54f00e6..d860a5e2af3d 100644
--- a/arch/arm/boards/karo-tx6x/flash-header-tx6dl-1g.imxcfg
+++ b/arch/arm/boards/karo-tx6x/flash-header-tx6dl-1g.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx6
 loadaddr 0x20000000
 ivtofs 0x400
diff --git a/arch/arm/boards/karo-tx6x/flash-header-tx6dl-512m.imxcfg b/arch/arm/boards/karo-tx6x/flash-header-tx6dl-512m.imxcfg
index eb63fa34d315..c327b5f0c149 100644
--- a/arch/arm/boards/karo-tx6x/flash-header-tx6dl-512m.imxcfg
+++ b/arch/arm/boards/karo-tx6x/flash-header-tx6dl-512m.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx6
 loadaddr 0x20000000
 ivtofs 0x400
diff --git a/arch/arm/boards/karo-tx6x/flash-header-tx6q-1g.imxcfg b/arch/arm/boards/karo-tx6x/flash-header-tx6q-1g.imxcfg
index e5a1ed233154..9c8196d4da27 100644
--- a/arch/arm/boards/karo-tx6x/flash-header-tx6q-1g.imxcfg
+++ b/arch/arm/boards/karo-tx6x/flash-header-tx6q-1g.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x20000000
 ivtofs 0x400
diff --git a/arch/arm/boards/karo-tx6x/flash-header-tx6qp-2g.imxcfg b/arch/arm/boards/karo-tx6x/flash-header-tx6qp-2g.imxcfg
index 889416b849b3..c242193a620c 100644
--- a/arch/arm/boards/karo-tx6x/flash-header-tx6qp-2g.imxcfg
+++ b/arch/arm/boards/karo-tx6x/flash-header-tx6qp-2g.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx6
 loadaddr 0x20000000
 ivtofs 0x400
diff --git a/arch/arm/boards/karo-tx6x/pmic.h b/arch/arm/boards/karo-tx6x/pmic.h
index 2427a52e50c9..5e5616e8c769 100644
--- a/arch/arm/boards/karo-tx6x/pmic.h
+++ b/arch/arm/boards/karo-tx6x/pmic.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #include <i2c/i2c.h>
 
diff --git a/arch/arm/boards/karo-tx6x/ram-base.imxcfg b/arch/arm/boards/karo-tx6x/ram-base.imxcfg
index e912fb0f2b52..9f15806b5531 100644
--- a/arch/arm/boards/karo-tx6x/ram-base.imxcfg
+++ b/arch/arm/boards/karo-tx6x/ram-base.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 wm 32 MX6_IOM_DRAM_DQM0			0x00020030
 wm 32 MX6_IOM_DRAM_DQM1			0x00020030
 wm 32 MX6_IOM_DRAM_DQM2			0x00020030
diff --git a/arch/arm/boards/kindle-mx50/flash-header-kindle-lpddr1.imxcfg b/arch/arm/boards/kindle-mx50/flash-header-kindle-lpddr1.imxcfg
index b8a4e824ef5a..5f1f8ef6b00e 100644
--- a/arch/arm/boards/kindle-mx50/flash-header-kindle-lpddr1.imxcfg
+++ b/arch/arm/boards/kindle-mx50/flash-header-kindle-lpddr1.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 # DCD i.MX50 SoC setup using 256MiB LPDDR1
 # Copyright (C) 2017 Alexander Kurz <akurz@blala.de>
 #
diff --git a/arch/arm/boards/kindle-mx50/flash-header-kindle-lpddr2.imxcfg b/arch/arm/boards/kindle-mx50/flash-header-kindle-lpddr2.imxcfg
index 527d91dc78c0..520e61be5823 100644
--- a/arch/arm/boards/kindle-mx50/flash-header-kindle-lpddr2.imxcfg
+++ b/arch/arm/boards/kindle-mx50/flash-header-kindle-lpddr2.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # DCD i.MX50 SoC setup using 256MiB LPDDR2
 # Copyright (C) 2017 Alexander Kurz <akurz@blala.de>
 #
diff --git a/arch/arm/boards/kindle3/flash-header.imxcfg b/arch/arm/boards/kindle3/flash-header.imxcfg
index 74b65d6a5c1f..5ef09200ed69 100644
--- a/arch/arm/boards/kindle3/flash-header.imxcfg
+++ b/arch/arm/boards/kindle3/flash-header.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx35
 loadaddr 0x87eff400
 ivtofs 0x400
diff --git a/arch/arm/boards/kontron-samx6i/flash-header-samx6i-duallite.imxcfg b/arch/arm/boards/kontron-samx6i/flash-header-samx6i-duallite.imxcfg
index db1698d272f7..1ff4caccfaae 100644
--- a/arch/arm/boards/kontron-samx6i/flash-header-samx6i-duallite.imxcfg
+++ b/arch/arm/boards/kontron-samx6i/flash-header-samx6i-duallite.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/kontron-samx6i/flash-header-samx6i-quad.imxcfg b/arch/arm/boards/kontron-samx6i/flash-header-samx6i-quad.imxcfg
index 99608d0fe8fb..a8cc0d512b6b 100644
--- a/arch/arm/boards/kontron-samx6i/flash-header-samx6i-quad.imxcfg
+++ b/arch/arm/boards/kontron-samx6i/flash-header-samx6i-quad.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/kontron-samx6i/mem.h b/arch/arm/boards/kontron-samx6i/mem.h
index 57e3c0ceccab..25faf3849071 100644
--- a/arch/arm/boards/kontron-samx6i/mem.h
+++ b/arch/arm/boards/kontron-samx6i/mem.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __BOARD_KONTRON_SAMX6I_MEM_H
 #define __BOARD_KONTRON_SAMX6I_MEM_H
 
diff --git a/arch/arm/boards/ls1046ardb/ls1046ardb_pbi.cfg b/arch/arm/boards/ls1046ardb/ls1046ardb_pbi.cfg
index 5478217524d0..0ed997031e88 100644
--- a/arch/arm/boards/ls1046ardb/ls1046ardb_pbi.cfg
+++ b/arch/arm/boards/ls1046ardb/ls1046ardb_pbi.cfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #Configure Scratch register
 09570600 00000000
 09570604 10000000
diff --git a/arch/arm/boards/ls1046ardb/ls1046ardb_qspi_pbi.cfg b/arch/arm/boards/ls1046ardb/ls1046ardb_qspi_pbi.cfg
index 735d46c9f9b7..b9e455da9e1e 100644
--- a/arch/arm/boards/ls1046ardb/ls1046ardb_qspi_pbi.cfg
+++ b/arch/arm/boards/ls1046ardb/ls1046ardb_qspi_pbi.cfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #QSPI clk
 0957015c 40100000
 #Configure Scratch register
diff --git a/arch/arm/boards/ls1046ardb/ls1046ardb_rcw_emmc.cfg b/arch/arm/boards/ls1046ardb/ls1046ardb_rcw_emmc.cfg
index ccedf87e8495..debb6479a86c 100644
--- a/arch/arm/boards/ls1046ardb/ls1046ardb_rcw_emmc.cfg
+++ b/arch/arm/boards/ls1046ardb/ls1046ardb_rcw_emmc.cfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #PBL preamble and RCW header
 aa55aa55 01ee0100
 # RCW
diff --git a/arch/arm/boards/ls1046ardb/ls1046ardb_rcw_qspi.cfg b/arch/arm/boards/ls1046ardb/ls1046ardb_rcw_qspi.cfg
index 7b9be0ad3f8e..2167a71b7f1c 100644
--- a/arch/arm/boards/ls1046ardb/ls1046ardb_rcw_qspi.cfg
+++ b/arch/arm/boards/ls1046ardb/ls1046ardb_rcw_qspi.cfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #PBL preamble and RCW header
 aa55aa55 01ee0100
 # RCW
diff --git a/arch/arm/boards/ls1046ardb/ls1046ardb_rcw_sd.cfg b/arch/arm/boards/ls1046ardb/ls1046ardb_rcw_sd.cfg
index d3b152282f2e..ec18028c4b80 100644
--- a/arch/arm/boards/ls1046ardb/ls1046ardb_rcw_sd.cfg
+++ b/arch/arm/boards/ls1046ardb/ls1046ardb_rcw_sd.cfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #PBL preamble and RCW header
 aa55aa55 01ee0100
 # RCW
diff --git a/arch/arm/boards/mnt-reform/flash-header-mnt-reform.imxcfg b/arch/arm/boards/mnt-reform/flash-header-mnt-reform.imxcfg
index 80ce03e22c3a..180a44fda361 100644
--- a/arch/arm/boards/mnt-reform/flash-header-mnt-reform.imxcfg
+++ b/arch/arm/boards/mnt-reform/flash-header-mnt-reform.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx8mq
 
 loadaddr 0x007E1000
diff --git a/arch/arm/boards/nxp-imx8mm-evk/flash-header-imx8mm-evk.imxcfg b/arch/arm/boards/nxp-imx8mm-evk/flash-header-imx8mm-evk.imxcfg
index b013173113e4..10606ce29c96 100644
--- a/arch/arm/boards/nxp-imx8mm-evk/flash-header-imx8mm-evk.imxcfg
+++ b/arch/arm/boards/nxp-imx8mm-evk/flash-header-imx8mm-evk.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx8mm
 
 loadaddr 0x007e1000
diff --git a/arch/arm/boards/nxp-imx8mn-evk/flash-header-imx8mn-evk.imxcfg b/arch/arm/boards/nxp-imx8mn-evk/flash-header-imx8mn-evk.imxcfg
index a768874d4076..27a2138e4322 100644
--- a/arch/arm/boards/nxp-imx8mn-evk/flash-header-imx8mn-evk.imxcfg
+++ b/arch/arm/boards/nxp-imx8mn-evk/flash-header-imx8mn-evk.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx8mn
 
 loadaddr 0x912000
diff --git a/arch/arm/boards/nxp-imx8mp-evk/flash-header-imx8mp-evk.imxcfg b/arch/arm/boards/nxp-imx8mp-evk/flash-header-imx8mp-evk.imxcfg
index 7739fe5be6e8..663bd102e9a2 100644
--- a/arch/arm/boards/nxp-imx8mp-evk/flash-header-imx8mp-evk.imxcfg
+++ b/arch/arm/boards/nxp-imx8mp-evk/flash-header-imx8mp-evk.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx8mp
 
 loadaddr 0x920000
diff --git a/arch/arm/boards/nxp-imx8mq-evk/flash-header-imx8mq-evk.imxcfg b/arch/arm/boards/nxp-imx8mq-evk/flash-header-imx8mq-evk.imxcfg
index 80ce03e22c3a..180a44fda361 100644
--- a/arch/arm/boards/nxp-imx8mq-evk/flash-header-imx8mq-evk.imxcfg
+++ b/arch/arm/boards/nxp-imx8mq-evk/flash-header-imx8mq-evk.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx8mq
 
 loadaddr 0x007E1000
diff --git a/arch/arm/boards/panda/mux.h b/arch/arm/boards/panda/mux.h
index 11f2848a2734..540d4e5d3422 100644
--- a/arch/arm/boards/panda/mux.h
+++ b/arch/arm/boards/panda/mux.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __BOARD_MUX_H
 #define __BOARD_MUX_H
 
diff --git a/arch/arm/boards/phytec-phycard-omap4/mux.h b/arch/arm/boards/phytec-phycard-omap4/mux.h
index 8b1a3d37e9c2..46a2434ad0ee 100644
--- a/arch/arm/boards/phytec-phycard-omap4/mux.h
+++ b/arch/arm/boards/phytec-phycard-omap4/mux.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __BOARD_MUX_H
 #define __BOARD_MUX_H
 
diff --git a/arch/arm/boards/phytec-phycore-imx35/flash-header.imxcfg b/arch/arm/boards/phytec-phycore-imx35/flash-header.imxcfg
index d3049369d9ed..3d690e9732ae 100644
--- a/arch/arm/boards/phytec-phycore-imx35/flash-header.imxcfg
+++ b/arch/arm/boards/phytec-phycore-imx35/flash-header.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx35
 ivtofs 0x400
 loadaddr 0x80000000
diff --git a/arch/arm/boards/phytec-phycore-omap4460/mux.h b/arch/arm/boards/phytec-phycore-omap4460/mux.h
index 64d4478b2c9f..c84ecd32c8a3 100644
--- a/arch/arm/boards/phytec-phycore-omap4460/mux.h
+++ b/arch/arm/boards/phytec-phycore-omap4460/mux.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #ifndef __BOARD_MUX_H
 #define __BOARD_MUX_H
 
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcaaxl3-1gib-1bank.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcaaxl3-1gib-1bank.imxcfg
index bb4fbeb20538..d124518930c5 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcaaxl3-1gib-1bank.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcaaxl3-1gib-1bank.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #define SETUP_MDCFG0			\
 	wm 32 0x021b000c 0x54597955;	\
 
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcaaxl3-1gib.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcaaxl3-1gib.imxcfg
index 990c34b3af71..4c3e5b06c9d9 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcaaxl3-1gib.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcaaxl3-1gib.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #define SETUP_MDCFG0			\
 	wm 32 0x021b000c 0x3a3f7975;	\
 
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcaaxl3-2gib.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcaaxl3-2gib.imxcfg
index 7c56c24ed757..bb858e874d38 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcaaxl3-2gib.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcaaxl3-2gib.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #define SETUP_MDCFG0			\
 	wm 32 0x021b000c 0x54597955;	\
 
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcaaxl3.h b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcaaxl3.h
index 1876a5aa9df0..3d1952fb99fc 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcaaxl3.h
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcaaxl3.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063-512mb.h b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063-512mb.h
index c4122d245d7d..c7ee1aaeeba3 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063-512mb.h
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063-512mb.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #define SETUP_MDCFG0			\
 	wm 32 0x021B000C 0x676B52F3
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063.h b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063.h
index 8e0ab6f58510..984795469302 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063.h
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 loadaddr 0x80000000
 soc imx6
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ul-512mb.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ul-512mb.imxcfg
index f629a8e7b2f7..225f8a32aa70 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ul-512mb.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ul-512mb.imxcfg
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #include "flash-header-phytec-pcl063-512mb.h"
 #include <mach/habv4-imx6-gencsf.h>
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-256mb.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-256mb.imxcfg
index e6871d8534fe..44f103603288 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-256mb.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-256mb.imxcfg
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 #define SETUP_MDCFG0			\
 	wm 32 0x021B000C 0x676B52F3
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-512mb.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-512mb.imxcfg
index d2d71838430e..e976979118a8 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-512mb.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-512mb.imxcfg
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 
 #include "flash-header-phytec-pcl063-512mb.h"
 #include <mach/habv4-imx6ull-gencsf.h>
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058-1gib.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058-1gib.imxcfg
index 0042909c9592..b2ea8ee0e8d8 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058-1gib.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058-1gib.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #define SETUP_MDCFG0			\
 	wm 32 0x021b000c 0x555A7955
 
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058-2gib.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058-2gib.imxcfg
index 8a090369929b..f6895a0587c9 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058-2gib.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058-2gib.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #define SETUP_MDCFG0			\
 	wm 32 0x021b000c 0x8c929b85
 
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058.h b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058.h
index d32ee836a8e3..d213403467bc 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058.h
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl-1gib-32bit.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl-1gib-32bit.imxcfg
index c949f985030d..ec5beb937c17 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl-1gib-32bit.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl-1gib-32bit.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #define SETUP_MDCFG0			\
 	wm 32 0x021b000c 0x8c929b85
 
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl-1gib.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl-1gib.imxcfg
index 3ac7e4e7ffa9..a5b3cdc63322 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl-1gib.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl-1gib.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #define SETUP_MDCFG0			\
 	wm 32 0x021b000c 0x555A7955
 
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl-256mb.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl-256mb.imxcfg
index bb8cdc9e4d5e..26755f946a4a 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl-256mb.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl-256mb.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #define SETUP_MDCFG0			\
 	wm 32 0x021b000c 0x3c409b85
 
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl-512mb.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl-512mb.imxcfg
index 5b92e5809c56..cd1d2d185e0d 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl-512mb.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl-512mb.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #define SETUP_MDCFG0			\
 	wm 32 0x021b000c 0x3c409b85
 
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl.h b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl.h
index e820cbf86b3a..94ca4bcc0eaa 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl.h
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058dl.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058qp-1gib.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058qp-1gib.imxcfg
index 3ed5b346aeea..0d2d245fc270 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058qp-1gib.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058qp-1gib.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #define SETUP_MDCFG0			\
 	wm 32 0x021b000c 0x555A7955
 
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058qp.h b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058qp.h
index f3174f9bb70c..aae646e75c56 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058qp.h
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcm058qp.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02-1gib-1bank.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02-1gib-1bank.imxcfg
index 02f3fa7b33b8..77ef6358ec54 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02-1gib-1bank.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02-1gib-1bank.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #define SETUP_MDCFG0                    \
 	wm 32 0x021b000c 0x565c9b85
 
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02-1gib.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02-1gib.imxcfg
index dd142a20a9f3..dd222ed7a179 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02-1gib.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02-1gib.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #define SETUP_MDCFG0			\
 	wm 32 0x021b000c 0x3c409b85
 
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02-2gib.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02-2gib.imxcfg
index 3f9d11dc49b9..de5aab6242cb 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02-2gib.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02-2gib.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #define SETUP_MDCFG0                    \
 	wm 32 0x021b000c 0x565c9b85
 
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02-4gib.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02-4gib.imxcfg
index fdb1d155380e..c3819e958f22 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02-4gib.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02-4gib.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #define SETUP_MDCFG0                    \
 	wm 32 0x021b000c 0x8c929b85
 
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02-512mb-1bank.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02-512mb-1bank.imxcfg
index f4f150ee68ff..08d579241ee9 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02-512mb-1bank.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02-512mb-1bank.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #define SETUP_MDCFG0			\
 	wm 32 0x021b000c 0x555a7975
 
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02.h b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02.h
index 4a9b179f59f3..998411784401 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02.h
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02dl-1gib-1bank.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02dl-1gib-1bank.imxcfg
index b2a0521bbc87..c851cc2844a6 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02dl-1gib-1bank.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02dl-1gib-1bank.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #define SETUP_MDCFG0                    \
 	wm 32 0x021b000c 0x41447525
 
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02dl-1gib.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02dl-1gib.imxcfg
index e03e25eae284..7276adad604b 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02dl-1gib.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02dl-1gib.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #define SETUP_MDCFG0			\
 	wm 32 0x021b000c 0x2d307525
 
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02dl.h b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02dl.h
index be4084c1615e..48d2001fb243 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02dl.h
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02dl.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02s-128mb-1bank.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02s-128mb-1bank.imxcfg
index 58c1576219b2..d450ec1efda6 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02s-128mb-1bank.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02s-128mb-1bank.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #define SETUP_MDCFG0                    \
         wm 32 0x021b000c 0x2D307525
 
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02s-256mb-1bank.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02s-256mb-1bank.imxcfg
index 9975e2197bea..7f1535d0e0fd 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02s-256mb-1bank.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02s-256mb-1bank.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #define SETUP_MDCFG0                    \
         wm 32 0x021b000c 0x2D307525
 
diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02s-512mb-1bank.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02s-512mb-1bank.imxcfg
index edc396bc5d33..b6fd2db254f4 100644
--- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02s-512mb-1bank.imxcfg
+++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pfla02s-512mb-1bank.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 #define SETUP_MDCFG0			\
 	wm 32 0x021b000c 0x41447525
 
diff --git a/arch/arm/boards/phytec-som-imx8mq/flash-header-phycore-imx8mq.imxcfg b/arch/arm/boards/phytec-som-imx8mq/flash-header-phycore-imx8mq.imxcfg
index 8921f32110b9..93cf14f26ba5 100644
--- a/arch/arm/boards/phytec-som-imx8mq/flash-header-phycore-imx8mq.imxcfg
+++ b/arch/arm/boards/phytec-som-imx8mq/flash-header-phycore-imx8mq.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx8mq
 
 loadaddr 0x007E1000
diff --git a/arch/arm/boards/protonic-imx6/ddr3-defines.imxcfg b/arch/arm/boards/protonic-imx6/ddr3-defines.imxcfg
index 65bd1bc3c6f0..5bcd6c5f3c01 100644
--- a/arch/arm/boards/protonic-imx6/ddr3-defines.imxcfg
+++ b/arch/arm/boards/protonic-imx6/ddr3-defines.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * Timing configuration:
  *
diff --git a/arch/arm/boards/protonic-imx6/flash-header-alti6p.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-alti6p.imxcfg
index c778391d7576..4e71e493aeef 100644
--- a/arch/arm/boards/protonic-imx6/flash-header-alti6p.imxcfg
+++ b/arch/arm/boards/protonic-imx6/flash-header-alti6p.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/protonic-imx6/flash-header-jozacp.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-jozacp.imxcfg
index ec9fb8410834..472767611dc8 100644
--- a/arch/arm/boards/protonic-imx6/flash-header-jozacp.imxcfg
+++ b/arch/arm/boards/protonic-imx6/flash-header-jozacp.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x80000000
 ivtofs 0x400
diff --git a/arch/arm/boards/protonic-imx6/flash-header-lanmcu.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-lanmcu.imxcfg
index b08e14983454..e6e37672aa3e 100644
--- a/arch/arm/boards/protonic-imx6/flash-header-lanmcu.imxcfg
+++ b/arch/arm/boards/protonic-imx6/flash-header-lanmcu.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/protonic-imx6/flash-header-plybas.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-plybas.imxcfg
index dbbb9818b645..16f2f596c773 100644
--- a/arch/arm/boards/protonic-imx6/flash-header-plybas.imxcfg
+++ b/arch/arm/boards/protonic-imx6/flash-header-plybas.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/protonic-imx6/flash-header-plym2m.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-plym2m.imxcfg
index dbbb9818b645..1692c1e08771 100644
--- a/arch/arm/boards/protonic-imx6/flash-header-plym2m.imxcfg
+++ b/arch/arm/boards/protonic-imx6/flash-header-plym2m.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/protonic-imx6/flash-header-prti6g.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-prti6g.imxcfg
index ec9fb8410834..472767611dc8 100644
--- a/arch/arm/boards/protonic-imx6/flash-header-prti6g.imxcfg
+++ b/arch/arm/boards/protonic-imx6/flash-header-prti6g.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x80000000
 ivtofs 0x400
diff --git a/arch/arm/boards/protonic-imx6/flash-header-prti6q.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-prti6q.imxcfg
index 029edc248af6..2d0064e8c1cb 100644
--- a/arch/arm/boards/protonic-imx6/flash-header-prti6q.imxcfg
+++ b/arch/arm/boards/protonic-imx6/flash-header-prti6q.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/protonic-imx6/flash-header-prtmvt.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-prtmvt.imxcfg
index 1131174f70a6..887811fa4240 100644
--- a/arch/arm/boards/protonic-imx6/flash-header-prtmvt.imxcfg
+++ b/arch/arm/boards/protonic-imx6/flash-header-prtmvt.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/protonic-imx6/flash-header-prtrvt.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-prtrvt.imxcfg
index dbbb9818b645..16f2f596c773 100644
--- a/arch/arm/boards/protonic-imx6/flash-header-prtrvt.imxcfg
+++ b/arch/arm/boards/protonic-imx6/flash-header-prtrvt.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/protonic-imx6/flash-header-prtvt7.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-prtvt7.imxcfg
index 019696295de5..7f2662567e6b 100644
--- a/arch/arm/boards/protonic-imx6/flash-header-prtvt7.imxcfg
+++ b/arch/arm/boards/protonic-imx6/flash-header-prtvt7.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/protonic-imx6/flash-header-prtwd2.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-prtwd2.imxcfg
index 5f847c004dce..035b5f13152c 100644
--- a/arch/arm/boards/protonic-imx6/flash-header-prtwd2.imxcfg
+++ b/arch/arm/boards/protonic-imx6/flash-header-prtwd2.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/protonic-imx6/flash-header-prtwd3.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-prtwd3.imxcfg
index 054043cc800e..be2b9883a8cc 100644
--- a/arch/arm/boards/protonic-imx6/flash-header-prtwd3.imxcfg
+++ b/arch/arm/boards/protonic-imx6/flash-header-prtwd3.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/protonic-imx6/flash-header-victgo.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-victgo.imxcfg
index d3de7b6aab4f..e3f0f0a19a7c 100644
--- a/arch/arm/boards/protonic-imx6/flash-header-victgo.imxcfg
+++ b/arch/arm/boards/protonic-imx6/flash-header-victgo.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/protonic-imx6/flash-header-vicut1.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-vicut1.imxcfg
index 54f655c4c2e5..b86a32be0c2c 100644
--- a/arch/arm/boards/protonic-imx6/flash-header-vicut1.imxcfg
+++ b/arch/arm/boards/protonic-imx6/flash-header-vicut1.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/protonic-imx6/flash-header-vicut1q.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-vicut1q.imxcfg
index f7e75b47bf8d..3abb21b70e32 100644
--- a/arch/arm/boards/protonic-imx6/flash-header-vicut1q.imxcfg
+++ b/arch/arm/boards/protonic-imx6/flash-header-vicut1q.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/protonic-imx6/flash-header-vicutp.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-vicutp.imxcfg
index e21827923960..a8178fe2580b 100644
--- a/arch/arm/boards/protonic-imx6/flash-header-vicutp.imxcfg
+++ b/arch/arm/boards/protonic-imx6/flash-header-vicutp.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x10000000
 ivtofs 0x400
diff --git a/arch/arm/boards/protonic-imx6/lpddr2-defines.imxcfg b/arch/arm/boards/protonic-imx6/lpddr2-defines.imxcfg
index 29c42cc697c9..b54b9542bd68 100644
--- a/arch/arm/boards/protonic-imx6/lpddr2-defines.imxcfg
+++ b/arch/arm/boards/protonic-imx6/lpddr2-defines.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * Timing configuration:
  *
diff --git a/arch/arm/boards/protonic-imx6/padsetup-dl.imxcfg b/arch/arm/boards/protonic-imx6/padsetup-dl.imxcfg
index f60d37f63e2e..380ce8863cf4 100644
--- a/arch/arm/boards/protonic-imx6/padsetup-dl.imxcfg
+++ b/arch/arm/boards/protonic-imx6/padsetup-dl.imxcfg
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 /*
  * Some defines for PAD setup:
diff --git a/arch/arm/boards/protonic-imx6/padsetup-q.imxcfg b/arch/arm/boards/protonic-imx6/padsetup-q.imxcfg
index f5fa3e8d2857..c58a481e13a2 100644
--- a/arch/arm/boards/protonic-imx6/padsetup-q.imxcfg
+++ b/arch/arm/boards/protonic-imx6/padsetup-q.imxcfg
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 /*
  * Some defines for PAD setup:
diff --git a/arch/arm/boards/protonic-imx6/padsetup-ul.imxcfg b/arch/arm/boards/protonic-imx6/padsetup-ul.imxcfg
index e36601942d10..9cdc9ac9a3c8 100644
--- a/arch/arm/boards/protonic-imx6/padsetup-ul.imxcfg
+++ b/arch/arm/boards/protonic-imx6/padsetup-ul.imxcfg
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 /*
  * Some defines for PAD setup:
diff --git a/arch/arm/boards/protonic-imx8m/flash-header-prt8mm.imxcfg b/arch/arm/boards/protonic-imx8m/flash-header-prt8mm.imxcfg
index b013173113e4..10606ce29c96 100644
--- a/arch/arm/boards/protonic-imx8m/flash-header-prt8mm.imxcfg
+++ b/arch/arm/boards/protonic-imx8m/flash-header-prt8mm.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx8mm
 
 loadaddr 0x007e1000
diff --git a/arch/arm/boards/skov-imx6/flash-header-mx6-skov-imx6.imxcfg b/arch/arm/boards/skov-imx6/flash-header-mx6-skov-imx6.imxcfg
index 4bb615ebb0f6..da4cd4bebf77 100644
--- a/arch/arm/boards/skov-imx6/flash-header-mx6-skov-imx6.imxcfg
+++ b/arch/arm/boards/skov-imx6/flash-header-mx6-skov-imx6.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx6
 loadaddr 0x00907000
 max_load_size 0x11000
diff --git a/arch/arm/boards/solidrun-microsom/flash-header-microsom-i1.imxcfg b/arch/arm/boards/solidrun-microsom/flash-header-microsom-i1.imxcfg
index 2c6a32eed425..374ea2e8a20b 100644
--- a/arch/arm/boards/solidrun-microsom/flash-header-microsom-i1.imxcfg
+++ b/arch/arm/boards/solidrun-microsom/flash-header-microsom-i1.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 loadaddr 0x10000000
 soc imx6
 ivtofs 0x400
diff --git a/arch/arm/boards/solidrun-microsom/flash-header-microsom-i2.imxcfg b/arch/arm/boards/solidrun-microsom/flash-header-microsom-i2.imxcfg
index 7f9b2a3988ff..7c1b17f6f266 100644
--- a/arch/arm/boards/solidrun-microsom/flash-header-microsom-i2.imxcfg
+++ b/arch/arm/boards/solidrun-microsom/flash-header-microsom-i2.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 loadaddr 0x10000000
 soc imx6
 ivtofs 0x400
diff --git a/arch/arm/boards/solidrun-microsom/flash-header-microsom-i2eX.imxcfg b/arch/arm/boards/solidrun-microsom/flash-header-microsom-i2eX.imxcfg
index 7f75a17a35d3..f777784e44af 100644
--- a/arch/arm/boards/solidrun-microsom/flash-header-microsom-i2eX.imxcfg
+++ b/arch/arm/boards/solidrun-microsom/flash-header-microsom-i2eX.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 loadaddr 0x10000000
 soc imx6
 ivtofs 0x400
diff --git a/arch/arm/boards/solidrun-microsom/flash-header-microsom-i4.imxcfg b/arch/arm/boards/solidrun-microsom/flash-header-microsom-i4.imxcfg
index 9d5bc03c965d..2a12b053408a 100644
--- a/arch/arm/boards/solidrun-microsom/flash-header-microsom-i4.imxcfg
+++ b/arch/arm/boards/solidrun-microsom/flash-header-microsom-i4.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 loadaddr 0x10000000
 soc imx6
 ivtofs 0x400
diff --git a/arch/arm/boards/technexion-pico-hobbit/flash-header-imx6ul-pico-hobbit-256.imxcfg b/arch/arm/boards/technexion-pico-hobbit/flash-header-imx6ul-pico-hobbit-256.imxcfg
index 6d2d37de59d2..00ac4ef8ec74 100644
--- a/arch/arm/boards/technexion-pico-hobbit/flash-header-imx6ul-pico-hobbit-256.imxcfg
+++ b/arch/arm/boards/technexion-pico-hobbit/flash-header-imx6ul-pico-hobbit-256.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 loadaddr 0x80000000
 soc imx6
 ivtofs 0x400
diff --git a/arch/arm/boards/technexion-pico-hobbit/flash-header-imx6ul-pico-hobbit-512.imxcfg b/arch/arm/boards/technexion-pico-hobbit/flash-header-imx6ul-pico-hobbit-512.imxcfg
index 201493e6a38c..915203950778 100644
--- a/arch/arm/boards/technexion-pico-hobbit/flash-header-imx6ul-pico-hobbit-512.imxcfg
+++ b/arch/arm/boards/technexion-pico-hobbit/flash-header-imx6ul-pico-hobbit-512.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 loadaddr 0x80000000
 soc imx6
 ivtofs 0x400
diff --git a/arch/arm/boards/technexion-wandboard/flash-header-technexion-wandboard.imxcfg b/arch/arm/boards/technexion-wandboard/flash-header-technexion-wandboard.imxcfg
index 5f91bed6f377..61425976ec59 100644
--- a/arch/arm/boards/technexion-wandboard/flash-header-technexion-wandboard.imxcfg
+++ b/arch/arm/boards/technexion-wandboard/flash-header-technexion-wandboard.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 loadaddr 0x00907000
 soc imx6
 max_load_size 0x11000
diff --git a/arch/arm/boards/tqma53/flash-header-tq-tqma53-1gib.imxcfg b/arch/arm/boards/tqma53/flash-header-tq-tqma53-1gib.imxcfg
index 50a8f27dc5af..6aeff80de5b6 100644
--- a/arch/arm/boards/tqma53/flash-header-tq-tqma53-1gib.imxcfg
+++ b/arch/arm/boards/tqma53/flash-header-tq-tqma53-1gib.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #define SETUP_512MIB_1GIB \
 	wm 32 0x63fd9018 0x00011740; \
 	wm 32 0x63fd9000 0xc3190000
diff --git a/arch/arm/boards/tqma53/flash-header-tq-tqma53-512mib.imxcfg b/arch/arm/boards/tqma53/flash-header-tq-tqma53-512mib.imxcfg
index 4c8eed40d2af..2431d6f03998 100644
--- a/arch/arm/boards/tqma53/flash-header-tq-tqma53-512mib.imxcfg
+++ b/arch/arm/boards/tqma53/flash-header-tq-tqma53-512mib.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #define SETUP_512MIB_1GIB \
 	wm 32 0x63fd9018 0x00101740; \
 	wm 32 0x63fd9000 0x83190000
diff --git a/arch/arm/boards/tqma53/flash-header-tq-tqma53.h b/arch/arm/boards/tqma53/flash-header-tq-tqma53.h
index b9492bbcb302..a11855f926b8 100644
--- a/arch/arm/boards/tqma53/flash-header-tq-tqma53.h
+++ b/arch/arm/boards/tqma53/flash-header-tq-tqma53.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx53
 loadaddr 0x70000000
 ivtofs 0x400
diff --git a/arch/arm/boards/tqma53/flash-header.imxcfg b/arch/arm/boards/tqma53/flash-header.imxcfg
index bbe2300ece53..6981a230a56c 100644
--- a/arch/arm/boards/tqma53/flash-header.imxcfg
+++ b/arch/arm/boards/tqma53/flash-header.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx53
 loadaddr 0x70000000
 ivtofs 0x400
diff --git a/arch/arm/boards/tqma6x/flash-header-tqma6dl.imxcfg b/arch/arm/boards/tqma6x/flash-header-tqma6dl.imxcfg
index 4f557d5db56c..9f8d9c0d2624 100644
--- a/arch/arm/boards/tqma6x/flash-header-tqma6dl.imxcfg
+++ b/arch/arm/boards/tqma6x/flash-header-tqma6dl.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x20000000
 ivtofs 0x400
diff --git a/arch/arm/boards/tqma6x/flash-header-tqma6q.imxcfg b/arch/arm/boards/tqma6x/flash-header-tqma6q.imxcfg
index deda53b46433..b0923e77f9ea 100644
--- a/arch/arm/boards/tqma6x/flash-header-tqma6q.imxcfg
+++ b/arch/arm/boards/tqma6x/flash-header-tqma6q.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x20000000
 ivtofs 0x400
diff --git a/arch/arm/boards/tqmls1046a/tqmls1046a_pbi.cfg b/arch/arm/boards/tqmls1046a/tqmls1046a_pbi.cfg
index 0a04afa770b6..e4c293ab778d 100644
--- a/arch/arm/boards/tqmls1046a/tqmls1046a_pbi.cfg
+++ b/arch/arm/boards/tqmls1046a/tqmls1046a_pbi.cfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
 #Configure QSPI clock
 0957015c 40100000
 #Configure Scratch register
diff --git a/arch/arm/boards/tqmls1046a/tqmls1046a_rcw_qspi_3333_5559.cfg b/arch/arm/boards/tqmls1046a/tqmls1046a_rcw_qspi_3333_5559.cfg
index 2df229c56c2c..490d45af9e31 100644
--- a/arch/arm/boards/tqmls1046a/tqmls1046a_rcw_qspi_3333_5559.cfg
+++ b/arch/arm/boards/tqmls1046a/tqmls1046a_rcw_qspi_3333_5559.cfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # RCW values
 #   0:  1 - SYS_PLL_CFG              :       0 [0x0 / 0b00]
 #   2:  6 - SYS_PLL_RAT              :       6 [0x6 / 0b00110]
diff --git a/arch/arm/boards/tqmls1046a/tqmls1046a_rcw_sd_3333_5559.cfg b/arch/arm/boards/tqmls1046a/tqmls1046a_rcw_sd_3333_5559.cfg
index 72ab1cd7d7ac..645dc4fd22ed 100644
--- a/arch/arm/boards/tqmls1046a/tqmls1046a_rcw_sd_3333_5559.cfg
+++ b/arch/arm/boards/tqmls1046a/tqmls1046a_rcw_sd_3333_5559.cfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # RCW values
 #   0:  1 - SYS_PLL_CFG              :       0 [0x0 / 0b00]
 #   2:  6 - SYS_PLL_RAT              :       6 [0x6 / 0b00110]
diff --git a/arch/arm/boards/udoo-neo/flash-header-mx6sx-udoo-neo_full.imxcfg b/arch/arm/boards/udoo-neo/flash-header-mx6sx-udoo-neo_full.imxcfg
index a349b1022b86..6246e17a7387 100644
--- a/arch/arm/boards/udoo-neo/flash-header-mx6sx-udoo-neo_full.imxcfg
+++ b/arch/arm/boards/udoo-neo/flash-header-mx6sx-udoo-neo_full.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * These values are taken from:
  * repository: https://github.com/UDOOboard/uboot-imx
diff --git a/arch/arm/boards/udoo/flash-header-mx6-udoo.imxcfg b/arch/arm/boards/udoo/flash-header-mx6-udoo.imxcfg
index fc88a0b8b4d0..0d364bf8ce52 100644
--- a/arch/arm/boards/udoo/flash-header-mx6-udoo.imxcfg
+++ b/arch/arm/boards/udoo/flash-header-mx6-udoo.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx6
 loadaddr 0x20000000
 ivtofs 0x400
diff --git a/arch/arm/boards/variscite-mx6/flash-header-variscite.imxcfg b/arch/arm/boards/variscite-mx6/flash-header-variscite.imxcfg
index 50968d79409f..b0a31a0b96f6 100644
--- a/arch/arm/boards/variscite-mx6/flash-header-variscite.imxcfg
+++ b/arch/arm/boards/variscite-mx6/flash-header-variscite.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 loadaddr 0x10000000
 soc imx6
 ivtofs 0x400
diff --git a/arch/arm/boards/zii-imx51-rdu1/flash-header-imx51-zii-rdu1.imxcfg b/arch/arm/boards/zii-imx51-rdu1/flash-header-imx51-zii-rdu1.imxcfg
index 5674e7a6e139..6d40976b83c0 100644
--- a/arch/arm/boards/zii-imx51-rdu1/flash-header-imx51-zii-rdu1.imxcfg
+++ b/arch/arm/boards/zii-imx51-rdu1/flash-header-imx51-zii-rdu1.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx51
 loadaddr 0x90000000
 ivtofs 0x400
diff --git a/arch/arm/boards/zii-imx6q-rdu2/flash-header-rdu2.imxcfg b/arch/arm/boards/zii-imx6q-rdu2/flash-header-rdu2.imxcfg
index fcfef9c23477..0b37ab248f90 100644
--- a/arch/arm/boards/zii-imx6q-rdu2/flash-header-rdu2.imxcfg
+++ b/arch/arm/boards/zii-imx6q-rdu2/flash-header-rdu2.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx6
 loadaddr 0x00907000
 max_load_size 0x31000
diff --git a/arch/arm/boards/zii-imx7d-dev/flash-header-zii-imx7d-dev.imxcfg b/arch/arm/boards/zii-imx7d-dev/flash-header-zii-imx7d-dev.imxcfg
index 022f9711b252..05f95bbed11e 100644
--- a/arch/arm/boards/zii-imx7d-dev/flash-header-zii-imx7d-dev.imxcfg
+++ b/arch/arm/boards/zii-imx7d-dev/flash-header-zii-imx7d-dev.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc imx7
 loadaddr 0x80000000
 ivtofs 0x400
diff --git a/arch/arm/boards/zii-imx8mq-dev/flash-header-zii-imx8mq-dev.imxcfg b/arch/arm/boards/zii-imx8mq-dev/flash-header-zii-imx8mq-dev.imxcfg
index 8921f32110b9..93cf14f26ba5 100644
--- a/arch/arm/boards/zii-imx8mq-dev/flash-header-zii-imx8mq-dev.imxcfg
+++ b/arch/arm/boards/zii-imx8mq-dev/flash-header-zii-imx8mq-dev.imxcfg
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 soc imx8mq
 
 loadaddr 0x007E1000
diff --git a/arch/arm/boards/zii-vf610-dev/flash-header-zii-vf610-dev.imxcfg b/arch/arm/boards/zii-vf610-dev/flash-header-zii-vf610-dev.imxcfg
index 4b73da4c191d..617245b2d372 100644
--- a/arch/arm/boards/zii-vf610-dev/flash-header-zii-vf610-dev.imxcfg
+++ b/arch/arm/boards/zii-vf610-dev/flash-header-zii-vf610-dev.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 soc vf610
 loadaddr 0x80000000
 ivtofs 0x400
diff --git a/arch/arm/mach-imx/include/mach/flash-header/vf610-ddr-cr-default.imxcfg b/arch/arm/mach-imx/include/mach/flash-header/vf610-ddr-cr-default.imxcfg
index 8c411ddc7ecf..ab70fa7bd938 100644
--- a/arch/arm/mach-imx/include/mach/flash-header/vf610-ddr-cr-default.imxcfg
+++ b/arch/arm/mach-imx/include/mach/flash-header/vf610-ddr-cr-default.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
 
  The following table contains DDR3 memory timing parameters derived
@@ -128,4 +130,4 @@ wm 32 DDRMC_CR138 0x01000100
 wm 32 DDRMC_CR154 0x682c4000
 wm 32 DDRMC_CR155 0x00000009
 wm 32 DDRMC_CR158 0x00000006
-wm 32 DDRMC_CR161 0x00010606
\ No newline at end of file
+wm 32 DDRMC_CR161 0x00010606
diff --git a/arch/arm/mach-imx/include/mach/flash-header/vf610-ddr-pll2-400mhz.imxcfg b/arch/arm/mach-imx/include/mach/flash-header/vf610-ddr-pll2-400mhz.imxcfg
index 74d119b59ed3..e235b0990b74 100644
--- a/arch/arm/mach-imx/include/mach/flash-header/vf610-ddr-pll2-400mhz.imxcfg
+++ b/arch/arm/mach-imx/include/mach/flash-header/vf610-ddr-pll2-400mhz.imxcfg
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * Ungate all IP block clocks
  */
-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 08/11] arch: add SPDX-License-Identifier to all headers
  2022-01-03 12:05 [PATCH 00/11] treewide: SPDXify files without license statement Ahmad Fatoum
                   ` (6 preceding siblings ...)
  2022-01-03 12:05 ` [PATCH 07/11] ARM: i.MX: add SPDX-License-Identifier for DCD Ahmad Fatoum
@ 2022-01-03 12:05 ` Ahmad Fatoum
  2022-01-03 12:05 ` [PATCH 09/11] arch: add SPDX-License-Identifier to all .S files Ahmad Fatoum
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: Ahmad Fatoum @ 2022-01-03 12:05 UTC (permalink / raw)
  To: barebox; +Cc: ukl, rhi, Ahmad Fatoum

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

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 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(-)

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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 09/11] arch: add SPDX-License-Identifier to all .S files
  2022-01-03 12:05 [PATCH 00/11] treewide: SPDXify files without license statement Ahmad Fatoum
                   ` (7 preceding siblings ...)
  2022-01-03 12:05 ` [PATCH 08/11] arch: add SPDX-License-Identifier to all headers Ahmad Fatoum
@ 2022-01-03 12:05 ` Ahmad Fatoum
  2022-01-03 12:05 ` [PATCH 10/11] arch: add SPDX-License-Identifier to all .c files Ahmad Fatoum
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: Ahmad Fatoum @ 2022-01-03 12:05 UTC (permalink / raw)
  To: barebox; +Cc: ukl, rhi, Ahmad Fatoum

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

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 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(-)

diff --git a/arch/arm/boards/a9m2410/lowlevel_init.S b/arch/arm/boards/a9m2410/lowlevel_init.S
index b772b1f7f0c6..4c949b1efacc 100644
--- a/arch/arm/boards/a9m2410/lowlevel_init.S
+++ b/arch/arm/boards/a9m2410/lowlevel_init.S
@@ -1,6 +1,4 @@
-/*
- *
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #include <config.h>
 #include <linux/sizes.h>
diff --git a/arch/arm/boards/a9m2440/lowlevel_init.S b/arch/arm/boards/a9m2440/lowlevel_init.S
index 2c51e05806f3..585863f9d4d7 100644
--- a/arch/arm/boards/a9m2440/lowlevel_init.S
+++ b/arch/arm/boards/a9m2440/lowlevel_init.S
@@ -1,6 +1,4 @@
-/*
- *
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #include <config.h>
 #include <linux/sizes.h>
diff --git a/arch/arm/boards/eukrea_cpuimx27/lowlevel_init.S b/arch/arm/boards/eukrea_cpuimx27/lowlevel_init.S
index b3504832d7e1..13e906eea49a 100644
--- a/arch/arm/boards/eukrea_cpuimx27/lowlevel_init.S
+++ b/arch/arm/boards/eukrea_cpuimx27/lowlevel_init.S
@@ -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>
diff --git a/arch/arm/boards/freescale-mx27-ads/lowlevel_init.S b/arch/arm/boards/freescale-mx27-ads/lowlevel_init.S
index e79b96dd2cfb..bd78ebf9e84c 100644
--- a/arch/arm/boards/freescale-mx27-ads/lowlevel_init.S
+++ b/arch/arm/boards/freescale-mx27-ads/lowlevel_init.S
@@ -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".
diff --git a/arch/arm/boards/friendlyarm-mini2440/lowlevel_init.S b/arch/arm/boards/friendlyarm-mini2440/lowlevel_init.S
index 43bf49c12ce1..b26efa12b0b8 100644
--- a/arch/arm/boards/friendlyarm-mini2440/lowlevel_init.S
+++ b/arch/arm/boards/friendlyarm-mini2440/lowlevel_init.S
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * Low level initialization for the FriendlyARM mini2440 board
  */
diff --git a/arch/arm/boards/guf-neso/pll_init.S b/arch/arm/boards/guf-neso/pll_init.S
index 4c6cb67fd48a..fe28c457fc6e 100644
--- a/arch/arm/boards/guf-neso/pll_init.S
+++ b/arch/arm/boards/guf-neso/pll_init.S
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <config.h>
 #include <mach/imx27-regs.h>
 #include <mach/imx-pll.h>
diff --git a/arch/arm/cpu/cache-armv4.S b/arch/arm/cpu/cache-armv4.S
index db87de17e98b..78a098b2fedf 100644
--- a/arch/arm/cpu/cache-armv4.S
+++ b/arch/arm/cpu/cache-armv4.S
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <init.h>
 
diff --git a/arch/arm/cpu/cache-armv5.S b/arch/arm/cpu/cache-armv5.S
index 4267f3e37fc9..bcb7ebf466f9 100644
--- a/arch/arm/cpu/cache-armv5.S
+++ b/arch/arm/cpu/cache-armv5.S
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <init.h>
 
diff --git a/arch/arm/cpu/cache-armv6.S b/arch/arm/cpu/cache-armv6.S
index 7a0675199757..cc720314c07b 100644
--- a/arch/arm/cpu/cache-armv6.S
+++ b/arch/arm/cpu/cache-armv6.S
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <init.h>
 
diff --git a/arch/arm/cpu/cache-armv7.S b/arch/arm/cpu/cache-armv7.S
index 0f6108426c0b..efd9fe412fc9 100644
--- a/arch/arm/cpu/cache-armv7.S
+++ b/arch/arm/cpu/cache-armv7.S
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <init.h>
 
diff --git a/arch/arm/cpu/entry_ll.S b/arch/arm/cpu/entry_ll.S
index 8cc7a84f1062..2800174c4526 100644
--- a/arch/arm/cpu/entry_ll.S
+++ b/arch/arm/cpu/entry_ll.S
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <asm/sections.h>
 
diff --git a/arch/arm/cpu/entry_ll_64.S b/arch/arm/cpu/entry_ll_64.S
index fb8645e0a03f..6530bec5ebe4 100644
--- a/arch/arm/cpu/entry_ll_64.S
+++ b/arch/arm/cpu/entry_ll_64.S
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <asm/sections.h>
 
diff --git a/arch/arm/cpu/exceptions.S b/arch/arm/cpu/exceptions.S
index 55014c8d460f..749c713aab5c 100644
--- a/arch/arm/cpu/exceptions.S
+++ b/arch/arm/cpu/exceptions.S
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <config.h>
 #include <linux/linkage.h>
 #include <asm-generic/memory_layout.h>
diff --git a/arch/arm/cpu/hyp.S b/arch/arm/cpu/hyp.S
index 1314b56eab25..b5e480787770 100644
--- a/arch/arm/cpu/hyp.S
+++ b/arch/arm/cpu/hyp.S
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <asm/system.h>
 #include <asm/opcodes-virt.h>
diff --git a/arch/arm/cpu/lowlevel.S b/arch/arm/cpu/lowlevel.S
index 203a4afc4723..5a7dd3c2093f 100644
--- a/arch/arm/cpu/lowlevel.S
+++ b/arch/arm/cpu/lowlevel.S
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <init.h>
 #include <asm/system.h>
diff --git a/arch/arm/cpu/lowlevel_64.S b/arch/arm/cpu/lowlevel_64.S
index 6a23132ed140..ed00c8c47057 100644
--- a/arch/arm/cpu/lowlevel_64.S
+++ b/arch/arm/cpu/lowlevel_64.S
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <init.h>
 #include <asm/system.h>
diff --git a/arch/arm/cpu/setupc.S b/arch/arm/cpu/setupc.S
index 55aa105b2160..eafc9b52c6d0 100644
--- a/arch/arm/cpu/setupc.S
+++ b/arch/arm/cpu/setupc.S
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <asm/sections.h>
 
diff --git a/arch/arm/cpu/setupc_64.S b/arch/arm/cpu/setupc_64.S
index e24acbd0da70..b5f4a643fa42 100644
--- a/arch/arm/cpu/setupc_64.S
+++ b/arch/arm/cpu/setupc_64.S
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <asm/sections.h>
 
diff --git a/arch/arm/cpu/sm_as.S b/arch/arm/cpu/sm_as.S
index de6cd0406f4f..f55ac8661c6c 100644
--- a/arch/arm/cpu/sm_as.S
+++ b/arch/arm/cpu/sm_as.S
@@ -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>
diff --git a/arch/arm/lib32/runtime-offset.S b/arch/arm/lib32/runtime-offset.S
index f86ca7865eb3..ac104de1195c 100644
--- a/arch/arm/lib32/runtime-offset.S
+++ b/arch/arm/lib32/runtime-offset.S
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 #include <asm/assembler.h>
 
diff --git a/arch/arm/lib32/start-kernel-optee.S b/arch/arm/lib32/start-kernel-optee.S
index 92da4b63c9b8..261ab39ba7a3 100644
--- a/arch/arm/lib32/start-kernel-optee.S
+++ b/arch/arm/lib32/start-kernel-optee.S
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 #include <linux/linkage.h>
 
 ENTRY(start_kernel_optee)