Skip to contentSkip to conversation

drivers: caam: remove license text covered by SPDX-License-Identifier

PATCH Applied Ahmad Fatoum 2 participants 5 messages Oct 30, 2021 – Nov 1, 2021

Subsystems (74)
lore
Share & tools
lore
#0 lore raw

PATCH 1/4 drivers: caam: remove license text covered by SPDX-License-Identifier

There is already a SPDX-License-Identifier, so drop the boilerplate.

---
 drivers/crypto/caam/rng_self_test.h | 10 ----------
 1 file changed, 10 deletions(-)
drivers/crypto/caam/rng_self_test.h +0 -10
index 1f5bf32628bf..ba688f7e39c1 100644
@@ -4,16 +4,6 @@
  * Copyright (C) 2018 Pengutronix, Roland Hieber <[email protected]>
  *
  * SPDX-License-Identifier: GPL-2.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #ifndef RNG_SELF_TEST_H
Signature · 7 lines
2.30.2


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

PATCH 2/4 hw_random: mxc-rngc: switch to SPDX-License-Identifier

The file contains two license statements, one about being GPLv2 and one about being GPLv2 or later. Use GPL-2.0 as it observes both.

---
 drivers/hw_random/mxc-rngc.c | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)
drivers/hw_random/mxc-rngc.c +1 -15
index 075c20e43745..1d17f00f6715 100644
@@ -1,19 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * RNG driver for Freescale RNGC
  *
  * Copyright (C) 2008-2012 Freescale Semiconductor, Inc.
- */
-
-/*
- * The code contained herein is licensed under the GNU General Public
- * License. You may obtain a copy of the GNU General Public License
- * Version 2 or later at the following locations:
  *
- * http://www.opensource.org/licenses/gpl-license.html
- * http://www.gnu.org/copyleft/gpl.html
- */
-
-/*
  * Hardware driver for the Intel/AMD/VIA Random Number Generators (RNG)
  * (c) Copyright 2003 Red Hat Inc <[email protected]>
  *
@@ -27,10 +17,6 @@
  * Hardware driver for Intel i810 Random Number Generator (RNG)
  * Copyright 2000,2001 Jeff Garzik <[email protected]>
  * Copyright 2000,2001 Philipp Rumpf <[email protected]>
- *
- * This file is licensed under  the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <common.h>
Signature · 7 lines
2.30.2


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

PATCH 3/4 i2c: algo-bit: switch to SPDX-License-Identifier

In reply to Ahmad Fatoum

Replace the boilerplate with a short equivalent identifier.

---
 drivers/i2c/algos/i2c-algo-bit.c | 24 +++++-------------------
 1 file changed, 5 insertions(+), 19 deletions(-)
drivers/i2c/algos/i2c-algo-bit.c +5 -19
index 2563c0d25a7f..2d6010869d47 100644
@@ -1,26 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* -------------------------------------------------------------------------
  * i2c-algo-bit.c i2c driver algorithms for bit-shift adapters
  * -------------------------------------------------------------------------
  *   Copyright (C) 1995-2000 Simon G. Vogl
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-    MA 02110-1301 USA.
- * ------------------------------------------------------------------------- */
-
-/* With some changes from Frodo Looijaard <[email protected]>, Kyösti Mälkki
-   <[email protected]> and Jean Delvare <[email protected]> */
+ *
+ * With some changes from Frodo Looijaard <[email protected]>, Kyösti Mälkki
+ * <[email protected]> and Jean Delvare <[email protected]>
+ */
 
 #include <common.h>
 #include <init.h>
Signature · 7 lines
2.30.2


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

PATCH 4/4 drivers: add missing SPDX-License-Identifier

In reply to Ahmad Fatoum

This adds the suitable SPDX-License-Identifier to all files in drivers/ that previously lacked one.

To aid manual inspection, following heuristics can be used:

* No changes outside of comments/whitespace:

git show -U0 HEAD | rg -v '^(@@|diff|index)|[-+]([-+]|//|#|[\s/]\*)'

* -or-later come in pairs:

  git show --inter-hunk-context=19 HEAD | \
    perl -0777 -F'/^@/gm' -ne 'for (@F) { @m = /later/g; print if @m & 1 }'
---
 drivers/Kconfig                             |  1 +
 drivers/Makefile                            |  1 +
 drivers/aiodev/Kconfig                      |  1 +
 drivers/aiodev/Makefile                     |  1 +
 drivers/aiodev/core.c                       | 10 +-------
 drivers/aiodev/imx_thermal.c                | 10 +-------
 drivers/aiodev/mc13xxx_adc.c                | 10 +-------
 drivers/amba/Kconfig                        |  1 +
 drivers/amba/Makefile                       |  1 +
 drivers/amba/bus.c                          |  3 +--
 drivers/ata/Kconfig                         |  1 +
 drivers/ata/Makefile                        |  1 +
 drivers/ata/ahci.c                          | 14 ++---------
 drivers/ata/ahci.h                          | 12 +--------
 drivers/ata/disk_ata_drive.c                | 11 +--------
 drivers/ata/ide-sff.c                       |  1 +
 drivers/ata/intf_platform_ide.c             | 15 +-----------
 drivers/ata/pata-imx.c                      | 14 +----------
 drivers/ata/sata-imx.c                      |  1 +
 drivers/ata/sata_mv.c                       |  1 +
 drivers/base/Kconfig                        |  1 +
 drivers/base/Makefile                       |  1 +
 drivers/base/bus.c                          |  3 +--
 drivers/base/driver.c                       | 11 +--------
 drivers/base/platform.c                     | 11 +--------
 drivers/base/power.c                        |  1 +
 drivers/base/regmap/Makefile                |  1 +
 drivers/base/regmap/internal.h              |  1 +
 drivers/base/regmap/regmap.c                | 10 +-------
 drivers/base/resource.c                     | 12 +--------
 drivers/block/Kconfig                       |  1 +
 drivers/block/Makefile                      |  1 +
 drivers/block/efi-block-io.c                |  1 +
 drivers/bus/Kconfig                         |  1 +
 drivers/bus/Makefile                        |  1 +
 drivers/bus/imx-weim.c                      |  5 +---
 drivers/bus/mvebu-mbus.c                    |  1 +
 drivers/bus/omap-gpmc.c                     |  5 +---
 drivers/clk/loongson/Makefile               |  1 +
 drivers/clocksource/Kconfig                 |  1 +
 drivers/clocksource/Makefile                |  1 +
 drivers/clocksource/amba-sp804.c            |  3 +--
 drivers/clocksource/arm_architected_timer.c | 12 +--------
 drivers/clocksource/arm_smp_twd.c           |  3 +--
 drivers/clocksource/bcm2835.c               | 12 +--------
 drivers/clocksource/digic.c                 | 11 +--------
 drivers/clocksource/dw_apb_timer.c          |  6 +----
 drivers/clocksource/efi.c                   |  3 +--
 drivers/clocksource/efi_x86.c               |  1 +
 drivers/clocksource/mvebu.c                 | 12 +--------
 drivers/clocksource/nomadik.c               |  5 +---
 drivers/clocksource/orion.c                 | 12 +--------
 drivers/clocksource/timer-atmel-pit.c       | 12 +--------
 drivers/clocksource/timer-imx-gpt.c         | 12 +--------
 drivers/clocksource/timer-ti-32k.c          | 11 +--------
 drivers/clocksource/timer-ti-dm.c           | 12 +--------
 drivers/clocksource/uemd.c                  | 11 +--------
 drivers/crypto/Kconfig                      |  1 +
 drivers/crypto/Makefile                     |  1 +
 drivers/crypto/caam/Kconfig                 |  1 +
 drivers/crypto/caam/Makefile                |  1 +
 drivers/crypto/caam/caam-blobgen.c          |  5 +---
 drivers/crypto/caam/caamrng.c               |  1 +
 drivers/crypto/caam/ctrl.c                  |  1 +
 drivers/crypto/caam/ctrl.h                  |  1 +
 drivers/crypto/caam/desc.h                  |  1 +
 drivers/crypto/caam/desc_constr.h           |  1 +
 drivers/crypto/caam/error.c                 |  1 +
 drivers/crypto/caam/error.h                 |  1 +
 drivers/crypto/caam/intern.h                |  1 +
 drivers/crypto/caam/jr.c                    |  1 +
 drivers/crypto/caam/jr.h                    |  1 +
 drivers/crypto/caam/regs.h                  |  1 +
 drivers/crypto/imx-scc/Kconfig              |  1 +
 drivers/crypto/imx-scc/Makefile             |  1 +
 drivers/crypto/imx-scc/scc-blobgen.c        |  6 ++---
 drivers/crypto/imx-scc/scc.c                | 11 +--------
 drivers/crypto/imx-scc/scc.h                |  5 +---
 drivers/ddr/Kconfig                         |  1 +
 drivers/ddr/Makefile                        |  1 +
 drivers/ddr/fsl/Kconfig                     |  1 +
 drivers/ddr/imx8m/Kconfig                   |  1 +
 drivers/dma/Kconfig                         |  1 +
 drivers/dma/Makefile                        |  1 +
 drivers/dma/apbh_dma.c                      |  6 +----
 drivers/eeprom/Kconfig                      |  1 +
 drivers/eeprom/Makefile                     |  1 +
 drivers/eeprom/at24.c                       |  6 +----
 drivers/eeprom/at25.c                       |  6 +----
 drivers/efi/Kconfig                         |  1 +
 drivers/efi/Makefile                        |  1 +
 drivers/efi/efi-device.c                    | 11 +--------
 drivers/firmware/Kconfig                    |  1 +
 drivers/firmware/Makefile                   |  1 +
 drivers/firmware/altera_serial.c            | 10 +-------
 drivers/firmware/socfpga.c                  | 23 +-----------------
 drivers/firmware/socfpga_sdr.S              |  1 +
 drivers/fpga/Kconfig                        |  1 +
 drivers/fpga/Makefile                       |  1 +
 drivers/fpga/fpga-bridge.c                  | 14 ++---------
 drivers/fpga/socfpga-fpga2sdram-bridge.c    | 13 +---------
 drivers/fpga/socfpga-hps2fpga-bridge.c      | 13 +---------
 drivers/gpio/Kconfig                        |  1 +
 drivers/gpio/Makefile                       |  1 +
 drivers/gpio/gpiolib.c                      |  1 +
 drivers/hab/Makefile                        |  1 +
 drivers/hab/hab.c                           | 11 +--------
 drivers/hab/habv3.c                         | 11 +--------
 drivers/hab/habv4.c                         | 10 +-------
 drivers/hw_random/Kconfig                   |  1 +
 drivers/hw_random/Makefile                  |  1 +
 drivers/hw_random/core.c                    |  5 +---
 drivers/i2c/Kconfig                         |  1 +
 drivers/i2c/Makefile                        |  1 +
 drivers/i2c/algos/Kconfig                   |  1 +
 drivers/i2c/algos/Makefile                  |  1 +
 drivers/i2c/busses/Kconfig                  |  1 +
 drivers/i2c/busses/Makefile                 |  1 +
 drivers/i2c/busses/i2c-at91.c               |  6 +----
 drivers/i2c/busses/i2c-designware.c         | 11 +--------
 drivers/i2c/busses/i2c-gpio.c               |  5 +---
 drivers/i2c/busses/i2c-imx-early.c          | 11 +--------
 drivers/i2c/busses/i2c-imx.c                | 11 +--------
 drivers/i2c/busses/i2c-imx.h                |  1 +
 drivers/i2c/busses/i2c-mv64xxx.c            |  6 ++---
 drivers/i2c/busses/i2c-omap.c               | 11 +--------
 drivers/i2c/busses/i2c-tegra.c              | 11 +--------
 drivers/i2c/i2c-mux.c                       |  5 +---
 drivers/i2c/i2c-smbus.c                     |  2 ++
 drivers/i2c/i2c.c                           |  3 +--
 drivers/i2c/muxes/Kconfig                   |  1 +
 drivers/i2c/muxes/Makefile                  |  1 +
 drivers/i2c/muxes/i2c-mux-pca954x.c         |  5 +---
 drivers/input/Kconfig                       |  1 +
 drivers/input/Makefile                      |  1 +
 drivers/input/gpio_keys.c                   |  3 +--
 drivers/input/imx_keypad.c                  |  6 +----
 drivers/input/input.c                       | 11 +--------
 drivers/input/keymap.c                      |  1 +
 drivers/input/matrix-keymap.c               | 11 +--------
 drivers/input/qt1070.c                      |  3 +--
 drivers/input/twl6030_pwrbtn.c              | 12 +--------
 drivers/input/usb_kbd.c                     | 12 +--------
 drivers/led/Kconfig                         |  1 +
 drivers/led/Makefile                        |  1 +
 drivers/led/core.c                          | 12 +--------
 drivers/led/led-gpio.c                      | 12 +--------
 drivers/led/led-pca955x.c                   | 11 +--------
 drivers/led/led-pwm.c                       | 12 +--------
 drivers/led/led-triggers.c                  | 12 +--------
 drivers/mci/Kconfig                         |  1 +
 drivers/mci/Makefile                        |  1 +
 drivers/mci/mci-bcm2835.c                   | 17 ++-----------
 drivers/mci/mci-bcm2835.h                   |  1 +
 drivers/mci/sdhci.h                         |  1 +
 drivers/memory/Kconfig                      |  1 +
 drivers/memory/Makefile                     |  1 +
 drivers/memory/mc-tegra124.c                | 13 +---------
 drivers/mfd/Kconfig                         |  1 +
 drivers/mfd/Makefile                        |  1 +
 drivers/mfd/act8846.c                       | 13 +---------
 drivers/mfd/da9053.c                        | 13 +---------
 drivers/mfd/da9063.c                        | 12 +--------
 drivers/mfd/lp3972.c                        | 13 +---------
 drivers/mfd/mc13xxx.c                       | 13 +---------
 drivers/mfd/mc34704.c                       | 13 +---------
 drivers/mfd/mc9sdz60.c                      | 13 +---------
 drivers/mfd/stmpe-i2c.c                     | 12 +--------
 drivers/mfd/syscon.c                        |  6 +----
 drivers/mfd/twl-core.c                      |  4 +--
 drivers/mfd/twl4030.c                       |  4 +--
 drivers/mfd/twl6030.c                       |  3 +--
 drivers/misc/Kconfig                        |  1 +
 drivers/misc/Makefile                       |  1 +
 drivers/misc/jtag.c                         | 15 +-----------
 drivers/misc/sram.c                         | 11 +--------
 drivers/misc/state.c                        | 11 +--------
 drivers/mtd/Kconfig                         |  1 +
 drivers/mtd/Makefile                        |  1 +
 drivers/mtd/core.c                          | 10 +-------
 drivers/mtd/devices/Kconfig                 |  1 +
 drivers/mtd/devices/Makefile                |  1 +
 drivers/mtd/devices/docg3.c                 | 11 +--------
 drivers/mtd/devices/docg3.h                 | 11 +--------
 drivers/mtd/devices/m25p80.c                |  6 +----
 drivers/mtd/devices/mtd_dataflash.c         |  8 ++----
 drivers/mtd/devices/mtdram.c                |  6 +----
 drivers/mtd/mtd.h                           | 12 +--------
 drivers/mtd/mtdconcat.c                     | 11 +--------
 drivers/mtd/mtdoob.c                        | 11 +--------
 drivers/mtd/mtdraw.c                        | 11 +--------
 drivers/mtd/nand/Kconfig                    |  1 +
 drivers/mtd/nand/Makefile                   |  1 +
 drivers/mtd/nand/atmel_nand.c               |  7 +-----
 drivers/mtd/nand/atmel_nand_ecc.h           |  6 +----
 drivers/mtd/nand/nand-bb.c                  | 10 +-------
 drivers/mtd/nand/nand_denali_dt.c           | 10 +-------
 drivers/mtd/nand/nand_imx.c                 | 10 +-------
 drivers/mtd/nand/nand_mrvl_nfc.c            |  5 +---
 drivers/mtd/nand/nand_mxs.c                 |  6 +----
 drivers/mtd/nand/nand_omap_bch_decoder.c    |  4 +--
 drivers/mtd/nand/nand_omap_bch_decoder.h    |  3 ++-
 drivers/mtd/nand/nand_omap_gpmc.c           |  5 ++--
 drivers/mtd/nand/nand_orion.c               |  5 +---
 drivers/mtd/nand/nand_s3c24xx.c             | 13 ++--------
 drivers/mtd/nand/nomadik_nand.c             | 11 +--------
 drivers/mtd/nor/Kconfig                     |  1 +
 drivers/mtd/nor/Makefile                    |  1 +
 drivers/mtd/nor/cfi_flash.c                 | 13 +---------
 drivers/mtd/nor/cfi_flash.h                 | 12 +--------
 drivers/mtd/nor/cfi_flash_amd.c             |  1 +
 drivers/mtd/nor/cfi_flash_intel.c           |  1 +
 drivers/mtd/partition.c                     |  1 +
 drivers/mtd/peb.c                           | 11 +--------
 drivers/mtd/spi-nor/Kconfig                 |  1 +
 drivers/mtd/spi-nor/Makefile                |  1 +
 drivers/mtd/spi-nor/cadence-quadspi.c       | 13 +---------
 drivers/mtd/spi-nor/spi-nor.c               |  5 +---
 drivers/mtd/ubi/Kconfig                     |  1 +
 drivers/mtd/ubi/Makefile                    |  1 +
 drivers/mtd/ubi/attach.c                    | 11 +--------
 drivers/mtd/ubi/barebox.c                   |  1 +
 drivers/mtd/ubi/build.c                     | 11 +--------
 drivers/mtd/ubi/debug.c                     | 11 +--------
 drivers/mtd/ubi/debug.h                     | 11 +--------
 drivers/mtd/ubi/eba.c                       | 11 +--------
 drivers/mtd/ubi/fastmap-wl.c                | 11 +--------
 drivers/mtd/ubi/fastmap.c                   | 11 +--------
 drivers/mtd/ubi/io.c                        | 11 +--------
 drivers/mtd/ubi/kapi.c                      | 11 +--------
 drivers/mtd/ubi/misc.c                      | 11 +--------
 drivers/mtd/ubi/ubi-barebox.h               |  5 +---
 drivers/mtd/ubi/ubi.h                       | 11 +--------
 drivers/mtd/ubi/upd.c                       | 11 +--------
 drivers/mtd/ubi/vmt.c                       | 11 +--------
 drivers/mtd/ubi/vtbl.c                      | 11 +--------
 drivers/mtd/ubi/wl.c                        | 11 +--------
 drivers/mtd/ubi/wl.h                        |  1 +
 drivers/net/Kconfig                         |  1 +
 drivers/net/Makefile                        |  1 +
 drivers/net/e1000/eeprom.c                  |  1 +
 drivers/net/e1000/mtd.c                     |  1 +
 drivers/net/e1000/regio.c                   |  1 +
 drivers/net/enc28j60_hw.h                   |  1 +
 drivers/net/fec_mpc5200.h                   |  1 +
 drivers/net/liteeth.c                       |  1 +
 drivers/net/phy/Kconfig                     |  1 +
 drivers/net/phy/Makefile                    |  1 +
 drivers/net/phy/marvell.c                   |  1 +
 drivers/net/phy/mv88e6xxx/Makefile          |  1 +
 drivers/net/phy/mv88e6xxx/chip.c            |  1 +
 drivers/net/phy/mv88e6xxx/chip.h            |  1 +
 drivers/net/phy/mv88e6xxx/global2.c         |  1 +
 drivers/net/phy/mv88e6xxx/global2.h         |  1 +
 drivers/net/phy/mv88e6xxx/port.c            |  1 +
 drivers/net/phy/mv88e6xxx/port.h            |  1 +
 drivers/net/phy/phy-core.c                  |  1 +
 drivers/net/phy/realtek.c                   |  7 +-----
 drivers/net/rtl8139.c                       |  1 +
 drivers/net/usb/Kconfig                     |  1 +
 drivers/net/usb/Makefile                    |  1 +
 drivers/net/usb/asix.c                      |  1 +
 drivers/net/usb/usbnet.c                    |  1 +
 drivers/nvme/Kconfig                        |  1 +
 drivers/nvme/Makefile                       |  1 +
 drivers/nvme/host/Kconfig                   |  1 +
 drivers/nvme/host/core.c                    |  1 +
 drivers/nvme/host/nvme.h                    | 10 +-------
 drivers/nvme/host/pci.c                     |  1 +
 drivers/nvmem/Kconfig                       |  1 +
 drivers/nvmem/Makefile                      |  1 +
 drivers/nvmem/core.c                        | 10 +-------
 drivers/nvmem/eeprom_93xx46.c               |  5 +---
 drivers/nvmem/ocotp.c                       |  5 +---
 drivers/nvmem/rave-sp-eeprom.c              | 14 +----------
 drivers/nvmem/snvs_lpgpr.c                  |  5 +---
 drivers/nvmem/starfive-otp.c                |  2 +-
 drivers/of/Kconfig                          |  1 +
 drivers/of/Makefile                         |  1 +
 drivers/of/address.c                        | 10 +-------
 drivers/of/barebox.c                        | 11 +--------
 drivers/of/base.c                           | 10 +-------
 drivers/of/device.c                         |  1 +
 drivers/of/fdt.c                            | 10 +-------
 drivers/of/mem_generic.c                    |  1 +
 drivers/of/of_gpio.c                        |  2 ++
 drivers/of/of_mtd.c                         |  4 +--
 drivers/of/of_net.c                         |  3 +--
 drivers/of/of_path.c                        | 11 +--------
 drivers/of/of_pci.c                         |  2 ++
 drivers/of/partition.c                      | 10 +-------
 drivers/of/platform.c                       | 10 +-------
 drivers/pci/Kconfig                         |  1 +
 drivers/pci/Makefile                        |  1 +
 drivers/pci/bus.c                           |  1 +
 drivers/pci/pci.c                           |  1 +
 drivers/pci/pci_iomap.c                     |  1 +
 drivers/phy/Kconfig                         |  1 +
 drivers/phy/Makefile                        |  1 +
 drivers/phy/freescale/Kconfig               |  1 +
 drivers/phy/freescale/Makefile              |  1 +
 drivers/phy/phy-core.c                      |  6 +----
 drivers/phy/rockchip/Kconfig                |  1 +
 drivers/phy/rockchip/Makefile               |  1 +
 drivers/phy/usb-nop-xceiv.c                 | 11 +--------
 drivers/pinctrl/Kconfig                     |  1 +
 drivers/pinctrl/Makefile                    |  1 +
 drivers/pinctrl/imx-iomux-v1.c              |  1 +
 drivers/pinctrl/imx-iomux-v2.c              | 13 +---------
 drivers/pinctrl/imx-iomux-v3.c              | 11 +--------
 drivers/pinctrl/mvebu/Makefile              |  1 +
 drivers/pinctrl/mvebu/armada-370.c          |  6 +----
 drivers/pinctrl/mvebu/armada-xp.c           |  6 +----
 drivers/pinctrl/mvebu/common.c              |  6 +----
 drivers/pinctrl/mvebu/common.h              |  6 +----
 drivers/pinctrl/mvebu/dove.c                |  6 +----
 drivers/pinctrl/mvebu/kirkwood.c            |  6 +----
 drivers/pinctrl/pinctrl-at91.c              | 12 +--------
 drivers/pinctrl/pinctrl-bcm2835.c           | 12 +--------
 drivers/pinctrl/pinctrl-mxs.c               | 11 +--------
 drivers/pinctrl/pinctrl-rockchip.c          | 10 +-------
 drivers/pinctrl/pinctrl-single.c            | 11 +--------
 drivers/pinctrl/pinctrl-tegra-xusb.c        | 13 +---------
 drivers/pinctrl/pinctrl-tegra20.c           | 13 +---------
 drivers/pinctrl/pinctrl-tegra30.c           | 13 +---------
 drivers/pinctrl/pinctrl-vf610.c             | 11 +--------
 drivers/pinctrl/pinctrl.c                   | 11 +--------
 drivers/pwm/Kconfig                         |  1 +
 drivers/pwm/Makefile                        |  1 +
 drivers/pwm/pwm-atmel.c                     |  3 +--
 drivers/pwm/pwm-imx.c                       |  5 +---
 drivers/regulator/Kconfig                   |  1 +
 drivers/regulator/Makefile                  |  1 +
 drivers/regulator/anatop-regulator.c        | 17 +------------
 drivers/regulator/bcm2835.c                 |  3 +--
 drivers/regulator/core.c                    | 11 +--------
 drivers/regulator/fixed.c                   | 11 +--------
 drivers/regulator/helpers.c                 |  1 +
 drivers/regulator/pfuze.c                   | 13 +---------
 drivers/remoteproc/imx_rproc.c              |  5 +---
 drivers/reset/Kconfig                       |  1 +
 drivers/reset/Makefile                      |  1 +
 drivers/reset/core.c                        |  7 ++----
 drivers/reset/reset-imx7.c                  | 10 +-------
 drivers/reset/reset-socfpga.c               |  6 +----
 drivers/rtc/Kconfig                         |  1 +
 drivers/rtc/Makefile                        |  1 +
 drivers/rtc/class.c                         | 12 +--------
 drivers/rtc/rtc-abracon.c                   | 11 +--------
 drivers/rtc/rtc-ds1307.c                    |  5 +---
 drivers/rtc/rtc-imxdi.c                     | 10 +-------
 drivers/rtc/rtc-jz4740.c                    |  7 +-----
 drivers/rtc/rtc-lib.c                       |  7 ++----
 drivers/serial/Kconfig                      |  1 +
 drivers/serial/Makefile                     |  1 +
 drivers/serial/amba-pl011.c                 | 12 +--------
 drivers/serial/atmel.c                      | 13 +---------
 drivers/serial/efi-stdio.c                  | 11 +--------
 drivers/serial/efi-stdio.h                  |  1 +
 drivers/serial/linux_console.c              | 11 +--------
 drivers/serial/serial_altera.c              | 12 +--------
 drivers/serial/serial_altera_jtag.c         | 12 +--------
 drivers/serial/serial_ar933x.c              | 12 +--------
 drivers/serial/serial_ar933x.h              |  5 +---
 drivers/serial/serial_auart.c               | 12 +--------
 drivers/serial/serial_cadence.c             | 12 +--------
 drivers/serial/serial_digic.c               | 11 +--------
 drivers/serial/serial_efi.c                 |  3 +--
 drivers/serial/serial_imx.c                 | 13 +---------
 drivers/serial/serial_lpuart.c              | 11 +--------
 drivers/serial/serial_mpc5xxx.c             | 12 +--------
 drivers/serial/serial_ns16550.c             | 12 +--------
 drivers/serial/serial_ns16550.h             |  6 +----
 drivers/serial/serial_omap4_usbboot.c       | 12 +--------
 drivers/serial/serial_pxa.c                 | 12 +--------
 drivers/serial/serial_s3c.c                 | 13 +---------
 drivers/serial/stm-serial.c                 | 13 +---------
 drivers/soc/imx/Kconfig                     |  1 +
 drivers/soc/imx/Makefile                    |  1 +
 drivers/soc/sifive/Makefile                 |  1 +
 drivers/soc/starfive/Makefile               |  1 +
 drivers/spi/Kconfig                         |  1 +
 drivers/spi/Makefile                        |  1 +
 drivers/spi/altera_spi.c                    | 13 +---------
 drivers/spi/ath79_spi.c                     | 12 +--------
 drivers/spi/atmel_spi.c                     | 13 +---------
 drivers/spi/atmel_spi.h                     |  5 +---
 drivers/spi/dspi_spi.c                      |  7 +-----
 drivers/spi/gpio_spi.c                      | 11 +--------
 drivers/spi/imx_spi.c                       | 13 +---------
 drivers/spi/mvebu_spi.c                     | 11 +--------
 drivers/spi/mxs_spi.c                       |  7 +-----
 drivers/spi/omap3_spi.c                     | 12 +--------
 drivers/spi/omap3_spi.h                     | 12 +--------
 drivers/spi/spi-bitbang-txrx.h              |  1 +
 drivers/spi/spi.c                           | 13 +---------
 drivers/usb/Kconfig                         |  1 +
 drivers/usb/Makefile                        |  1 +
 drivers/usb/core/Makefile                   |  1 +
 drivers/usb/core/common.c                   |  1 +
 drivers/usb/core/hub.c                      | 11 +--------
 drivers/usb/core/of.c                       | 10 +-------
 drivers/usb/core/usb.c                      | 13 +---------
 drivers/usb/core/usb.h                      |  1 +
 drivers/usb/dwc2/Kconfig                    |  1 +
 drivers/usb/dwc2/Makefile                   |  1 +
 drivers/usb/dwc3/Kconfig                    |  1 +
 drivers/usb/gadget/Kconfig                  |  1 +
 drivers/usb/gadget/Makefile                 |  1 +
 drivers/usb/gadget/at91_udc.c               |  6 +----
 drivers/usb/gadget/at91_udc.h               |  6 +----
 drivers/usb/gadget/composite.c              |  6 +----
 drivers/usb/gadget/config.c                 |  6 +----
 drivers/usb/gadget/dfu.c                    | 12 +--------
 drivers/usb/gadget/epautoconf.c             |  6 +----
 drivers/usb/gadget/f_acm.c                  |  5 +---
 drivers/usb/gadget/f_serial.c               |  5 +---
 drivers/usb/gadget/fsl_udc.c                |  1 +
 drivers/usb/gadget/functions.c              |  1 +
 drivers/usb/gadget/gadget_chips.h           |  1 +
 drivers/usb/gadget/multi.c                  |  6 +----
 drivers/usb/gadget/pxa27x_udc.c             | 12 +--------
 drivers/usb/gadget/pxa27x_udc.h             | 11 +--------
 drivers/usb/gadget/serial.c                 |  5 +---
 drivers/usb/gadget/u_serial.c               |  5 +---
 drivers/usb/gadget/u_serial.h               |  5 +---
 drivers/usb/gadget/udc-core.c               | 13 +---------
 drivers/usb/gadget/usbstring.c              |  6 +----
 drivers/usb/host/Kconfig                    |  1 +
 drivers/usb/host/Makefile                   |  1 +
 drivers/usb/host/ehci-atmel.c               | 12 +--------
 drivers/usb/host/ehci-core.h                | 12 +--------
 drivers/usb/host/ehci-hcd.c                 | 12 +--------
 drivers/usb/host/ehci-omap.c                |  4 +--
 drivers/usb/host/ehci.h                     | 12 +--------
 drivers/usb/host/ohci-at91.c                | 12 +--------
 drivers/usb/host/ohci-hcd.c                 | 13 +---------
 drivers/usb/host/ohci.h                     |  1 +
 drivers/usb/imx/Kconfig                     |  1 +
 drivers/usb/imx/Makefile                    |  1 +
 drivers/usb/imx/chipidea-imx.c              | 11 +--------
 drivers/usb/imx/imx-usb-misc.c              | 11 +--------
 drivers/usb/imx/imx-usb-phy.c               | 11 +--------
 drivers/usb/misc/Kconfig                    |  1 +
 drivers/usb/musb/Kconfig                    |  1 +
 drivers/usb/musb/Makefile                   |  1 +
 drivers/usb/musb/am35x-phy-control.h        |  1 +
 drivers/usb/musb/musb_am335x.c              |  1 +
 drivers/usb/musb/musb_barebox.c             |  1 +
 drivers/usb/musb/musb_core.c                | 27 +--------------------
 drivers/usb/musb/musb_core.h                | 27 +--------------------
 drivers/usb/musb/musb_dma.h                 | 27 +--------------------
 drivers/usb/musb/musb_dsps.c                | 17 +------------
 drivers/usb/musb/musb_gadget.c              | 27 +--------------------
 drivers/usb/musb/musb_gadget.h              | 27 +--------------------
 drivers/usb/musb/musb_gadget_ep0.c          | 27 +--------------------
 drivers/usb/musb/musb_host.c                | 27 +--------------------
 drivers/usb/musb/musb_host.h                | 27 +--------------------
 drivers/usb/musb/musb_io.h                  | 27 +--------------------
 drivers/usb/musb/musb_regs.h                | 27 +--------------------
 drivers/usb/musb/phy-am335x-control.c       |  1 +
 drivers/usb/musb/phy-am335x.c               |  1 +
 drivers/usb/otg/Kconfig                     |  1 +
 drivers/usb/otg/Makefile                    |  1 +
 drivers/usb/otg/twl4030.c                   | 12 +--------
 drivers/usb/otg/ulpi.c                      | 10 +-------
 drivers/usb/storage/Kconfig                 |  1 +
 drivers/usb/storage/Makefile                |  1 +
 drivers/usb/storage/transport.c             | 13 +---------
 drivers/usb/storage/transport.h             | 13 +---------
 drivers/usb/storage/usb.c                   | 13 +---------
 drivers/usb/storage/usb.h                   | 13 +---------
 drivers/video/Kconfig                       |  1 +
 drivers/video/Makefile                      |  1 +
 drivers/video/atmel_hlcdfb.c                | 12 +--------
 drivers/video/atmel_lcdfb.c                 | 12 +--------
 drivers/video/atmel_lcdfb.h                 |  1 +
 drivers/video/atmel_lcdfb_core.c            | 12 +--------
 drivers/video/backlight-pwm.c               | 12 +--------
 drivers/video/backlight.c                   |  1 +
 drivers/video/edid.c                        |  6 +----
 drivers/video/edid.h                        |  7 ++----
 drivers/video/efi_gop.c                     |  3 +--
 drivers/video/fb.c                          |  1 +
 drivers/video/fbconsole.c                   |  1 +
 drivers/video/imx-ipu-fb.c                  | 12 +--------
 drivers/video/imx-ipu-v3/Kconfig            |  1 +
 drivers/video/imx-ipu-v3/Makefile           |  1 +
 drivers/video/imx-ipu-v3/imx-hdmi.c         |  9 ++-----
 drivers/video/imx-ipu-v3/imx-hdmi.h         |  6 +----
 drivers/video/imx-ipu-v3/imx-ipu-v3.h       |  8 +-----
 drivers/video/imx-ipu-v3/imx-ldb.c          | 15 +-----------
 drivers/video/imx-ipu-v3/imx-pd.c           | 10 +-------
 drivers/video/imx-ipu-v3/ipu-common.c       | 11 +--------
 drivers/video/imx-ipu-v3/ipu-dc.c           | 11 +--------
 drivers/video/imx-ipu-v3/ipu-di.c           | 11 +--------
 drivers/video/imx-ipu-v3/ipu-dmfc.c         | 11 +--------
 drivers/video/imx-ipu-v3/ipu-dp.c           | 11 +--------
 drivers/video/imx-ipu-v3/ipu-prv.h          | 11 +--------
 drivers/video/imx-ipu-v3/ipufb.c            |  6 +----
 drivers/video/imx-ipu-v3/ipuv3-plane.c      | 10 +-------
 drivers/video/imx-ipu-v3/ipuv3-plane.h      |  1 +
 drivers/video/imx.c                         |  5 +---
 drivers/video/mtl017.c                      | 12 +--------
 drivers/video/of_display_timing.c           |  3 +--
 drivers/video/omap.c                        | 11 +--------
 drivers/video/omap.h                        | 11 +--------
 drivers/video/pxa.c                         | 11 +--------
 drivers/video/rave-sp-backlight.c           | 14 +----------
 drivers/video/s3c24xx.c                     | 13 +---------
 drivers/video/sdl.c                         |  3 +--
 drivers/video/simple-panel.c                | 12 +--------
 drivers/video/ssd1307fb.c                   |  3 +--
 drivers/video/stm.c                         | 11 +--------
 drivers/video/tc358767.c                    | 11 +--------
 drivers/video/vpl.c                         | 12 +--------
 drivers/w1/Kconfig                          |  1 +
 drivers/w1/Makefile                         |  1 +
 drivers/w1/masters/Kconfig                  |  1 +
 drivers/w1/masters/Makefile                 |  1 +
 drivers/w1/slaves/Kconfig                   |  1 +
 drivers/w1/slaves/Makefile                  |  1 +
 drivers/w1/w1.c                             | 11 +--------
 drivers/w1/w1.h                             | 11 +--------
 drivers/watchdog/Kconfig                    |  1 +
 drivers/watchdog/Makefile                   |  1 +
 drivers/watchdog/ar9344_wdt.c               |  7 +-----
 drivers/watchdog/bcm2835_wdt.c              | 12 +--------
 drivers/watchdog/davinci_wdt.c              |  6 ++---
 drivers/watchdog/dw_wdt.c                   |  6 +----
 drivers/watchdog/im28wd.c                   | 11 +--------
 drivers/watchdog/imxwd.c                    | 11 +--------
 drivers/watchdog/jz4740.c                   |  7 +-----
 drivers/watchdog/omap_wdt.c                 |  6 ++---
 drivers/watchdog/orion_wdt.c                | 10 +-------
 drivers/watchdog/wd_core.c                  | 11 +--------
 include/linux/phy.h                         |  7 +-----
 537 files changed, 555 insertions(+), 2842 deletions(-)
drivers/Kconfig +1 -0
index 670e0a9f4c95..dbdf3c06f552 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menu "Drivers"
 
 source "drivers/base/Kconfig"
drivers/Makefile +1 -0
index 9958b748eba0..04ab9770fbcb 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-y	+= base/
 obj-y	+= block/
 obj-$(CONFIG_ARM_AMBA) += amba/
drivers/aiodev/Kconfig +1 -0
index 03c688ae613c..6ed5ffe4cf00 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Misc strange devices
 #
drivers/aiodev/Makefile +1 -0
index 1b480f6fa309..b2fa919c6855 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 
 obj-$(CONFIG_AIODEV) += core.o
 obj-$(CONFIG_IMX_THERMAL) += imx_thermal.o
drivers/aiodev/core.c +1 -9
index 7240de2c40c7..5181d4c1077d 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * core.c - Code implementing core functionality of AIODEV susbsystem
  *
@@ -5,15 +6,6 @@
  *
  * Copyright (c) 2015 Zodiac Inflight Innovation
  * Author: Andrey Smirnov <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <common.h>
drivers/aiodev/imx_thermal.c +1 -9
index 6dd2baa36c71..ecc05ec9b717 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * imx_thermal
  *
@@ -8,15 +9,6 @@
  * (C) Copyright 2014-2015 Freescale Semiconductor, Inc.
  * Author: Nitin Garg <[email protected]>
  *             Ye Li <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <common.h>
drivers/aiodev/mc13xxx_adc.c +1 -9
index c5d1efdf8d15..5e4e44ebd4d9 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * mc13xxx_adc
  *
@@ -6,15 +7,6 @@
  * Based on the code of analogous driver from Linux:
  * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
  * Copyright (C) 2009 Sascha Hauer, Pengutronix
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <common.h>
drivers/amba/Kconfig +1 -0
index d1cba6a9b3b8..57f72e4e6858 100644
@@ -1,2 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
 config ARM_AMBA
 	bool
drivers/amba/Makefile +1 -0
index a4a511b32287..24e487624b52 100644
@@ -1,2 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
 
 obj-y += bus.o
drivers/amba/bus.c +1 -2
index a8cd16835dbd..aec66fd66074 100644
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2003 Deep Blue Solutions Ltd, All Rights Reserved.
  * Copyright (c) 2012 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
- *
- * Under GPLv2.
  */
 #include <common.h>
 #include <driver.h>
drivers/ata/Kconfig +1 -0
index 50d3ba7f3a9f..2a74031e439a 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menuconfig DISK
 	select BLOCK
 	select PARTITION
drivers/ata/Makefile +1 -0
index d3f5a0b57ee1..2c5b9740ddbc 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 # drive types
 
 obj-$(CONFIG_DISK_IDE_SFF) += ide-sff.o
drivers/ata/ahci.c +2 -12
index 6d251f248a2d..3c0b0a5450b7 100644
@@ -1,20 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) Freescale Semiconductor, Inc. 2006.
  * Author: Jason Jin<[email protected]>
  *         Zhang Wei<[email protected]>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * with the reference on libata and ahci drvier in kernel
- *
+ * with the reference on libata and ahci driver in kernel
  */
 
 #include <common.h>
drivers/ata/ahci.h +1 -11
index ed318420c331..7fed43045a61 100644
@@ -1,18 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C) Freescale Semiconductor, Inc. 2006.
  * Author: Jason Jin<[email protected]>
  *         Zhang Wei<[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 #ifndef _AHCI_H_
 #define _AHCI_H_
drivers/ata/disk_ata_drive.c +1 -10
index 3d9503fe7ea1..f36e06328c89 100644
@@ -1,18 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2011 Juergen Beisert, Pengutronix
  *
  * Inspired from various soures like http://wiki.osdev.org/ATA_PIO_Mode,
  * u-boot and the linux kernel
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <common.h>
drivers/ata/ide-sff.c +1 -0
index a735c8c32c02..dd8fab16aa68 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 #include <ata_drive.h>
 #include <io.h>
drivers/ata/intf_platform_ide.c +1 -14
index 15f5c0afaaec..96ea3717b6cc 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2011 Juergen Beisert, Pengutronix
  *
@@ -5,20 +6,6 @@
  *  Copyright (C) 2006 - 2007  Paul Mundt
  *  Based on pata_pcmcia:
  *  Copyright 2005-2006 Red Hat Inc, all rights reserved.
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <common.h>
drivers/ata/pata-imx.c +1 -13
index 4f75048c12ce..383f5f3bc142 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2011 Juergen Beisert, Pengutronix
  * Copyright (C) 2012 Sascha Hauer, Pengutronix
@@ -7,19 +8,6 @@
  *  Based on pata_pcmcia:
  *  Copyright 2005-2006 Red Hat Inc, all rights reserved.
  *
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <common.h>
drivers/ata/sata-imx.c +1 -0
index 7b8036bbf336..f423a9f2ae87 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 #include <ata_drive.h>
 #include <io.h>
drivers/ata/sata_mv.c +1 -0
index 22b29d08a579..4f0ffd4f12ab 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 #include <clock.h>
 #include <driver.h>
drivers/base/Kconfig +1 -0
index 1e13e5ed9d0b..a7abb79d2708 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 
 config PM_GENERIC_DOMAINS
 	bool
drivers/base/Makefile +1 -0
index 6d2cef8e1add..3fcd6f90564d 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-y	+= bus.o
 obj-y	+= driver.o
 obj-y	+= platform.o
drivers/base/bus.c +1 -2
index aac5b69f3442..d201e3f5e153 100644
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2012 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
- *
- * Under GPLv2
  */
 
 #include <common.h>
drivers/base/driver.c +1 -10
index 23d11d4dad60..3b22a95e174c 100644
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * driver.c - barebox driver model
  *
  * Copyright (c) 2007 Sascha Hauer <[email protected]>, Pengutronix
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 /**
drivers/base/platform.c +1 -10
index f9074633687b..7de3d9557ef6 100644
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * bus.c - barebox driver model
  *
  * Copyright (c) 2009 Sascha Hauer <[email protected]>, Pengutronix
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 #include <common.h>
 #include <driver.h>
drivers/base/power.c +1 -0
index 12674ca7d9c3..b68c9a11a549 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 #include <driver.h>
 #include <errno.h>
drivers/base/regmap/Makefile +1 -0
index b12b69531156..14a4a9372cd2 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-y	+= regmap.o
 obj-y	+= regmap-mmio.o
 obj-$(CONFIG_I2C)	+= regmap-i2c.o
drivers/base/regmap/internal.h +1 -0
index 4c7460fa4c44..be5e348f81bd 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef REGMAP_INTERNAL_H_
 #define REGMAP_INTERNAL_H_
 
drivers/base/regmap/regmap.c +1 -9
index 1af0c15a7baf..c57c472f6d77 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Register map access API
  *
@@ -8,15 +9,6 @@
  * Copyright 2011 Wolfson Microelectronics plc
  *
  * Author: Mark Brown <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; version 2.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
  */
 
 #include <common.h>
drivers/base/resource.c +1 -11
index 3fd3f1779bfe..d0d39620772e 100644
@@ -1,17 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * (C) Copyright 2000
  * Wolfgang Denk, DENX Software Engineering, [email protected].
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <common.h>
drivers/block/Kconfig +1 -0
index b42571eca5c6..e34b4929a899 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config VIRTIO_BLK
         bool "Virtio block driver"
         depends on VIRTIO
drivers/block/Makefile +1 -0
index 23d634f00676..5748deec4527 100644
@@ -1,2 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_EFI_BOOTUP) += efi-block-io.o
 obj-$(CONFIG_VIRTIO_BLK) += virtio_blk.o
drivers/block/efi-block-io.c +1 -0
index 4768c219edd2..3475615baf93 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 #include <driver.h>
 #include <init.h>
drivers/bus/Kconfig +1 -0
index 6b4e1d30e365..b4237040a369 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menu "Bus devices"
 
 config BUS_OMAP_GPMC
drivers/bus/Makefile +1 -0
index 518689a1eabe..be2dacf5e8f3 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_BUS_OMAP_GPMC)	+= omap-gpmc.o
 obj-$(CONFIG_IMX_WEIM)		+= imx-weim.o
 obj-$(CONFIG_MVEBU_MBUS)	+= mvebu-mbus.o
drivers/bus/imx-weim.c +1 -4
index c62e948f5b7d..498e5360644c 100644
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * EIM driver for Freescale's i.MX chips
  *
  * Copyright (C) 2013 Freescale Semiconductor, Inc.
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 #include <common.h>
 #include <driver.h>
drivers/bus/mvebu-mbus.c +1 -0
index 4b7edb53ed3a..f0a1dfd2aa0f 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Address map functions for Marvell EBU SoCs (Kirkwood, Armada
  * 370/XP, Dove, Orion5x and MV78xx0)
drivers/bus/omap-gpmc.c +1 -4
index cd5b6d5e0305..960fd4658f76 100644
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * OMAP GPMC driver. Based upon the corresponding Linux Code
  *
  * Copyright (C) 2013 Sascha Hauer, Pengutronix, <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 #include <common.h>
 #include <driver.h>
drivers/clk/loongson/Makefile +1 -0
index dd76b2518c05..e6d3c64300f7 100644
@@ -1,2 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_BOARD_LOONGSON_TECH_LS1B) += clk-ls1b200.o
 
drivers/clocksource/Kconfig +1 -0
index 7bc69afd7820..181b48280feb 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menu "Clocksource"
 
 config ARCH_HAS_IMX_GPT
drivers/clocksource/Makefile +1 -0
index e3d243eb9423..e0084e37a34d 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_AMBA_SP804) += amba-sp804.o
 obj-$(CONFIG_ARM_SMP_TWD) += arm_smp_twd.o
 obj-$(CONFIG_CLOCKSOURCE_BCM283X) += bcm2835.o
drivers/clocksource/amba-sp804.c +1 -2
index 0c0ecaa83ac3..475af64dede3 100644
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
- *
- * Under GPL v2
  */
 #include <common.h>
 #include <init.h>
drivers/clocksource/arm_architected_timer.c +1 -11
index 3ca7dfd17d62..16e40a1a0b3b 100644
@@ -1,16 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2018 Sascha Hauer <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <common.h>
drivers/clocksource/arm_smp_twd.c +1 -2
index 5a1e5a792158..3fbc7fa3b334 100644
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
- *
- * Under GPL v2
  */
 #include <common.h>
 #include <init.h>
drivers/clocksource/bcm2835.c +1 -11
index 179109aee25f..5134b349157c 100644
@@ -1,18 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Author: Carlo Caione <[email protected]>
  *
  * Based on clocksource for nomadik
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 
drivers/clocksource/digic.c +1 -10
index 9079733eba00..1a1e6d86cd5b 100644
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2013, 2014 Antony Pavlov <[email protected]>
  *
  * This file is part of barebox.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <common.h>
drivers/clocksource/dw_apb_timer.c +1 -5
index 82ad6bccbc64..d4773dc2f1ec 100644
@@ -1,16 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * (C) Copyright 2009 Intel Corporation
  * Author: Jacob Pan ([email protected])
  *
  * Shared with ARM platforms, Jamie Iles, Picochip 2011
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
  * Support for the Synopsys DesignWare APB Timers.
  *
- *
  * Taken from linux-4.9 kernel and adapted to barebox.
  */
 #include <common.h>
drivers/clocksource/efi.c +1 -2
index 658d146fb5fd..10f75c033ea8 100644
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2017 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
- *
- * Under GPL v2
  */
 #include <common.h>
 #include <init.h>
drivers/clocksource/efi_x86.c +1 -0
index 364e1ef8e10f..c79862fb990f 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 #include <init.h>
 #include <driver.h>
drivers/clocksource/mvebu.c +1 -11
index 5a47d6f2178b..eb5246e4e79b 100644
@@ -1,16 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2013 Thomas Petazzoni <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <common.h>
drivers/clocksource/nomadik.c +1 -4
index 7d5d9f9f779b..25888b757a2e 100644
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * linux/arch/arm/mach-nomadik/timer.c
  *
  * Copyright (C) 2008 STMicroelectronics
  * Copyright (C) 2009 Alessandro Rubini, somewhat based on at91sam926x
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
  */
 #include <common.h>
 #include <clock.h>
drivers/clocksource/orion.c +1 -11
index c9f50b729e8a..d40b09e5debc 100644
@@ -1,17 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright
  * (C) 2013 Sebastian Hesselbarth <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <common.h>
drivers/clocksource/timer-atmel-pit.c +1 -11
index 368aae245047..bbbc81788ce4 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * (C) Copyright 2002
  * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
@@ -9,17 +10,6 @@
  *
  * (C) Copyright 2002
  * Gary Jennejohn, DENX Software Engineering, <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <common.h>
drivers/clocksource/timer-imx-gpt.c +1 -11
index 6be0afed4d58..28f90d967d3f 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * (C) Copyright 2002
  * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
@@ -9,17 +10,6 @@
  *
  * (C) Copyright 2002
  * Gary Jennejohn, DENX Software Engineering, <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <common.h>
drivers/clocksource/timer-ti-32k.c +1 -10
index 755c78095fd5..1f3f15561e09 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /**
  * @file
  * @brief Provide @ref clocksource functionality for OMAP
@@ -9,16 +10,6 @@
  * (C) Copyright 2008
  * Texas Instruments, <www.ti.com>
  * Nishanth Menon <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <common.h>
drivers/clocksource/timer-ti-dm.c +1 -11
index 86882fcaf521..d43609ad1967 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /**
  * @file
  * @brief Support DMTimer counter
@@ -14,17 +15,6 @@
  * Author: Teresa Gámez <[email protected]>
  * (C) Copyright 2015 Phytec Messtechnik GmbH
  * Author: Daniel Schultz <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <common.h>
drivers/clocksource/uemd.c +1 -10
index 02fa8a1c5be5..fe7921a44db2 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2014 Antony Pavlov <[email protected]>
  *
@@ -6,16 +7,6 @@
  * (C) 2011 RC Module, Sergey Mironov <[email protected]>
  *
  * This file is part of barebox.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <common.h>
drivers/crypto/Kconfig +1 -0
index 77d3782bdeaf..c6f6dc3ace7a 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 
 menuconfig CRYPTO_HW
 	bool "Hardware crypto devices"
drivers/crypto/Makefile +1 -0
index 1999929bc2b3..167efe66de34 100644
@@ -1,2 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM) += caam/
 obj-$(CONFIG_CRYPTO_DEV_MXC_SCC) += imx-scc/
drivers/crypto/caam/Kconfig +1 -0
index 398167850122..e2e5c97931ec 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config CRYPTO_DEV_FSL_CAAM
 	bool "Freescale CAAM-Multicore driver backend"
 	depends on ARCH_IMX6 || COMPILE_TEST
drivers/crypto/caam/Makefile +1 -0
index 718e25c41aa2..848356299889 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for the CAAM backend and dependent components
 #
drivers/crypto/caam/caam-blobgen.c +1 -4
index acbe5a110d7b..7788a186ccda 100644
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2015 Pengutronix, Steffen Trumtrar <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License version 2 as published by the
- * Free Software Foundation.
  */
 #include <common.h>
 #include <asm/io.h>
drivers/crypto/caam/caamrng.c +1 -0
index 5d8cfb8bff93..ed50f0ea16ec 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * caam - Freescale FSL CAAM support for hw_random
  *
drivers/crypto/caam/ctrl.c +1 -0
index afa3b38a35ad..f4c8d05cf2bc 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * CAAM control-plane driver backend
  * Controller-level driver, kernel property detection, initialization
drivers/crypto/caam/ctrl.h +1 -0
index 22b6ad5a7f49..5e75fa474198 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * CAAM control-plane driver backend public-level include definitions
  *
drivers/crypto/caam/desc.h +1 -0
index ee873c07f2ab..8796084dba37 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * CAAM descriptor composition header
  * Definitions to support CAAM descriptor instruction generation
drivers/crypto/caam/desc_constr.h +1 -0
index 0d5778ba0d2d..48e02b0da6ad 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * caam descriptor construction helper functions
  *
drivers/crypto/caam/error.c +1 -0
index 766875b58b9b..d1123a9095a8 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * CAAM Error Reporting
  *
drivers/crypto/caam/error.h +1 -0
index 4ea908977e74..a5541f2df2a0 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * CAAM Error Reporting code header
  *
drivers/crypto/caam/intern.h +1 -0
index b13b7e08bc70..8f8129a67384 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * CAAM/SEC 4.x driver backend
  * Private/internal definitions between modules
drivers/crypto/caam/jr.c +1 -0
index b602a7b0ec14..d4fe26762baf 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
 * CAAM/SEC 4.x transport/backend driver
 * JobR backend functionality
drivers/crypto/caam/jr.h +1 -0
index 85aca6d88c24..8c8164f30729 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * CAAM public-level include definitions for the JobR backend
  *
drivers/crypto/caam/regs.h +1 -0
index 19e7d6d7e4a1..8fa4d633ca15 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * CAAM hardware register-level view
  *
drivers/crypto/imx-scc/Kconfig +1 -0
index c3b69b2fd40e..63af8242bd92 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config CRYPTO_DEV_MXC_SCC
 	tristate "Support for Freescale Security Controller (SCC)"
 	depends on (ARCH_IMX25 || COMPILE_TEST) && OFTREE
drivers/crypto/imx-scc/Makefile +1 -0
index c30fd1e12d76..c02ce5f33c12 100644
@@ -1,2 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_CRYPTO_DEV_MXC_SCC) += scc.o
 obj-$(CONFIG_CRYPTO_DEV_MXC_SCC_BLOB_GEN) += scc-blobgen.o
drivers/crypto/imx-scc/scc-blobgen.c +2 -4
index e1a137242001..93010f2813af 100644
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2016 Pengutronix, Steffen Trumtrar <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License version 2 as published by the
- * Free Software Foundation.
  */
+
 #include <common.h>
 #include <dma.h>
 #include <digest.h>
drivers/crypto/imx-scc/scc.c +1 -10
index 5a35c3506d08..26df089ecdc9 100644
@@ -1,19 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2016 Pengutronix, Steffen Trumtrar <[email protected]>
  *
  * The driver is based on information gathered from
  * drivers/mxc/security/imx_scc.c which can be found in
  * the Freescale linux-2.6-imx.git in the imx_2.6.35_maintain branch.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 #include <common.h>
 #include <clock.h>
drivers/crypto/imx-scc/scc.h +1 -4
index 5c5c25c4a03a..1b67c022a052 100644
@@ -1,9 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (C) 2016 Pengutronix, Steffen Trumtrar <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License version 2 as published by the
- * Free Software Foundation.
  */
 
 struct ablkcipher_request;
drivers/ddr/Kconfig +1 -0
index d92c272b5859..d3eeada1fce3 100644
@@ -1,2 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
 source "drivers/ddr/fsl/Kconfig"
 source "drivers/ddr/imx8m/Kconfig"
drivers/ddr/Makefile +1 -0
index 7e33182cbce7..c005ffc84da0 100644
@@ -1,2 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_DDR_FSL) += fsl/
 obj-$(CONFIG_IMX8M_DRAM) += imx8m/
drivers/ddr/fsl/Kconfig +1 -0
index b12bf8f7776f..857e3a522548 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config DDR_FSL
 	bool "Freescale DDR support" if COMPILE_TEST
 	depends on ARM
drivers/ddr/imx8m/Kconfig +1 -0
index efc50c21d4c4..47540b4782b3 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menu "i.MX8M DDR controllers"
 	depends on ARCH_IMX8MQ || ARCH_IMX8MM || ARCH_IMX8MN || ARCH_IMX8MP
 
drivers/dma/Kconfig +1 -0
index c75fc8b9811f..2528b544def6 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menu "DMA support"
 
 config MXS_APBH_DMA
drivers/dma/Makefile +1 -0
index 49d6d6573f4f..19020831e255 100644
@@ -1,2 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_MXS_APBH_DMA)	+= apbh_dma.o
 obj-$(CONFIG_HAS_DMA)		+= map.o
drivers/dma/apbh_dma.c +1 -5
index 0e4961f6cbde..83bd783d34ed 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Freescale i.MX28 APBH DMA driver
  *
@@ -8,11 +9,6 @@
  *
  * Based on code from LTIB:
  * Copyright (C) 2010 Freescale Semiconductor, Inc. All Rights Reserved.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #include <dma/apbh-dma.h>
drivers/eeprom/Kconfig +1 -0
index 6844480b0741..9de46a878210 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menu "EEPROM support"
 
 config EEPROM_AT25
drivers/eeprom/Makefile +1 -0
index e287eb02ffc8..0f21bda69acb 100644
@@ -1,2 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_EEPROM_AT25)	+= at25.o
 obj-$(CONFIG_EEPROM_AT24)	+= at24.o
drivers/eeprom/at24.c +1 -5
index 1d35088c6bbc..3103d7722a40 100644
@@ -1,13 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at24.c - handle most I2C EEPROMs
  *
  * Copyright (C) 2005-2007 David Brownell
  * Copyright (C) 2008 Wolfram Sang, Pengutronix
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #include <common.h>
drivers/eeprom/at25.c +1 -5
index 56168c216dad..ee4663270bbc 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at25.c -- support most SPI EEPROMs, such as Atmel AT25 models
  *
@@ -5,11 +6,6 @@
  *
  * based on linux driver by:
  * Copyright (C) 2006 David Brownell
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #include <common.h>
drivers/efi/Kconfig +1 -0
index 80d9e6f0c5eb..dd3ac7525f9f 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config EFI_BOOTUP
 	bool
 	select BLOCK
drivers/efi/Makefile +1 -0
index de31212f2507..3f0be5b5d9f5 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-y += efi-device.o
drivers/efi/efi-device.c +1 -10
index 56fec5c15337..25c8eeaf01cb 100644
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * efi-device.c - barebox EFI payload support
  *
  * Copyright (c) 2014 Sascha Hauer <[email protected]>, Pengutronix
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <bootsource.h>
drivers/firmware/Kconfig +1 -0
index 90b4c0ab9bd0..de3e70afc2db 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menu "Firmware Drivers"
 
 config FIRMWARE_ALTERA_SERIAL
drivers/firmware/Makefile +1 -0
index bbd2bcda9780..f38c146087ff 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_FIRMWARE_ALTERA_SERIAL) += altera_serial.o
 obj-$(CONFIG_FIRMWARE_ALTERA_SOCFPGA) += socfpga.o socfpga_sdr.o
 obj-$(CONFIG_FIRMWARE_ZYNQMP_FPGA) += zynqmp-fpga.o
drivers/firmware/altera_serial.c +1 -9
index 49460c6a70c1..2b368240f824 100644
@@ -1,14 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2013 Juergen Beisert <[email protected]>, Pengutronix
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <common.h>
drivers/firmware/socfpga.c +1 -22
index dd9202bf2b57..98b47f65704d 100644
@@ -1,29 +1,8 @@
+// SPDX-License-Identifier: BSD-3-Clause
 /*
  *
  * Copyright (C) 2012 Altera Corporation <www.altera.com>
  * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *  - Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *  - Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *  - Neither the name of the Altera Corporation nor the
- *    names of its contributors may be used to endorse or promote products
- *    derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL ALTERA CORPORATION BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
 #include <firmware.h>
drivers/firmware/socfpga_sdr.S +1 -0
index b895fb293cbd..06da30769441 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #include <linux/linkage.h>
 
 	.arch	armv7-a
drivers/fpga/Kconfig +1 -0
index 64ce9f91b6a8..fc2bf4612d36 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # FPGA framework configuration
 #
drivers/fpga/Makefile +1 -0
index 86178fe7c078..06ca070edb9f 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for the fpga framework and fpga manager drivers.
 #
drivers/fpga/fpga-bridge.c +2 -12
index 6f9e943de904..b8e87333f947 100644
@@ -1,20 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * FPGA Bridge Framework Driver
  *
  *  Copyright (C) 2013-2016 Altera Corporation, All Rights Reserved.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program.  If not, see <http://www.gnu.org/licenses/>.
  */
+
 #include <common.h>
 #include <fpga-bridge.h>
 
drivers/fpga/socfpga-fpga2sdram-bridge.c +1 -12
index a9760597ddb5..a9d5a8560595 100644
@@ -1,19 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * FPGA to SDRAM Bridge Driver for Altera SoCFPGA Devices
  *
  *  Copyright (C) 2013-2016 Altera Corporation, All Rights Reserved.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 /*
drivers/fpga/socfpga-hps2fpga-bridge.c +1 -12
index ecb33ea0b3a5..ae6af5defe39 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * FPGA to/from HPS Bridge Driver for Altera SoCFPGA Devices
  *
@@ -6,18 +7,6 @@
  * Includes this patch from the mailing list:
  *   fpga: altera-hps2fpga: fix HPS2FPGA bridge visibility to L3 masters
  *   Signed-off-by: Anatolij Gustschin <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 /*
drivers/gpio/Kconfig +1 -0
index 347a719f5fb0..371d2fce3606 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config GPIOLIB
 	bool
 	select GENERIC_GPIO
drivers/gpio/Makefile +1 -0
index d9f96e34c59d..d77d819f99c9 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_GPIOLIB)		+= gpiolib.o
 
 obj-$(CONFIG_GPIO_74164)	+= gpio-74164.o
drivers/gpio/gpiolib.c +1 -0
index 387b410f12f5..eb296802c750 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #define pr_fmt(fmt)	"gpiolib: " fmt
 
 #include <init.h>
drivers/hab/Makefile +1 -0
index b169a1346d8e..3b5269d09083 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_HABV4) += habv4.o
 obj-$(CONFIG_HABV3) += habv3.o
 obj-$(CONFIG_HAB) += hab.o
drivers/hab/hab.c +1 -10
index a346e01567da..b400da65b002 100644
@@ -1,13 +1,4 @@
-/*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; version 2.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
 #define pr_fmt(fmt) "HAB: " fmt
 
 #include <common.h>
drivers/hab/habv3.c +1 -10
index f3f94bc44c8c..a26fd6380582 100644
@@ -1,13 +1,4 @@
-/*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; version 2.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
 #define pr_fmt(fmt) "HABv3: " fmt
 
 #include <init.h>
drivers/hab/habv4.c +1 -9
index d58768fa5481..9101fc1caed7 100644
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2014, 2015 Marc Kleine-Budde <[email protected]>
  * Copyright (C) 2010 Freescale Semiconductor, Inc.
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #define pr_fmt(fmt)  "HABv4: " fmt
drivers/hw_random/Kconfig +1 -0
index 764911f4d35e..af9837df84c4 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menuconfig HWRNG
 	bool "HWRNG Support"
 	help
drivers/hw_random/Makefile +1 -0
index 4cf33d2d93e6..14193c2fb60f 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_HWRNG)		+= core.o
 obj-$(CONFIG_HWRNG_MXC_RNGC) += mxc-rngc.o
 obj-$(CONFIG_HWRNG_STM32) += stm32-rng.o
drivers/hw_random/core.c +1 -4
index 86214dc8bae7..f487cb386487 100644
@@ -1,10 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2016 Pengutronix, Steffen Trumtrar <[email protected]>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
  * derived from Linux kernel drivers/char/hw_random/core.c
  */
 
drivers/i2c/Kconfig +1 -0
index 0bd8be04e151..e7f3297ab944 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menuconfig I2C
 	bool "I2C drivers"
 
drivers/i2c/Makefile +1 -0
index b887e7557373..76f16ce81556 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-y += busses/
 obj-$(CONFIG_I2C) += i2c.o i2c-smbus.o algos/ muxes/
 obj-$(CONFIG_I2C_MUX) += i2c-mux.o
drivers/i2c/algos/Kconfig +1 -0
index c74b148f5e35..27463e0524af 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # I2C algorithm drivers configuration
 #
drivers/i2c/algos/Makefile +1 -0
index e0a03995b561..05c6a10f8345 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for the i2c algorithms
 #
drivers/i2c/busses/Kconfig +1 -0
index 3bc8d1b8d2bc..df0aee1ec259 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Sensor device configuration
 #
drivers/i2c/busses/Makefile +1 -0
index 7e450ead2738..4198178ecee7 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_I2C_AT91)		+= i2c-at91.o
 obj-$(CONFIG_I2C_GPIO)		+= i2c-gpio.o
 obj-$(CONFIG_I2C_IMX)		+= i2c-imx.o
drivers/i2c/busses/i2c-at91.c +1 -5
index 70e87c1b2cc4..b100dc6c17b5 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *  i2c Support for Atmel's AT91 Two-Wire Interface (TWI)
  *
@@ -10,11 +11,6 @@
  *
  *  Borrowed heavily from original work by:
  *  Copyright (C) 2000 Philip Edelbrock <[email protected]>
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
  */
 
 #include <common.h>
drivers/i2c/busses/i2c-designware.c +1 -10
index 8508fac7171f..6c5b07fe915d 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Synopsys DesignWare I2C adapter driver (master only).
  *
@@ -10,16 +11,6 @@
  *    Copyright (C) 2009 Provigent Ltd.
  *
  * Copyright (C) 2015 Andrey Smirnov <[email protected]>
- *
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
- * GNU General Public License for more details.
- *
  */
 
 #include <clock.h>
drivers/i2c/busses/i2c-gpio.c +1 -4
index 7ccdb0b22207..6ccd0cbaa3b9 100644
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Bitbanging I2C bus driver using the GPIO API
  *
  * Copyright (C) 2007 Atmel Corporation
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #include <common.h>
drivers/i2c/busses/i2c-imx-early.c +1 -10
index 472e4be83a70..12c2572ac238 100644
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 2013 GE Intelligent Platforms, Inc
  * Copyright 2006,2009 Freescale Semiconductor, Inc.
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  * Early I2C support functions to read SPD data or board
  * information.
  * Based on U-Boot drivers/i2c/fsl_i2c.c
drivers/i2c/busses/i2c-imx.c +1 -10
index 7d25ed3af5ae..a2abfa5b43e4 100644
@@ -1,18 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 2012 GE Intelligent Platforms, Inc
  * Copyright (C) 2002 Motorola GSG-China
  *               2009 Marc Kleine-Budde, Pengutronix
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  * Author:
  *	Darius Augulis, Teltonika Inc.
  *
drivers/i2c/busses/i2c-imx.h +1 -0
index 3e3e1317f2d6..3b3ec483cec8 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef I2C_IMX_H
 #define I2C_IMX_H
 
drivers/i2c/busses/i2c-mv64xxx.c +2 -4
index f54d81608fc3..0567d60ecb9e 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Driver for the i2c controller on the Marvell line of host bridges
  * (e.g, gt642[46]0, mv643[46]0, mv644[46]0, and Orion SoC family).
@@ -6,10 +7,7 @@
  *
  * Author: Mark A. Greer <[email protected]>
  *
- * 2005 (c) MontaVista, Software, Inc.  This file is licensed under
- * the terms of the GNU General Public License version 2.  This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
+ * 2005 (c) MontaVista, Software, Inc.
  */
 
 #include <common.h>
drivers/i2c/busses/i2c-omap.c +1 -10
index d3f525f333cc..29a618c8b2bd 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * TI OMAP I2C master mode driver
  *
@@ -12,16 +13,6 @@
  *	Juha Yrjölä <[email protected]>
  *	Syed Khasim <[email protected]>
  *	Nishant Menon <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
  */
 
 #include <clock.h>
drivers/i2c/busses/i2c-tegra.c +1 -10
index 94c982d5c2b7..3fd019bc62a6 100644
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2014 Lucas Stach <[email protected]>
  *
  * Partly based on code Copyright (C) 2010 Google, Inc.
- *
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 #include <common.h>
 #include <clock.h>
drivers/i2c/i2c-mux.c +1 -4
index ab31da61d6fa..68ca6c2f65b6 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Multiplexed I2C bus driver.
  *
@@ -16,10 +17,6 @@
  *	i2c-virt.c from Kumar Gala <[email protected]>
  *	i2c-virtual.c from Ken Harrenstien, Copyright (c) 2004 Google, Inc.
  *	i2c-virtual.c from Brian Kuschak <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <common.h>
drivers/i2c/i2c-smbus.c +2 -0
index e8aeaa72341f..652d039cb00f 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
 #include <common.h>
 #include <errno.h>
 #include <i2c/i2c.h>
drivers/i2c/i2c.c +1 -2
index 12aac4279478..c33ce81b1827 100644
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2009 Marc Kleine-Budde <[email protected]>
  *
- * This file is released under the GPLv2
- *
  * Derived from:
  * - i2c-core.c - a device driver for the iic-bus interface
  *   Copyright (C) 1995-99 Simon G. Vogl
drivers/i2c/muxes/Kconfig +1 -0
index 74b73459aacf..736195f59660 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Multiplexer I2C chip drivers configuration
 #
drivers/i2c/muxes/Makefile +1 -0
index f35d40d0e340..a271c4fbcc38 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for multiplexer I2C chip drivers.
 
drivers/i2c/muxes/i2c-mux-pca954x.c +1 -4
index aa7dcb8c3159..0d31804c1047 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * I2C multiplexer
  *
@@ -32,10 +33,6 @@
  *	i2c-virtual_cb.c from Brian Kuschak <[email protected]>
  * and
  *	pca9540.c from Jean Delvare <[email protected]>.
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <common.h>
drivers/input/Kconfig +1 -0
index ba9fa25a3dec..fe4c1413a095 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Input device configuration
 #
drivers/input/Makefile +1 -0
index 6c8acc618427..608426cbde74 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_INPUT) += input.o keymap.o
 obj-$(CONFIG_INPUT_MATRIXKMAP) += matrix-keymap.o
 obj-$(CONFIG_KEYBOARD_USB) += usb_kbd.o
drivers/input/gpio_keys.c +1 -2
index 11d598c402e7..f2491b563a64 100644
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
- *
- * Under GPLv2
  */
 
 #include <common.h>
drivers/input/imx_keypad.c +1 -5
index 6757fac72b40..1e67ea60990f 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Driver for the IMX keypad port.
  * Copyright (C) 2009 Alberto Panizzo <[email protected]>
  * Copyright (C) 2012 Christian Kapeller <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
  */
 
 /*
drivers/input/input.c +1 -10
index 1df52f56c84d..b853aa306a39 100644
@@ -1,13 +1,4 @@
-/*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; version 2.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
 
 #include <common.h>
 #include <init.h>
drivers/input/keymap.c +1 -0
index fbe396b11f54..60d80164ad63 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <linux/types.h>
 #include <input/keyboard.h>
 
drivers/input/matrix-keymap.c +1 -10
index 288b6a4b5376..78493357d568 100644
@@ -1,13 +1,4 @@
-/*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; version 2.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
 
 #include <common.h>
 #include <input/matrix_keypad.h>
drivers/input/qt1070.c +1 -2
index 9e1dcc57ee0d..76a4d6625501 100644
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
- *
- * Under GPLv2
  */
 
 #include <common.h>
drivers/input/twl6030_pwrbtn.c +1 -11
index 481688b4a90e..656316fc3442 100644
@@ -1,14 +1,4 @@
-/*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0-or-later
 
 #include <common.h>
 #include <init.h>
drivers/input/usb_kbd.c +1 -11
index 032e11a546a8..d950bd5039c7 100644
@@ -1,19 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * USB keyboard driver for barebox
  *
  * (C) Copyright 2001 Denis Peter, MPL AG Switzerland
  * (C) Copyright 2015 Peter Mamonov
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <common.h>
drivers/led/Kconfig +1 -0
index 2a5920a7bd78..85999c387575 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menuconfig LED
 	bool "LED support"
 	select POLLER
drivers/led/Makefile +1 -0
index 35693a7f6b08..9bc37d59a5f7 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_LED) += core.o
 obj-$(CONFIG_LED_GPIO) += led-gpio.o
 obj-$(CONFIG_LED_PWM) += led-pwm.o
drivers/led/core.c +1 -11
index ab171c61845b..fe79f755711f 100644
@@ -1,18 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * core LED support for barebox
  *
  * (C) Copyright 2010 Sascha Hauer, Pengutronix
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <common.h>
drivers/led/led-gpio.c +1 -11
index 5055b8238103..1a5eda03713f 100644
@@ -1,18 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * gpio LED support for barebox
  *
  * (C) Copyright 2010 Sascha Hauer, Pengutronix
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 #include <common.h>
 #include <init.h>
drivers/led/led-pca955x.c +1 -10
index 07bc26a50bec..848feb9773e2 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 2007-2008 Extreme Engineering Solutions, Inc.
  * Author: Nate Case <[email protected]>
@@ -5,16 +6,6 @@
  * Copyright (C) 2018 WAGO Kontakttechnik GmbH & Co. KG <http://global.wago.com>
  * Author: Oleg Karfich <[email protected]>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  * This code was ported from linux-4.18 kernel driver.
  * Orginal code with it's copyright info can be found in
  * drivers/leds/leds-pca955x.c
drivers/led/led-pwm.c +1 -11
index 90c2ca929a2b..071e219d73af 100644
@@ -1,18 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * pwm LED support for barebox
  *
  * (C) Copyright 2010 Sascha Hauer, Pengutronix
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 #include <common.h>
 #include <malloc.h>
drivers/led/led-triggers.c +1 -11
index 07dc622d0f2c..cba94d54617d 100644
@@ -1,18 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * LED trigger support for barebox
  *
  * (C) Copyright 2010 Sascha Hauer, Pengutronix
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <common.h>
drivers/mci/Kconfig +1 -0
index e1fcd41271a4..4c38a41ad8b6 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config MCI_SDHCI
 	bool
 
drivers/mci/Makefile +1 -0
index b113b1c7322d..7a20e045a7ea 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_MCI)		+= mci-core.o
 obj-$(CONFIG_MCI_ARASAN)	+= arasan-sdhci.o
 obj-$(CONFIG_MCI_ATMEL)		+= atmel_mci.o atmel_mci_common.o
drivers/mci/mci-bcm2835.c +2 -15
index f2cb65231e99..4913dc27f8a3 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Raspberry PI MCI driver
  *
@@ -9,21 +10,7 @@
  * timing workarounds) obviously extracted from the Linux kernel at:
  * https://github.com/raspberrypi/linux.git rpi-3.6.y
  *
- * The Linux kernel code has the following (c) and license, which is hence
- * propagated to here:
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * The Linux kernel code has the following (c)
  *
  * Author: Wilhelm Lundgren <[email protected]>
  */
drivers/mci/mci-bcm2835.h +1 -0
index 2c95e03c641e..d59c91b506bf 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #define BCM2835_MCI_SLOTISR_VER			0xfc
 
 #define MIN_FREQ 400000
drivers/mci/sdhci.h +1 -0
index 351940a51148..2df73e3bece0 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __MCI_SDHCI_H
 #define __MCI_SDHCI_H
 
drivers/memory/Kconfig +1 -0
index 134dc9e37a56..973931c7705f 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menu "Memory controller drivers"
 
 config MC_TEGRA124
drivers/memory/Makefile +1 -0
index bd5ace9fdd94..498789bb58a6 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_MC_TEGRA124)	+= mc-tegra124.o
drivers/memory/mc-tegra124.c +1 -12
index 09d9d89a499b..a9c546fc124d 100644
@@ -1,17 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /* *
  * Copyright (C) 2017 Lucas Stach <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 #include <common.h>
drivers/mfd/Kconfig +1 -0
index d7a8949bafc8..c41f5dcd0901 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menu "Multifunction device drivers"
 
 config MFD_ACT8846
drivers/mfd/Makefile +1 -0
index 690e53693ebc..508f22a5d749 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_MFD_ACT8846)	+= act8846.o
 obj-$(CONFIG_MFD_DA9053)	+= da9053.o
 obj-$(CONFIG_MFD_DA9063)	+= da9063.o
drivers/mfd/act8846.c +1 -12
index b7a64c739c2b..0e2ac8471e8c 100644
@@ -1,20 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2007 Sascha Hauer, Pengutronix
  *               2009 Marc Kleine-Budde <[email protected]>
  *
  * Copied from drivers/mfd/mc9sdz60.c
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- *
  */
 
 #include <common.h>
drivers/mfd/da9053.c +1 -12
index 1f3286903893..99827c968922 100644
@@ -1,17 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2013 Jan Luebbe <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- *
  */
 
 #include <common.h>
drivers/mfd/da9063.c +1 -11
index 31359cf8b822..a4e5226f3c98 100644
@@ -1,16 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2015 Pengutronix, Philipp Zabel <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <common.h>
drivers/mfd/lp3972.c +1 -12
index ca736710b2ba..934c4fe03850 100644
@@ -1,19 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2007 Sascha Hauer, Pengutronix
  *               2009 Marc Kleine-Budde <[email protected]>
  *               2009 Eric Benard <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- *
  */
 
 #include <common.h>
drivers/mfd/mc13xxx.c +1 -12
index 1f321a32722e..185195040608 100644
@@ -1,18 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2007 Sascha Hauer, Pengutronix
  *               2009 Marc Kleine-Budde <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- *
  */
 
 #include <common.h>
drivers/mfd/mc34704.c +1 -12
index 29071c5ccfce..732542e34f96 100644
@@ -1,19 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2007 Sascha Hauer, Pengutronix
  *               2009 Marc Kleine-Budde <[email protected]>
  * Copyright (C) 2010 Baruch Siach <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- *
  */
 
 #include <common.h>
drivers/mfd/mc9sdz60.c +1 -12
index 408d746450b3..f55733dae9f5 100644
@@ -1,18 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2007 Sascha Hauer, Pengutronix
  *               2009 Marc Kleine-Budde <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- *
  */
 
 #include <common.h>
drivers/mfd/stmpe-i2c.c +1 -11
index f140f1bbc420..37cf6b8b365d 100644
@@ -1,17 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2012 Pengutronix
  * Steffen Trumtrar <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <common.h>
drivers/mfd/syscon.c +1 -5
index 25e308b2d614..d0f2f0917efb 100644
@@ -1,14 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* System Control Driver
  *
  * Based on linux driver by:
  *  Copyright (C) 2012 Freescale Semiconductor, Inc.
  *  Copyright (C) 2012 Linaro Ltd.
  *  Author: Dong Aisheng <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #include <io.h>
drivers/mfd/twl-core.c +1 -3
index c3240b8542ac..4ecdac1ebeb9 100644
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2011 Alexander Aring <[email protected]>
  *
  * Based on:
  * Copyright (C) 2010 Michael Grzeschik <[email protected]>
- *
- * This file is released under the GPLv2
- *
  */
 
 #include <common.h>
drivers/mfd/twl4030.c +1 -3
index cf33efbd89e3..11e520e61f5e 100644
@@ -1,8 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2010 Michael Grzeschik <[email protected]>
- *
- * This file is released under the GPLv2
- *
  */
 
 #include <common.h>
drivers/mfd/twl6030.c +1 -2
index 0a244de077c9..016d29c57c4d 100644
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2011 Alexander Aring <[email protected]>
- *
- * This file is released under the GPLv2
  */
 
 #include <common.h>
drivers/misc/Kconfig +1 -0
index 7426dfc46398..bfdd6afc0ddb 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Misc strange devices
 #
drivers/misc/Makefile +1 -0
index 36743e6ae6a3..67c32bf74c1c 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for misc devices that really don't fit anywhere else.
 #
drivers/misc/jtag.c +1 -14
index 9accefa34276..433e22fd2c1e 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * drivers/misc/jtag.c - More infos in include/jtag.h
  *
@@ -5,20 +6,6 @@
  *
  * Ported to barebox Jul 2012 by
  *       Wjatscheslaw Stoljarski <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
 #include <common.h>
drivers/misc/sram.c +1 -10
index 053b35150c10..d45b5cb72f93 100644
@@ -1,15 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * drivers/misc/sram.c - generic memory mapped SRAM driver
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <common.h>
drivers/misc/state.c +1 -10
index d7e385d0b536..5da8e4ef915a 100644
@@ -1,15 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2013 Sascha Hauer <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <common.h>
drivers/mtd/Kconfig +1 -0
index 36dbe9f8256b..fae8e81317d7 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menuconfig MTD
 	bool "Memory Technology Device (MTD) support"
 
drivers/mtd/Makefile +1 -0
index bfac8ebe6f77..cbde2d983d87 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_NAND)			+= nand/
 obj-$(CONFIG_DRIVER_CFI)		+= nor/
 obj-$(CONFIG_MTD_SPI_NOR)		+= spi-nor/
drivers/mtd/core.c +1 -9
index c6c1e1e7cf39..f036118fb791 100644
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * (C) Copyright 2005
  * 2N Telekomunikace, a.s. <www.2n.cz>
  * Ladislav Michl <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * version 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 #include <common.h>
 #include <linux/mtd/nand.h>
drivers/mtd/devices/Kconfig +1 -0
index 47296cf51878..7e046ef43d19 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menu "Self contained MTD devices"
 	depends on MTD!=n
 
drivers/mtd/devices/Makefile +1 -0
index bc1960e1b234..8d7148eacddf 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for the self containted memory technology device drivers.
 #
drivers/mtd/devices/docg3.c +1 -10
index cb0bb5cfecff..4b243a7fb12f 100644
@@ -1,18 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Handles the M-Systems DiskOnChip G3 chip
  *
  * Copyright (C) 2011 Robert Jarzmik
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  * Taken from linux kernel.
  */
 
drivers/mtd/devices/docg3.h +1 -10
index 97eafe352017..afdcd7c8be8e 100644
@@ -1,18 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Handles the M-Systems DiskOnChip G3 chip
  *
  * Copyright (C) 2011 Robert Jarzmik
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #ifndef _MTD_DOCG3_H
drivers/mtd/devices/m25p80.c +1 -5
index 8845ec3a3e63..99864610a6a5 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * MTD SPI driver for ST M25Pxx (and similar) serial flash chips
  *
@@ -7,11 +8,6 @@
  * Some parts are based on lart.c by Abraham Van Der Merwe
  *
  * Cleaned up and generalized based on mtd_dataflash.c
- *
- * This code is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
  */
 
 #include <common.h>
drivers/mtd/devices/mtd_dataflash.c +2 -6
index 9d4105f82b4e..c1af1feb368b 100644
@@ -1,14 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Atmel AT45xxx DataFlash MTD driver for lightweight SPI framework
  *
  * Largely derived from at91_dataflash.c:
  *  Copyright (C) 2003-2005 SAN People (Pty) Ltd
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version
- * 2 of the License, or (at your option) any later version.
-*/
+ */
 #include <common.h>
 #include <init.h>
 #include <malloc.h>
drivers/mtd/devices/mtdram.c +1 -5
index 9cc8194b5da4..9562fea00c1a 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Author: Sebastian Block <[email protected]>
  * Copyright (c) 2014
@@ -5,11 +6,6 @@
  * Some parts are based on mtdram.c found in Linux kernel
  * by   Alexander Larsson <[email protected]>
  * and  Joern Engel <[email protected]>.
- *
- * This code is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
  */
 #include <common.h>
 #include <environment.h>
drivers/mtd/mtd.h +1 -11
index 2a85265f98bd..725731e6266d 100644
@@ -1,18 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * MTD devices registration
  *
  * Copyright (C) 2011 Robert Jarzmik
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 /**
drivers/mtd/mtdconcat.c +1 -10
index 8cd82327ba76..964b00166acf 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * MTD device concatenation layer
  *
@@ -6,16 +7,6 @@
  *
  * NAND support by Christian Gan <[email protected]>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
drivers/mtd/mtdoob.c +1 -10
index 19719c4d6279..df3279c373cb 100644
@@ -1,18 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * MTD oob device
  *
  * Copyright (C) 2011 Sascha Hauer
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  * Adds a character devices :
  *  - mtdoob<N>
  */
drivers/mtd/mtdraw.c +1 -10
index 57630647b7a8..b284d92ed32f 100644
@@ -1,18 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * MTD raw device
  *
  * Copyright (C) 2011 Robert Jarzmik
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  * Adds a character devices :
  *  - mtdraw<N>
  *
drivers/mtd/nand/Kconfig +1 -0
index cf9f1fdc0c1a..800025f2956c 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menuconfig NAND
 	bool "NAND support"
 	help
drivers/mtd/nand/Makefile +1 -0
index 4fd14ddd6377..b2e5f1c5faf1 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 
 # Generic NAND options
 obj-$(CONFIG_NAND)			+= nand_ecc.o
drivers/mtd/nand/atmel_nand.c +1 -6
index 58d53b7a7879..6bb41854e06b 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  *  Copyright (C) 2003 Rick Bronson
  *
@@ -14,12 +15,6 @@
  *     Derived from Das U-Boot source code
  *     		(u-boot-1.1.5/board/atmel/at91sam9263ek/nand.c)
  *     (C) Copyright 2006 ATMEL Rousset, Lacressonniere Nicolas
- *
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
  */
 
 #include <common.h>
drivers/mtd/nand/atmel_nand_ecc.h +1 -5
index e39aada36b7d..c7864d96dd4d 100644
@@ -1,14 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Error Corrected Code Controller (ECC) - System peripherals regsters.
  * Based on AT91SAM9260 datasheet revision B.
  *
  * Copyright (C) 2007 Andrew Victor
  * Copyright (C) 2007 - 2012 Atmel Corporation.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.
  */
 
 #ifndef ATMEL_NAND_ECC_H
drivers/mtd/nand/nand-bb.c +1 -9
index c0104c59362d..e1a664b53b69 100644
@@ -1,15 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2008 Sascha Hauer <[email protected]>, Pengutronix
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 #include <common.h>
 #include <command.h>
drivers/mtd/nand/nand_denali_dt.c +1 -9
index 8deea0292ef9..cd58c7a9de3d 100644
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * NAND Flash Controller Device Driver for DT
  *
  * Copyright © 2011, Picochip.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
  */
 
 #include <common.h>
drivers/mtd/nand/nand_imx.c +1 -9
index 0f20e9d394a0..66c53670d3b0 100644
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
  * Copyright 2008 Sascha Hauer, Pengutronix <[email protected]>
  */
 
-/*
- * The code contained herein is licensed under the GNU General Public
- * License. You may obtain a copy of the GNU General Public License
- * Version 2 or later at the following locations:
- *
- * http://www.opensource.org/licenses/gpl-license.html
- * http://www.gnu.org/copyleft/gpl.html
- */
-
 /*
  * MX21 Hardware contains a bug which causes HW ECC to fail for two
  * consecutive read pages containing 1bit Errors (See MX21 Chip Erata,
drivers/mtd/nand/nand_mrvl_nfc.c +1 -4
index 1f3e15237517..fcea1ceae40d 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * drivers/mtd/nand/mrvl_nand.c
  *
@@ -5,10 +6,6 @@
  * Copyright © 2006 Marvell International Ltd.
  * Copyright (C) 2014 Robert Jarzmik
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
  * See Documentation/mtd/nand/pxa3xx-nand.txt for more details.
  */
 #include <common.h>
drivers/mtd/nand/nand_mxs.c +1 -5
index 0540ba0216f3..6f707f9b17ea 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Freescale i.MX28 NAND flash driver
  *
@@ -11,11 +12,6 @@
  *
  * Copyright (C) 2010 Freescale Semiconductor, Inc.
  * Copyright (C) 2008 Embedded Alley Solutions, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #include <linux/mtd/mtd.h>
drivers/mtd/nand/nand_omap_bch_decoder.c +1 -3
index 4dd28a77049f..81537e8b563e 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * drivers/mtd/nand/omap_omap_bch_decoder.c
  *
@@ -8,9 +9,6 @@
  * Author: Sukumar Ghorai <s-ghorai@xxxxxx
  *		   Michael Fillinger <m-fillinger@xxxxxx>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #include <common.h>
drivers/mtd/nand/nand_omap_bch_decoder.h +2 -1
index 74d24be028aa..cd4e5d585886 100644
@@ -1,6 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef MTD_OMAP_GPMC_DECODE_BCH_H
 #define MTD_OMAP_GPMC_DECODE_BCH_H
 
 int omap_gpmc_decode_bch(int select_4_8, unsigned char *ecc, unsigned int *err_loc);
 
-#endif /* MTD_OMAP_GPMC_DECODE_BCH_H */
\ No newline at end of file
+#endif /* MTD_OMAP_GPMC_DECODE_BCH_H */
drivers/mtd/nand/nand_omap_gpmc.c +2 -3
index 0f3ffa1c0eed..8491ab4b6816 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /**
  * @file
  * @brief Provide Generic GPMC NAND implementation for OMAP platforms
@@ -53,9 +54,7 @@
  * Copyright (c) 2004 Micron Technology Inc.
  * Copyright (c) 2004 David Brownell
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
+ * 
  */
 
 #include <common.h>
drivers/mtd/nand/nand_orion.c +1 -4
index 3899a67b5653..9ee09f9ff3b1 100644
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * (C) Copyright 2014, Ezequiel Garcia <[email protected]>
  *
  * Based on Orion NAND driver from Linux (drivers/mtd/nand/orion_nand.c):
  * Author: Tzachi Perelstein <[email protected]>
- *
- * This file is licensed under  the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <common.h>
drivers/mtd/nand/nand_s3c24xx.c +2 -11
index f1d1441f509f..dfe570086f51 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* linux/drivers/mtd/nand/s3c2410.c
  *
  * Copyright (C) 2009 Juergen Beisert, Pengutronix
@@ -8,17 +9,7 @@
  *
  * Samsung S3C2410 NAND driver
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
-*/
+ */
 
 #include <config.h>
 #include <common.h>
drivers/mtd/nand/nomadik_nand.c +1 -10
index b5ef39223efb..8f58f5997c93 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *  drivers/mtd/nand/nomadik_nand.c
  *
@@ -9,16 +10,6 @@
  *
  * Copyright (C) 2009 Alessandro Rubini
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <common.h>
drivers/mtd/nor/Kconfig +1 -0
index 44a418405b0e..a7591a4bf285 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menuconfig DRIVER_CFI
 	bool "CFI NOR flash support"
 	help
drivers/mtd/nor/Makefile +1 -0
index d2550436d2e2..7e073a174350 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_DRIVER_CFI) += cfi_flash.o
 obj-$(CONFIG_DRIVER_CFI_INTEL) += cfi_flash_intel.o
 obj-$(CONFIG_DRIVER_CFI_AMD) += cfi_flash_amd.o
drivers/mtd/nor/cfi_flash.c +1 -12
index ffd29d80a7b4..3b0d2332aa6a 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * (C) Copyright 2002-2004
  * Brad Kemp, Seranoa Networks, [email protected]
@@ -10,18 +11,6 @@
  *
  * Copyright (C) 2006
  * Tolunay Orkun <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
- * GNU General Public License for more details.
- *
- *
  */
 
 /* The DEBUG define must be before common to enable debugging */
drivers/mtd/nor/cfi_flash.h +1 -11
index cea6a8712c8c..b8428206b95f 100644
@@ -1,20 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 #ifndef __CFI_FLASH_H
 #define __CFI_FLASH_H
 
 /*
  * (C) Copyright 2000-2005
  * Wolfgang Denk, DENX Software Engineering, [email protected].
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
- * GNU General Public License for more details.
- *
  */
 
 #include <driver.h>
drivers/mtd/nor/cfi_flash_amd.c +1 -0
index 9c44561d4511..aee455378288 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 #include <stdio.h>
 #include "cfi_flash.h"
drivers/mtd/nor/cfi_flash_intel.c +1 -0
index 6108d7cc62a2..ba2d02b7960f 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 #include "cfi_flash.h"
 
drivers/mtd/partition.c +1 -0
index a426c8bfcfe8..0cad892011cf 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 #include <errno.h>
 #include <malloc.h>
drivers/mtd/peb.c +1 -10
index 03d96c2a5a7e..230163dcc2a0 100644
@@ -1,13 +1,4 @@
-/*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; version 2.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
 
 #include <common.h>
 #include <malloc.h>
drivers/mtd/spi-nor/Kconfig +1 -0
index 51cebcf35ba2..c66c326e7d52 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menuconfig MTD_SPI_NOR
 	tristate "SPI-NOR device support"
 	depends on MTD
drivers/mtd/spi-nor/Makefile +1 -0
index 4e00f38a7d86..9781471b0911 100644
@@ -1,2 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_MTD_SPI_NOR)		+= spi-nor.o
 obj-$(CONFIG_SPI_CADENCE_QUADSPI)	+= cadence-quadspi.o
drivers/mtd/spi-nor/cadence-quadspi.c +1 -12
index ea53d2cd847a..72d1f4e7cec4 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2015 Pengutronix, Steffen Trumtrar <[email protected]>
  *
@@ -6,18 +7,6 @@
  * Driver for Cadence QSPI Controller
  *
  * Copyright Altera Corporation (C) 2012-2014. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 #include <clock.h>
drivers/mtd/spi-nor/spi-nor.c +1 -4
index 3ced84049d58..41ce6b24c95f 100644
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Based on m25p80.c, by Mike Lavender ([email protected]), with
  * influence from lart.c (Abraham Van Der Merwe) and mtd_dataflash.c
  *
  * Copyright (C) 2005, Intec Automation Inc.
  * Copyright (C) 2014, Freescale Semiconductor, Inc.
- *
- * This code is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #include <clock.h>
drivers/mtd/ubi/Kconfig +1 -0
index ed2f13d14c30..ec03b211a95f 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menuconfig MTD_UBI
 	tristate "Enable UBI - Unsorted block images"
 	select CRC32
drivers/mtd/ubi/Makefile +1 -0
index 33ac39026ca8..f7c5451d745a 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_MTD_UBI) += ubi.o
 
 ubi-y += vtbl.o vmt.o upd.o build.o barebox.o kapi.o eba.o io.o wl.o attach.o
drivers/mtd/ubi/attach.c +1 -10
index eee0e55ba9ce..0e7c61e053fb 100644
@@ -1,16 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) International Business Machines Corp., 2006
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
- * the GNU General Public License for more details.
- *
  * Author: Artem Bityutskiy (Битюцкий Артём)
  */
 
drivers/mtd/ubi/barebox.c +1 -0
index 781061d9a750..4654ba3f4445 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 #include <fcntl.h>
 #include <fs.h>
drivers/mtd/ubi/build.c +1 -10
index 75fdee369261..94b4231aadc4 100644
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) International Business Machines Corp., 2006
  * Copyright (c) Nokia Corporation, 2007
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
- * the GNU General Public License for more details.
- *
  * Author: Artem Bityutskiy (Битюцкий Артём),
  *         Frank Haverkamp
  */
drivers/mtd/ubi/debug.c +1 -10
index 75d6b69f090e..62b988ee80f0 100644
@@ -1,16 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) International Business Machines Corp., 2006
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
- * the GNU General Public License for more details.
- *
  * Author: Artem Bityutskiy (Битюцкий Артём)
  */
 
drivers/mtd/ubi/debug.h +1 -10
index 511e4543640a..feade84d6b91 100644
@@ -1,16 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (c) International Business Machines Corp., 2006
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
- * the GNU General Public License for more details.
- *
  * Author: Artem Bityutskiy (Битюцкий Артём)
  */
 
drivers/mtd/ubi/eba.c +1 -10
index 071bbca236e9..e626253364df 100644
@@ -1,16 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) International Business Machines Corp., 2006
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
- * the GNU General Public License for more details.
- *
  * Author: Artem Bityutskiy (Битюцкий Артём)
  */
 
drivers/mtd/ubi/fastmap-wl.c +1 -10
index 08593ea23aee..8e850fb466b7 100644
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2012 Linutronix GmbH
  * Copyright (c) 2014 sigma star gmbh
  * Author: Richard Weinberger <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
- * the GNU General Public License for more details.
- *
  */
 
 /**
drivers/mtd/ubi/fastmap.c +1 -10
index 32b60ccad80f..6ffd0fdc7f46 100644
@@ -1,16 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2012 Linutronix GmbH
  * Author: Richard Weinberger <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
- * the GNU General Public License for more details.
- *
  */
 
 #include "ubi.h"
drivers/mtd/ubi/io.c +1 -10
index 78458b58e1fd..88df185789df 100644
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) International Business Machines Corp., 2006
  * Copyright (c) Nokia Corporation, 2006, 2007
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
- * the GNU General Public License for more details.
- *
  * Author: Artem Bityutskiy (Битюцкий Артём)
  */
 
drivers/mtd/ubi/kapi.c +1 -10
index e1781f3f2073..ee35c6f7a51a 100644
@@ -1,16 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) International Business Machines Corp., 2006
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
- * the GNU General Public License for more details.
- *
  * Author: Artem Bityutskiy (Битюцкий Артём)
  */
 
drivers/mtd/ubi/misc.c +1 -10
index d9a8d792a410..e5a8be82d394 100644
@@ -1,16 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) International Business Machines Corp., 2006
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
- * the GNU General Public License for more details.
- *
  * Author: Artem Bityutskiy (Битюцкий Артём)
  */
 
drivers/mtd/ubi/ubi-barebox.h +1 -4
index 5b2d4a72c87a..606199775734 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Header file for UBI support for U-Boot
  *
@@ -5,10 +6,6 @@
  *
  *  Copyright (C) 2005-2007 Samsung Electronics
  *  Kyungmin Park <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #ifndef __UBOOT_UBI_H
drivers/mtd/ubi/ubi.h +1 -10
index 7d07bbf19720..59aa5a3c7f6a 100644
@@ -1,17 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (c) International Business Machines Corp., 2006
  * Copyright (c) Nokia Corporation, 2006, 2007
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
- * the GNU General Public License for more details.
- *
  * Author: Artem Bityutskiy (Битюцкий Артём)
  */
 
drivers/mtd/ubi/upd.c +1 -10
index 609c789ae4c3..bbf61796987b 100644
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) International Business Machines Corp., 2006
  * Copyright (c) Nokia Corporation, 2006
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
- * the GNU General Public License for more details.
- *
  * Author: Artem Bityutskiy (Битюцкий Артём)
  *
  * Jan 2007: Alexander Schmidt, hacked per-volume update.
drivers/mtd/ubi/vmt.c +1 -10
index 99da79171b08..8199f35a8d64 100644
@@ -1,16 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) International Business Machines Corp., 2006
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation;  either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
- * the GNU General Public License for more details.
- *
  * Author: Artem Bityutskiy (Битюцкий Артём)
  */
 
drivers/mtd/ubi/vtbl.c +1 -10
index 6959564a1354..e5f1d88a7dfb 100644
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) International Business Machines Corp., 2006
  * Copyright (c) Nokia Corporation, 2006, 2007
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
- * the GNU General Public License for more details.
- *
  * Author: Artem Bityutskiy (Битюцкий Артём)
  */
 
drivers/mtd/ubi/wl.c +1 -10
index 013ba3e1ffc7..d69039993fa1 100644
@@ -1,16 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) International Business Machines Corp., 2006
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
- * the GNU General Public License for more details.
- *
  * Authors: Artem Bityutskiy (Битюцкий Артём), Thomas Gleixner
  */
 
drivers/mtd/ubi/wl.h +1 -0
index 60168116dbf9..b590e3fc9fe1 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef UBI_WL_H
 #define UBI_WL_H
 #ifdef CONFIG_MTD_UBI_FASTMAP
drivers/net/Kconfig +1 -0
index 48d07aca0e1b..c3acdfd64dc0 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config ARCH_HAS_FEC_IMX
 	bool
 
drivers/net/Makefile +1 -0
index 32e81e0047cb..39a94ca314ee 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_PHYLIB)			+= phy/
 obj-$(CONFIG_NET_USB)			+= usb/
 
drivers/net/e1000/eeprom.c +1 -0
index 6bdf9db5532e..31c1d6b008ed 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 #include <init.h>
 #include <malloc.h>
drivers/net/e1000/mtd.c +1 -0
index 93595cc88d24..d785eee6f1f2 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 #include <init.h>
 #include <malloc.h>
drivers/net/e1000/regio.c +1 -0
index 5b2740fbc289..b9f09abcbeb3 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 
 #include "e1000.h"
drivers/net/enc28j60_hw.h +1 -0
index 4c023c8aaa19..24d9030a12f4 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * enc28j60_hw.h: EDTP FrameThrower style enc28j60 registers
  */
drivers/net/fec_mpc5200.h +1 -0
index f07ae0c1a125..d0dd2a936081 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * (C) Copyright 2003
  * Wolfgang Denk, DENX Software Engineering, [email protected].
drivers/net/liteeth.c +1 -0
index 137cb854c56c..a952a1d924a7 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * LiteX Liteeth Ethernet
  *
drivers/net/phy/Kconfig +1 -0
index 6cb162a43777..49226eb59f4e 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # PHY Layer Configuration
 #
drivers/net/phy/Makefile +1 -0
index 7053b5762c35..fb0740bcebe9 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-y += phy.o mdio_bus.o phy-core.o
 obj-$(CONFIG_AR8327N_PHY)	+= ar8327.o
 obj-$(CONFIG_AT803X_PHY)	+= at803x.o
drivers/net/phy/marvell.c +1 -0
index 3bf0fef34b85..223ee096a9af 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * drivers/net/phy/marvell.c
  *
drivers/net/phy/mv88e6xxx/Makefile +1 -0
index e1d4b1b9d78d..c5f2dcecb8e6 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-y += mv88e6xxx.o
 
 mv88e6xxx-objs := chip.o
drivers/net/phy/mv88e6xxx/chip.c +1 -0
index 873c6f84634b..6129cff4b40b 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 #include <init.h>
 #include <linux/mii.h>
drivers/net/phy/mv88e6xxx/chip.h +1 -0
index 57f74a39a02d..db3bf42ec8e2 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _MV88E6XXX_CHIP_H
 #define _MV88E6XXX_CHIP_H
 
drivers/net/phy/mv88e6xxx/global2.c +1 -0
index 970a7291e714..344e667d1bc2 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <linux/ethtool.h>
 #include <linux/bitfield.h>
 
drivers/net/phy/mv88e6xxx/global2.h +1 -0
index 4e23b0423278..26e079668326 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _MV88E6XXX_GLOBAL2_H
 #define _MV88E6XXX_GLOBAL2_H
 
drivers/net/phy/mv88e6xxx/port.c +1 -0
index 3f10719d9ab5..027b09428fde 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 #include <init.h>
 
drivers/net/phy/mv88e6xxx/port.h +1 -0
index 07d937ecbd77..7c81a0f50d7b 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _MV88E6XXX_PORT_H
 #define _MV88E6XXX_PORT_H
 
drivers/net/phy/phy-core.c +1 -0
index 21daaa9a2b35..08825ded1f25 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 #include <linux/phy.h>
 
drivers/net/phy/realtek.c +1 -6
index 9ba0495d4141..4df3db13879b 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * drivers/net/phy/realtek.c
  *
@@ -6,12 +7,6 @@
  * Author: Johnson Leung <[email protected]>
  *
  * Copyright (c) 2004 Freescale Semiconductor, Inc.
- *
- * This program is free software; you can redistribute  it and/or modify it
- * under  the terms of  the GNU General  Public License as published by the
- * Free Software Foundation;  either version 2 of the  License, or (at your
- * option) any later version.
- *
  */
 #include <common.h>
 #include <init.h>
drivers/net/rtl8139.c +1 -0
index e1c57e6b7c17..95ccd52aaf70 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 #include <dma.h>
 #include <net.h>
drivers/net/usb/Kconfig +1 -0
index 614b1f0c9aee..6579bcd55e87 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menuconfig NET_USB
 	depends on USB_HOST
 	bool "USB network support"
drivers/net/usb/Makefile +1 -0
index cbb69080da74..cde42d29553c 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_NET_USB)			+= usbnet.o
 obj-$(CONFIG_NET_USB_ASIX)		+= asix.o
 obj-$(CONFIG_USB_NET_AX88179_178A)	+= ax88179_178a.o
drivers/net/usb/asix.c +1 -0
index 1140be9d1601..a7040b28c849 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 #include <init.h>
 #include <net.h>
drivers/net/usb/usbnet.c +1 -0
index cead95e7f6b2..a94edb243415 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 #include <usb/usb.h>
 #include <usb/usbnet.h>
drivers/nvme/Kconfig +1 -0
index 27ac9654acae..4e591387bec0 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menu "NVME Support"
 
 source "drivers/nvme/host/Kconfig"
drivers/nvme/Makefile +1 -0
index 6d7d51c801fb..0e5dc191154e 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-y		+= host/
drivers/nvme/host/Kconfig +1 -0
index 5499f97d7c70..a23213510162 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config NVME_CORE
 	bool
 
drivers/nvme/host/core.c +1 -0
index a27a409cf5e4..65278c306fc7 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 
 #include "nvme.h"
drivers/nvme/host/nvme.h +1 -9
index 4ec4aef97254..07aefa5f1515 100644
@@ -1,14 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2011-2014, Intel Corporation.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
  */
 
 #ifndef _NVME_H
drivers/nvme/host/pci.c +1 -0
index 387bc45a7b2d..09e4a8fa8e67 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 
 #include <common.h>
 #include <init.h>
drivers/nvmem/Kconfig +1 -0
index 3781f7a839fc..07320101b880 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menuconfig NVMEM
 	bool "NVMEM Support"
 	help
drivers/nvmem/Makefile +1 -0
index 55507f544126..cd970aaea193 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for nvmem drivers.
 #
drivers/nvmem/core.c +1 -9
index 54a72b71a765..c9d072f36437 100644
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * nvmem framework core.
  *
  * Copyright (C) 2015 Srinivas Kandagatla <[email protected]>
  * Copyright (C) 2013 Maxime Ripard <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 and
- * only version 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <common.h>
drivers/nvmem/eeprom_93xx46.c +1 -4
index 5833cb0d86ab..73d775b53e67 100644
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Driver for 93xx46 EEPROMs
  *
  * (C) 2011 DENX Software Engineering, Anatolij Gustschin <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #include <common.h>
drivers/nvmem/ocotp.c +1 -4
index 7d27a4fe44ee..9dba8a758ae0 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * ocotp.c - i.MX6 ocotp fusebox driver
  *
@@ -8,10 +9,6 @@
  * Copyright (c) 2010 Baruch Siach <[email protected]>,
  * 	Orex Computed Radiography
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
  * http://www.opensource.org/licenses/gpl-license.html
  * http://www.gnu.org/copyleft/gpl.html
  */
drivers/nvmem/rave-sp-eeprom.c +1 -13
index f27491e5472b..2345b24936be 100644
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * EEPROM driver for RAVE SP
  *
  * Copyright (C) 2017 Zodiac Inflight Innovations
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #include <common.h>
drivers/nvmem/snvs_lpgpr.c +1 -4
index 1890af135d61..88ca1a9dfd6c 100644
@@ -1,10 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2015 Pengutronix, Steffen Trumtrar <[email protected]>
  * Copyright (c) 2017 Pengutronix, Oleksij Rempel <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
  */
 #include <common.h>
 #include <driver.h>
drivers/nvmem/starfive-otp.c +1 -1
index f9bf05ca87ec..8583be217855 100644
@@ -1,4 +1,4 @@
-// SPDX_License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0
 /*
  *   Copyright 2021 StarFive, Inc
  */
drivers/of/Kconfig +1 -0
index e58fe50f7090..05eba1ec7732 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config OFTREE
 	select DTC
 	bool
drivers/of/Makefile +1 -0
index b6847752d247..784da4277ee6 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-y += address.o base.o fdt.o platform.o of_path.o device.o
 obj-$(CONFIG_OFTREE_MEM_GENERIC) += mem_generic.o
 obj-$(CONFIG_OF_GPIO) += of_gpio.o
drivers/of/address.c +1 -9
index 524a0f6a794d..4cfec0a45a89 100644
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * address.c - address related devicetree functions
  *
  * Copyright (c) 2012 Sascha Hauer <[email protected]>, Pengutronix
  *
  * based on Linux devicetree support
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 #include <common.h>
 #include <of.h>
drivers/of/barebox.c +1 -10
index aa0cfb619474..2ef5662016e2 100644
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * barebox.c
  *
  * Copyright (c) 2013 Sascha Hauer <[email protected]>, Pengutronix
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <common.h>
drivers/of/base.c +1 -9
index 42b8d24874b8..dd822437520d 100644
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * base.c - basic devicetree functions
  *
  * Copyright (c) 2012 Sascha Hauer <[email protected]>, Pengutronix
  *
  * based on Linux devicetree support
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 #include <common.h>
 #include <deep-probe.h>
drivers/of/device.c +1 -0
index b3f522e1fa72..7e9dc95dd3bb 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 #include <of.h>
 #include <of_device.h>
drivers/of/fdt.c +1 -9
index f72f5e3a309a..fb9c92d2f8af 100644
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * fdt.c - flat devicetree functions
  *
  * Copyright (c) 2013 Sascha Hauer <[email protected]>, Pengutronix
  *
  * based on Linux devicetree support
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 #include <common.h>
 #include <of.h>
drivers/of/mem_generic.c +1 -0
index 55d93bcb06a8..1b2f5f9de043 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <common.h>
 #include <of.h>
 #include <memory.h>
drivers/of/of_gpio.c +2 -0
index e1cafdc8489e..a906b39debcd 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
 #include <common.h>
 #include <errno.h>
 #include <of.h>
drivers/of/of_mtd.c +1 -3
index c531518c1d00..5d4d6d6787cf 100644
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright 2012 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
  *
  * OF helpers for mtd.
- *
- * This file is released under the GPLv2
- *
  */
 #include <common.h>
 #include <of_mtd.h>
drivers/of/of_net.c +1 -2
index 67015160e230..041a0ea918e0 100644
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * OF helpers for network devices.
  *
- * This file is released under the GPLv2
- *
  * Initially copied out of arch/powerpc/kernel/prom_parse.c
  */
 #include <common.h>
drivers/of/of_path.c +1 -10
index c237d9c6a856..b2e6d8dac09f 100644
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * of_path.c
  *
  * Copyright (c) 2013 Sascha Hauer <[email protected]>, Pengutronix
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <common.h>
drivers/of/of_pci.c +2 -0
index 2d0fbd2e5f69..f73c43ee2e2f 100644
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
 #include <common.h>
 #include <errno.h>
 #include <of.h>
drivers/of/partition.c +1 -9
index 18b138f00e75..5c5b9ef2f60f 100644
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * partition.c - devicetree partition parsing
  *
  * Copyright (c) 2012 Sascha Hauer <[email protected]>, Pengutronix
  *
  * based on Linux devicetree support
- *
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

drivers/of/platform.c +1 -9
index 92b6caef5a2d..ea9b8fd9ce9b 100644

Lines of this file are not shown. View the raw message.

drivers/pci/Kconfig +1 -0
index 71d05055d470..60e8e93a0739 100644

Lines of this file are not shown. View the raw message.

drivers/pci/Makefile +1 -0
index 6fc4eaf6b2c2..60e1439ec7b2 100644

Lines of this file are not shown. View the raw message.

drivers/pci/bus.c +1 -0
index 251be4fffa6e..39f142fea546 100644

Lines of this file are not shown. View the raw message.

drivers/pci/pci.c +1 -0
index 950c5094476c..facd06bb5ef7 100644

Lines of this file are not shown. View the raw message.

drivers/pci/pci_iomap.c +1 -0
index 2f06e60e3846..e00fcb5d286a 100644

Lines of this file are not shown. View the raw message.

drivers/phy/Kconfig +1 -0
index 684876e26005..c0b9a61dc59b 100644

Lines of this file are not shown. View the raw message.

drivers/phy/Makefile +1 -0
index f06a9df92e07..ef198b4723eb 100644

Lines of this file are not shown. View the raw message.

drivers/phy/freescale/Kconfig +1 -0
index eb4a75558fa6..b5320b7ab962 100644

Lines of this file are not shown. View the raw message.

drivers/phy/freescale/Makefile +1 -0
index dc2b3f1f2f80..ec13ce4b677e 100644

Lines of this file are not shown. View the raw message.

drivers/phy/phy-core.c +1 -5
index 493876b17f11..b298da0000a0 100644

Lines of this file are not shown. View the raw message.

drivers/phy/rockchip/Kconfig +1 -0
index 37a514059e2d..3d56885f5f2e 100644

Lines of this file are not shown. View the raw message.

drivers/phy/rockchip/Makefile +1 -0
index 4d75d610efea..b69ca64b09e2 100644

Lines of this file are not shown. View the raw message.

drivers/phy/usb-nop-xceiv.c +1 -10
index 7ea7d28a2129..06a1ff97916e 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/Kconfig +1 -0
index 6de9d946720c..460a538eed2a 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/Makefile +1 -0
index e7d8ad8f4b45..9073dba571cd 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/imx-iomux-v1.c +1 -0
index d48707db7d0e..e9350c115bde 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/imx-iomux-v2.c +1 -12
index b6ffb7508ac9..35772d13a88a 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/imx-iomux-v3.c +1 -10
index fb2b348883bc..1ea1899c3184 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/mvebu/Makefile +1 -0
index 6255a5f56d6b..7377d379272e 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/mvebu/armada-370.c +1 -5
index 24ad7f586020..8b574b89b988 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/mvebu/armada-xp.c +1 -5
index 25faabdf05b6..31286c59eed2 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/mvebu/common.c +1 -5
index ae16b39268d7..265e57aaa32f 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/mvebu/common.h +1 -5
index 8b3c74852de9..079a47679e0f 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/mvebu/dove.c +1 -5
index e02501d744c0..49553f1b28f4 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/mvebu/kirkwood.c +1 -5
index 91bef7627057..1df51e443d65 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/pinctrl-at91.c +1 -11
index ad64f7da6d50..0295d928cf61 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/pinctrl-bcm2835.c +1 -11
index 684ead2f8e5e..933445294fb0 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/pinctrl-mxs.c +1 -10
index 7c5d54c9ac88..a340f9ac3784 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/pinctrl-rockchip.c +1 -9
index 9b832c97d629..4f0951bb289a 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/pinctrl-single.c +1 -10
index cf2f724d187d..66e75bb01bfb 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/pinctrl-tegra-xusb.c +1 -12
index 37d77e5ef663..6ec67297e03f 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/pinctrl-tegra20.c +1 -12
index 256aea1860bd..e6dee7533e9d 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/pinctrl-tegra30.c +1 -12
index e9f35e0c9df4..f687609551d6 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/pinctrl-vf610.c +1 -10
index 02dea60ac2cd..4ca610f38c3a 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/pinctrl.c +1 -10
index 7e88391ff396..caf15df448b2 100644

Lines of this file are not shown. View the raw message.

drivers/pwm/Kconfig +1 -0
index a6e141817b15..777762a854c1 100644

Lines of this file are not shown. View the raw message.

drivers/pwm/Makefile +1 -0
index 55558aa42e34..b759d69d9b9e 100644

Lines of this file are not shown. View the raw message.

drivers/pwm/pwm-atmel.c +1 -2
index 1c6214594c9d..7b0e71371050 100644

Lines of this file are not shown. View the raw message.

drivers/pwm/pwm-imx.c +1 -4
index 6dd6e3eb9541..603a62a270a9 100644

Lines of this file are not shown. View the raw message.

drivers/regulator/Kconfig +1 -0
index 9be81832f23d..4e05d8f48828 100644

Lines of this file are not shown. View the raw message.

drivers/regulator/Makefile +1 -0
index 67859bb79ee4..9580bcb5caf6 100644

Lines of this file are not shown. View the raw message.

drivers/regulator/anatop-regulator.c +1 -16
index 917f7e8fdda5..3f8473ec073d 100644

Lines of this file are not shown. View the raw message.

drivers/regulator/bcm2835.c +1 -2
index 6423b8a834fd..3351e6d2f3de 100644

Lines of this file are not shown. View the raw message.

drivers/regulator/core.c +1 -10
index 097f7d779bff..a9e25753fee8 100644

Lines of this file are not shown. View the raw message.

drivers/regulator/fixed.c +1 -10
index e35b294fb249..e6a85c46f467 100644

Lines of this file are not shown. View the raw message.

drivers/regulator/helpers.c +1 -0
index e741944ce7cf..06cccbeeca5a 100644

Lines of this file are not shown. View the raw message.

drivers/regulator/pfuze.c +1 -12
index 1983ec91f6b9..5ef5dacc6fed 100644

Lines of this file are not shown. View the raw message.

drivers/remoteproc/imx_rproc.c +1 -4
index 61f862a9117a..58a2da74a654 100644

Lines of this file are not shown. View the raw message.

drivers/reset/Kconfig +1 -0
index 9429f107bb67..c4c64720df49 100644

Lines of this file are not shown. View the raw message.

drivers/reset/Makefile +1 -0
index ce494baae58e..f3a66d63f58d 100644

Lines of this file are not shown. View the raw message.

drivers/reset/core.c +2 -5
index 9f5a642539cf..17deb3fa8fc3 100644

Lines of this file are not shown. View the raw message.

drivers/reset/reset-imx7.c +1 -9
index c8c8fa98e068..2fcd70a269cf 100644

Lines of this file are not shown. View the raw message.

drivers/reset/reset-socfpga.c +1 -5
index 073f8faea894..fc5c50e13ca9 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/Kconfig +1 -0
index 9d2c6e614b28..e9374d0f2a4d 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/Makefile +1 -0
index 1308beff384b..c831198872ee 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/class.c +1 -11
index 5b58271c076c..12751c8a3c4a 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/rtc-abracon.c +1 -10
index 571909bf7192..7daeb9b9cb43 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/rtc-ds1307.c +1 -4
index f1feee46896a..654436698949 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/rtc-imxdi.c +1 -9
index 82ed6d500753..297fdc17b986 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/rtc-jz4740.c +1 -6
index 95885357d979..52f52349e6f5 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/rtc-lib.c +2 -5
index 4a2d34fcfd43..c447d4ded9dc 100644

Lines of this file are not shown. View the raw message.

drivers/serial/Kconfig +1 -0
index 5e30ea388bbc..94292c97fe3c 100644

Lines of this file are not shown. View the raw message.

drivers/serial/Makefile +1 -0
index 02c5cc08bcb2..afd66280fdc2 100644

Lines of this file are not shown. View the raw message.

drivers/serial/amba-pl011.c +1 -11
index 9261d20f2a5f..3baadd54e7a4 100644

Lines of this file are not shown. View the raw message.

drivers/serial/atmel.c +1 -12
index 612265692f64..f83835da9ab7 100644

Lines of this file are not shown. View the raw message.

drivers/serial/efi-stdio.c +1 -10
index d269985ce745..7b943aaa3b7e 100644

Lines of this file are not shown. View the raw message.

drivers/serial/efi-stdio.h +1 -0
index 1fa417c706c1..e2edd8b32ec1 100644

Lines of this file are not shown. View the raw message.

drivers/serial/linux_console.c +1 -10
index 056fbc65d90b..ec41b2432794 100644

Lines of this file are not shown. View the raw message.

drivers/serial/serial_altera.c +1 -11
index 51dcf8c79030..55f4443862d0 100644

Lines of this file are not shown. View the raw message.

drivers/serial/serial_altera_jtag.c +1 -11
index 1c485ed316b5..b6720545ceeb 100644

Lines of this file are not shown. View the raw message.

drivers/serial/serial_ar933x.c +1 -11
index 32ad1ba463ef..29e1151db343 100644

Lines of this file are not shown. View the raw message.

drivers/serial/serial_ar933x.h +1 -4
index f55f0fa3d7cd..2d960bbdf1db 100644

Lines of this file are not shown. View the raw message.

drivers/serial/serial_auart.c +1 -11
index ee64f2f8db09..d8e31fae309f 100644

Lines of this file are not shown. View the raw message.

drivers/serial/serial_cadence.c +1 -11
index e86dccbbc19f..6cf18aa25ac7 100644

Lines of this file are not shown. View the raw message.

drivers/serial/serial_digic.c +1 -10
index d3cfa69e81cb..1e789a916966 100644

Lines of this file are not shown. View the raw message.

drivers/serial/serial_efi.c +1 -2
index 667d51f622ec..5da90965755b 100644

Lines of this file are not shown. View the raw message.

drivers/serial/serial_imx.c +1 -12
index d1329ca1eba9..6a933c930e9b 100644

Lines of this file are not shown. View the raw message.

drivers/serial/serial_lpuart.c +1 -10
index bfc3a13672cb..42e96571761a 100644

Lines of this file are not shown. View the raw message.

drivers/serial/serial_mpc5xxx.c +1 -11
index 742af27650b4..38248dfd827f 100644

Lines of this file are not shown. View the raw message.

drivers/serial/serial_ns16550.c +1 -11
index fc6fa7dc3e43..464ae1aebc33 100644

Lines of this file are not shown. View the raw message.

drivers/serial/serial_ns16550.h +1 -5
index c37d63ca9ef1..e6a9b37cc113 100644

Lines of this file are not shown. View the raw message.

drivers/serial/serial_omap4_usbboot.c +1 -11
index 2ef026c24d1c..d0d01d585f9f 100644

Lines of this file are not shown. View the raw message.

drivers/serial/serial_pxa.c +1 -11
index a427437b5c63..c9f612dbeb02 100644

Lines of this file are not shown. View the raw message.

drivers/serial/serial_s3c.c +1 -12
index 1945560723e2..4080079d42ac 100644

Lines of this file are not shown. View the raw message.

drivers/serial/stm-serial.c +1 -12
index a2c3dcf56e59..30aaba94f0ef 100644

Lines of this file are not shown. View the raw message.

drivers/soc/imx/Kconfig +1 -0
index 32ec76feafc4..6f3974225fc8 100644

Lines of this file are not shown. View the raw message.

drivers/soc/imx/Makefile +1 -0
index d60056c7b636..0579b552bcff 100644

Lines of this file are not shown. View the raw message.

drivers/soc/sifive/Makefile +1 -0
index e8113c66f576..97a9743b0b64 100644

Lines of this file are not shown. View the raw message.

drivers/soc/starfive/Makefile +1 -0
index 72504b3bef26..287e021015de 100644

Lines of this file are not shown. View the raw message.

drivers/spi/Kconfig +1 -0
index e92cf675abd6..a329e5f4e907 100644

Lines of this file are not shown. View the raw message.

drivers/spi/Makefile +1 -0
index ac95ffc1db1b..b3add95a9d7c 100644

Lines of this file are not shown. View the raw message.

drivers/spi/altera_spi.c +1 -12
index 4506e2741de8..3db8af54159c 100644

Lines of this file are not shown. View the raw message.

drivers/spi/ath79_spi.c +1 -11
index 2a4e32a4cc50..383570b253e2 100644

Lines of this file are not shown. View the raw message.

drivers/spi/atmel_spi.c +1 -12
index 55bea79a5ef1..ec90330e5339 100644

Lines of this file are not shown. View the raw message.

drivers/spi/atmel_spi.h +1 -4
index 7c4806981ffc..0d77f3a5415b 100644

Lines of this file are not shown. View the raw message.

drivers/spi/dspi_spi.c +1 -6
index 07b2f2c5675a..fcfa2a830d8b 100644

Lines of this file are not shown. View the raw message.

drivers/spi/gpio_spi.c +1 -10
index e37db756f827..1956eed9ccbb 100644

Lines of this file are not shown. View the raw message.

drivers/spi/imx_spi.c +1 -12
index 46e8955abb8d..ad3e79d54ce5 100644

Lines of this file are not shown. View the raw message.

drivers/spi/mvebu_spi.c +1 -10
index 14ab39603cbb..3325138604ab 100644

Lines of this file are not shown. View the raw message.

drivers/spi/mxs_spi.c +1 -6
index 420d122b5595..071622bd54e3 100644

Lines of this file are not shown. View the raw message.

drivers/spi/omap3_spi.c +1 -11
index ff9eccc37d0b..44c35673d854 100644

Lines of this file are not shown. View the raw message.

drivers/spi/omap3_spi.h +1 -11
index 8b9092015718..b131b24bf2db 100644

Lines of this file are not shown. View the raw message.

drivers/spi/spi-bitbang-txrx.h +1 -0
index 078ab8c6c000..038af421a93b 100644

Lines of this file are not shown. View the raw message.

drivers/spi/spi.c +1 -12
index d1d3bdcc418d..b840dbe286b5 100644

Lines of this file are not shown. View the raw message.

drivers/usb/Kconfig +1 -0
index aab1564ab302..e3daa49530ef 100644

Lines of this file are not shown. View the raw message.

drivers/usb/Makefile +1 -0
index c39ce8bb660e..407cf94ceece 100644

Lines of this file are not shown. View the raw message.

drivers/usb/core/Makefile +1 -0
index 58f6c5e027b2..f12e7fd71a4a 100644

Lines of this file are not shown. View the raw message.

drivers/usb/core/common.c +1 -0
index bcbe3a155d10..c83a981a021c 100644

Lines of this file are not shown. View the raw message.

drivers/usb/core/hub.c +1 -10
index 01653d8c208f..7944a9031b73 100644

Lines of this file are not shown. View the raw message.

drivers/usb/core/of.c +1 -9
index b534ede18acc..a8d4452cc847 100644

Lines of this file are not shown. View the raw message.

drivers/usb/core/usb.c +1 -12
index 938a28e030bf..4eede13a11ef 100644

Lines of this file are not shown. View the raw message.

drivers/usb/core/usb.h +1 -0
index a5bb255121b2..431b72fc2669 100644

Lines of this file are not shown. View the raw message.

drivers/usb/dwc2/Kconfig +1 -0
index 3c3cdc3de661..9e82b0b7ce94 100644

Lines of this file are not shown. View the raw message.

drivers/usb/dwc2/Makefile +1 -0
index f019051d82b4..7f110d937433 100644

Lines of this file are not shown. View the raw message.

drivers/usb/dwc3/Kconfig +1 -0
index aa04897d7990..026863f6fa48 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/Kconfig +1 -0
index 574a6821ad04..a0357c3628de 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/Makefile +1 -0
index 5ba4920c085a..2802207f734b 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/at91_udc.c +1 -5
index 411464690d5e..80cbd36118f3 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/at91_udc.h +1 -5
index e592cc54ffbf..9e2b976e5706 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/composite.c +1 -5
index b66aa6be9770..396e7387a822 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/config.c +1 -5
index b463f79faab3..369eb2ba5e4b 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/dfu.c +1 -11
index ba5fdd5b7430..0b7ca82c4a34 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/epautoconf.c +1 -5
index ced568921b1b..e9f13f426254 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/f_acm.c +1 -4
index 42a2b03ad291..42438947c13b 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/f_serial.c +1 -4
index 39c44448c492..33cf54dc1cb1 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/fsl_udc.c +1 -0
index cffe9bdab7d2..ebd9523aed25 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/functions.c +1 -0
index 3b5d4dfc2813..38f04d3eb89e 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/gadget_chips.h +1 -0
index c41336f698e5..572a03753831 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/multi.c +1 -5
index 04b3c2604ef3..0eb6d049d152 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/pxa27x_udc.c +1 -11
index 30c9d7db7a8d..e5980575644c 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/pxa27x_udc.h +1 -10
index 554626e9e385..b7f05f46f9b7 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/serial.c +1 -4
index f1d98b7a397d..0ef2665b692a 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/u_serial.c +1 -4
index 140346e77028..2ce3f1c791ba 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/u_serial.h +1 -4
index 72772dabd594..80450ccc8671 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/udc-core.c +1 -12
index bd3404f9cfeb..de3135fa1f5c 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/usbstring.c +1 -5
index 201ff9eafdf7..474c666e53cb 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/Kconfig +1 -0
index 891523c4d2d6..bf5ba09f0588 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/Makefile +1 -0
index e7a6cf213ea6..0cd6db0a5d3c 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/ehci-atmel.c +1 -11
index c3f8ab7ad591..398894347f3c 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/ehci-core.h +1 -11
index 584dd541ada9..d419c35e5c6c 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/ehci-hcd.c +1 -11
index 30a16103eb4f..261d0043eaa7 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/ehci-omap.c +1 -3
index fc5a54f671b9..aaf965df766f 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/ehci.h +1 -11
index 4b9092d1fe4a..2dd49559236c 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/ohci-at91.c +1 -11
index 05ed2876c684..e7a9b1a97473 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/ohci-hcd.c +1 -12
index a28c48b4c8c0..f277f65b9702 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/ohci.h +1 -0
index 9c9b8375ce32..d047bdd9bceb 100644

Lines of this file are not shown. View the raw message.

drivers/usb/imx/Kconfig +1 -0
index 2b9e63b21c48..72511ae91ee8 100644

Lines of this file are not shown. View the raw message.

drivers/usb/imx/Makefile +1 -0
index ac17e91e9999..548a8e04580d 100644

Lines of this file are not shown. View the raw message.

drivers/usb/imx/chipidea-imx.c +1 -10
index aa27941c8c66..f81477885884 100644

Lines of this file are not shown. View the raw message.

drivers/usb/imx/imx-usb-misc.c +1 -10
index 013f139a8abc..71164af3e8cc 100644

Lines of this file are not shown. View the raw message.

drivers/usb/imx/imx-usb-phy.c +1 -10
index 6a58e71ba2d7..fc7f84d06474 100644

Lines of this file are not shown. View the raw message.

drivers/usb/misc/Kconfig +1 -0
index 270606f50bb8..fc8fcf83b7a8 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/Kconfig +1 -0
index 127d6d19554a..256226d6339d 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/Makefile +1 -0
index 9f9c21030047..b95a8c37b6f1 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/am35x-phy-control.h +1 -0
index c492d421dca7..8e6edd6affcd 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/musb_am335x.c +1 -0
index 2a9167a24571..d25cd2d8f16c 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/musb_barebox.c +1 -0
index f54ad5e6e472..eaad61ca67a5 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/musb_core.c +1 -26
index 266663a9b0ec..46a9bec3552d 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/musb_core.h +1 -26
index d9402fcc4a14..1f9d6c8246a7 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/musb_dma.h +1 -26
index 97a03cbcf49e..0bfd4294f37f 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/musb_dsps.c +1 -16
index d54a663e9d8b..696c296465e4 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/musb_gadget.c +1 -26
index 87f7e78e66d6..b037f059c6b8 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/musb_gadget.h +1 -26
index 456c165cc7e8..e56069d7ed83 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/musb_gadget_ep0.c +1 -26
index c8f55ac32c86..677811d59a74 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/musb_host.c +1 -26
index be9651b04960..0b3aa540348f 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/musb_host.h +1 -26
index 0937808de83a..0101eb001578 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/musb_io.h +1 -26
index ec474477a195..42555f7b8787 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/musb_regs.h +1 -26
index 2cb749140b5f..d76b1970b352 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/phy-am335x-control.c +1 -0
index 41a3689ed3f9..3a3d3e41feba 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/phy-am335x.c +1 -0
index b0b4bebbffd6..b2303d44e99d 100644

Lines of this file are not shown. View the raw message.

drivers/usb/otg/Kconfig +1 -0
index 2c094452b621..869124f2a525 100644

Lines of this file are not shown. View the raw message.

drivers/usb/otg/Makefile +1 -0
index 49c2491e585e..63fa9a1e1da9 100644

Lines of this file are not shown. View the raw message.

drivers/usb/otg/twl4030.c +1 -11
index 3668870b9e97..cd82148b2e04 100644

Lines of this file are not shown. View the raw message.

drivers/usb/otg/ulpi.c +1 -9
index 9bc432fa86cd..aa9470b7aeb0 100644

Lines of this file are not shown. View the raw message.

drivers/usb/storage/Kconfig +1 -0
index b80c039117e8..13df32c28d55 100644

Lines of this file are not shown. View the raw message.

drivers/usb/storage/Makefile +1 -0
index adf08433d557..1e6f6dfa6415 100644

Lines of this file are not shown. View the raw message.

drivers/usb/storage/transport.c +1 -12
index 5186508ba6d6..82e0d21ae508 100644

Lines of this file are not shown. View the raw message.

drivers/usb/storage/transport.h +1 -12
index 22d7dea3f5c8..5e08ae718ae2 100644

Lines of this file are not shown. View the raw message.

drivers/usb/storage/usb.c +1 -12
index a43b498e4b16..2962d0898351 100644

Lines of this file are not shown. View the raw message.

drivers/usb/storage/usb.h +1 -12
index cd4904f03ba0..b9626b303e70 100644

Lines of this file are not shown. View the raw message.

drivers/video/Kconfig +1 -0
index 95d993dde854..6dc8769f2c06 100644

Lines of this file are not shown. View the raw message.

drivers/video/Makefile +1 -0
index 2c002f7e5342..a0e416db2659 100644

Lines of this file are not shown. View the raw message.

drivers/video/atmel_hlcdfb.c +1 -11
index 9c20e441fbe9..4c05ac5821f2 100644

Lines of this file are not shown. View the raw message.

drivers/video/atmel_lcdfb.c +1 -11
index 6ce47bb68f9e..38b4b8df392e 100644

Lines of this file are not shown. View the raw message.

drivers/video/atmel_lcdfb.h +1 -0
index 76c0e739e858..f383dccb5ebe 100644

Lines of this file are not shown. View the raw message.

drivers/video/atmel_lcdfb_core.c +1 -11
index e7e420d38f86..17f754b56604 100644

Lines of this file are not shown. View the raw message.

drivers/video/backlight-pwm.c +1 -11
index 4410c7d0473a..ffa58c2b2df3 100644

Lines of this file are not shown. View the raw message.

drivers/video/backlight.c +1 -0
index 3913d1c4c995..5dadb058af33 100644

Lines of this file are not shown. View the raw message.

drivers/video/edid.c +1 -5
index 1baff7317b7c..ac5fd18d24a2 100644

Lines of this file are not shown. View the raw message.

drivers/video/edid.h +2 -5
index 60c5b6422ea5..8b793aeb74df 100644

Lines of this file are not shown. View the raw message.

drivers/video/efi_gop.c +1 -2
index 7c083e4fb32b..2155ec163fd2 100644

Lines of this file are not shown. View the raw message.

drivers/video/fb.c +1 -0
index 113c1419a1c1..8e369f1c35e6 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbconsole.c +1 -0
index b261f17048ad..4623f7e3ae32 100644

Lines of this file are not shown. View the raw message.

drivers/video/imx-ipu-fb.c +1 -11
index f39b74676cde..d158c68c2570 100644

Lines of this file are not shown. View the raw message.

drivers/video/imx-ipu-v3/Kconfig +1 -0
index 55aeac941550..645c1b788e2a 100644

Lines of this file are not shown. View the raw message.

drivers/video/imx-ipu-v3/Makefile +1 -0
index 1f6812021e90..b92ba55ed191 100644

Lines of this file are not shown. View the raw message.

drivers/video/imx-ipu-v3/imx-hdmi.c +2 -7
index 589ef5e32da8..f454303fd8f8 100644

Lines of this file are not shown. View the raw message.

drivers/video/imx-ipu-v3/imx-hdmi.h +1 -5
index b3e144227f94..dcffe75529eb 100644

Lines of this file are not shown. View the raw message.

drivers/video/imx-ipu-v3/imx-ipu-v3.h +1 -7
index cdfff6992fdb..8b78b716d388 100644

Lines of this file are not shown. View the raw message.

drivers/video/imx-ipu-v3/imx-ldb.c +1 -14
index 13162371617f..ba34349d6294 100644

Lines of this file are not shown. View the raw message.

drivers/video/imx-ipu-v3/imx-pd.c +1 -9
index fa6314c04430..92fa4ed4b4ea 100644

Lines of this file are not shown. View the raw message.

drivers/video/imx-ipu-v3/ipu-common.c +1 -10
index b31edcdd5561..3d7a19e9c0c1 100644

Lines of this file are not shown. View the raw message.

drivers/video/imx-ipu-v3/ipu-dc.c +1 -10
index 7b343e8149c1..d069d78ab3b4 100644

Lines of this file are not shown. View the raw message.

drivers/video/imx-ipu-v3/ipu-di.c +1 -10
index 85dde1882eeb..d63613c84291 100644

Lines of this file are not shown. View the raw message.

drivers/video/imx-ipu-v3/ipu-dmfc.c +1 -10
index 29c4bb478054..e879f97a334a 100644

Lines of this file are not shown. View the raw message.

drivers/video/imx-ipu-v3/ipu-dp.c +1 -10
index 8829954db0e7..67f93c0d5534 100644

Lines of this file are not shown. View the raw message.

drivers/video/imx-ipu-v3/ipu-prv.h +1 -10
index 4d1c0692de96..15aed7a94342 100644

Lines of this file are not shown. View the raw message.

drivers/video/imx-ipu-v3/ipufb.c +1 -5
index 68e87ff3fb8f..f0b95d0fbc82 100644

Lines of this file are not shown. View the raw message.

drivers/video/imx-ipu-v3/ipuv3-plane.c +1 -9
index 9dffcfc670de..a54bdab78bbd 100644

Lines of this file are not shown. View the raw message.

drivers/video/imx-ipu-v3/ipuv3-plane.h +1 -0
index 3d52f807fee8..3c54643c4f15 100644

Lines of this file are not shown. View the raw message.

drivers/video/imx.c +1 -4
index f4f58b3ce353..dae3bdd9a85d 100644

Lines of this file are not shown. View the raw message.

drivers/video/mtl017.c +1 -11
index dbd509e09b50..46c826be21b2 100644

Lines of this file are not shown. View the raw message.

drivers/video/of_display_timing.c +1 -2
index 17d8823c4654..a7d391bc23b9 100644

Lines of this file are not shown. View the raw message.

drivers/video/omap.c +1 -10
index 52a68ef627b7..62c51a1dfc21 100644

Lines of this file are not shown. View the raw message.

drivers/video/omap.h +1 -10
index de88c8374be9..991d7a0f9199 100644

Lines of this file are not shown. View the raw message.

drivers/video/pxa.c +1 -10
index 45efa6b71d9f..7e2905f27903 100644

Lines of this file are not shown. View the raw message.

drivers/video/rave-sp-backlight.c +1 -13
index 877a5feeb627..ca6c5aa3e316 100644

Lines of this file are not shown. View the raw message.

drivers/video/s3c24xx.c +1 -12
index eb784162db0b..6de2d7be981b 100644

Lines of this file are not shown. View the raw message.

drivers/video/sdl.c +1 -2
index e9debc51b1e9..19a8b5362397 100644

Lines of this file are not shown. View the raw message.

drivers/video/simple-panel.c +1 -11
index 2f904a7b2bee..a87adcca64f0 100644

Lines of this file are not shown. View the raw message.

drivers/video/ssd1307fb.c +1 -2
index af5d6086e1d8..5d160ddf338a 100644

Lines of this file are not shown. View the raw message.

drivers/video/stm.c +1 -10
index 28ddc649f8a2..14182f8c4637 100644

Lines of this file are not shown. View the raw message.

drivers/video/tc358767.c +1 -10
index 2a0fa8b36879..36f412541424 100644

Lines of this file are not shown. View the raw message.

drivers/video/vpl.c +1 -11
index 68b7d6d8f470..f94bd4a3e2f3 100644

Lines of this file are not shown. View the raw message.

drivers/w1/Kconfig +1 -0
index 6299f6e16d05..ac9b10adc86a 100644

Lines of this file are not shown. View the raw message.

drivers/w1/Makefile +1 -0
index 3e36d2f12039..f1111155e8c2 100644

Lines of this file are not shown. View the raw message.

drivers/w1/masters/Kconfig +1 -0
index e429c14fb90a..2060b0e45886 100644

Lines of this file are not shown. View the raw message.

drivers/w1/masters/Makefile +1 -0
index 84b35bb0eb46..11370bae2525 100644

Lines of this file are not shown. View the raw message.

drivers/w1/slaves/Kconfig +1 -0
index 19942ad1df41..15a87f695d64 100644

Lines of this file are not shown. View the raw message.

drivers/w1/slaves/Makefile +1 -0
index dd7160aaf241..42d150107822 100644

Lines of this file are not shown. View the raw message.

drivers/w1/w1.c +1 -10
index f74046c0b792..3f21cae5e6a3 100644

Lines of this file are not shown. View the raw message.

drivers/w1/w1.h +1 -10
index b92d8cdb958d..1e8f6137d4df 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/Kconfig +1 -0
index 080bc91ff7f5..f91a2571d903 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/Makefile +1 -0
index 4e784b5aaa30..54a833447c99 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/ar9344_wdt.c +1 -6
index c7cd552dc711..3dd3197393bd 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/bcm2835_wdt.c +1 -11
index 233eaa85c140..ece80837b536 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/davinci_wdt.c +2 -4
index 2ac5f8b38d5f..94ab67d4a617 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/dw_wdt.c +1 -5
index 774d211a5f90..ad95b4a57ef2 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/im28wd.c +1 -10
index 6ebd97e5f596..efe26f42d808 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/imxwd.c +1 -10
index a109f6fee712..25b11077b9a4 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/jz4740.c +1 -6
index f28bb9177a78..ed38ba7bd8a1 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/omap_wdt.c +2 -4
index c8a7ccf607b7..462beb4bfd80 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/orion_wdt.c +1 -9
index dd1fa3a04dff..f2c207fbf110 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/wd_core.c +1 -10
index 2e2814a8f2b0..aa5dee8d2078 100644

Lines of this file are not shown. View the raw message.

include/linux/phy.h +1 -6
index a4cda3e28d7e..97c855482649 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 7 lines
2.30.2


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

Part of the diff is not shown here. View the raw message.

Applied
#4 lore raw
In reply to Ahmad Fatoum
Quoted 6 lines · Ahmad Fatoum

There is already a SPDX-License-Identifier, so drop the boilerplate.

---
 drivers/crypto/caam/rng_self_test.h | 10 ----------
 1 file changed, 10 deletions(-)

Applied, thanks

Sascha

Quoted 31 lines
drivers/crypto/caam/rng_self_test.h +0 -10
index 1f5bf32628bf..ba688f7e39c1 100644
@@ -4,16 +4,6 @@
  * Copyright (C) 2018 Pengutronix, Roland Hieber <[email protected]>
  *
  * SPDX-License-Identifier: GPL-2.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #ifndef RNG_SELF_TEST_H
Signature · 7 lines
2.30.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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