drivers: caam: remove license text covered by SPDX-License-Identifier
Subsystems (74)
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
@@ -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
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
@@ -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
PATCH 3/4 i2c: algo-bit: switch to SPDX-License-Identifier
In reply to Ahmad FatoumReplace 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
@@ -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
PATCH 4/4 drivers: add missing SPDX-License-Identifier
In reply to Ahmad FatoumThis 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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menu "Drivers" source "drivers/base/Kconfig"
drivers/Makefile +1 -0
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Misc strange devices #
drivers/aiodev/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,2 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 config ARM_AMBA bool
drivers/amba/Makefile +1 -0
@@ -1,2 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 obj-y += bus.o
drivers/amba/bus.c +1 -2
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menuconfig DISK select BLOCK select PARTITION
drivers/ata/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <common.h> #include <clock.h> #include <driver.h>
drivers/base/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config PM_GENERIC_DOMAINS bool
drivers/base/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <common.h> #include <driver.h> #include <init.h>
drivers/bus/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menu "Bus devices" config BUS_OMAP_GPMC
drivers/bus/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,2 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_BOARD_LOONGSON_TECH_LS1B) += clk-ls1b200.o
drivers/clocksource/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menu "Clocksource" config ARCH_HAS_IMX_GPT
drivers/clocksource/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menuconfig CRYPTO_HW bool "Hardware crypto devices"
drivers/crypto/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * caam descriptor construction helper functions *
drivers/crypto/caam/error.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * CAAM Error Reporting *
drivers/crypto/caam/error.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * CAAM Error Reporting code header *
drivers/crypto/caam/intern.h +1 -0
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * CAAM hardware register-level view *
drivers/crypto/imx-scc/Kconfig +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menu "DMA support" config MXS_APBH_DMA
drivers/dma/Makefile +1 -0
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menu "EEPROM support" config EEPROM_AT25
drivers/eeprom/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config EFI_BOOTUP bool select BLOCK
drivers/efi/Makefile +1 -0
@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-y += efi-device.o
drivers/efi/efi-device.c +1 -10
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menu "Firmware Drivers" config FIRMWARE_ALTERA_SERIAL
drivers/firmware/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> .arch armv7-a
drivers/fpga/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # FPGA framework configuration #
drivers/fpga/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config GPIOLIB bool select GENERIC_GPIO
drivers/gpio/Makefile +1 -0
@@ -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
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #define pr_fmt (fmt) "gpiolib: " fmt#include <init.h>
drivers/hab/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menuconfig HWRNG bool "HWRNG Support" help
drivers/hw_random/Makefile +1 -0
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menuconfig I2C bool "I2C drivers"
drivers/i2c/Makefile +1 -0
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # I2C algorithm drivers configuration #
drivers/i2c/algos/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for the i2c algorithms #
drivers/i2c/busses/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Sensor device configuration #
drivers/i2c/busses/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Multiplexer I2C chip drivers configuration #
drivers/i2c/muxes/Makefile +1 -0
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Input device configuration #
drivers/input/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menuconfig LED bool "LED support" select POLLER
drivers/led/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config MCI_SDHCI bool
drivers/mci/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __MCI_SDHCI_H#define __MCI_SDHCI_H
drivers/memory/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menu "Memory controller drivers" config MC_TEGRA124
drivers/memory/Makefile +1 -0
@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_MC_TEGRA124) += mc-tegra124.o
drivers/memory/mc-tegra124.c +1 -12
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menu "Multifunction device drivers" config MFD_ACT8846
drivers/mfd/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Misc strange devices #
drivers/misc/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menuconfig MTD bool "Memory Technology Device (MTD) support"
drivers/mtd/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menuconfig NAND bool "NAND support" help
drivers/mtd/nand/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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 */ +#endif /* MTD_OMAP_GPMC_DECODE_BCH_H */
drivers/mtd/nand/nand_omap_gpmc.c +2 -3
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <common.h> #include "cfi_flash.h"
drivers/mtd/partition.c +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config ARCH_HAS_FEC_IMX bool
drivers/net/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <common.h> #include "e1000.h"
drivers/net/enc28j60_hw.h +1 -0
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * LiteX Liteeth Ethernet *
drivers/net/phy/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # PHY Layer Configuration #
drivers/net/phy/Makefile +1 -0
@@ -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
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * drivers/net/phy/marvell.c *
drivers/net/phy/mv88e6xxx/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <common.h> #include <init.h>
drivers/net/phy/mv88e6xxx/port.h +1 -0
@@ -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
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <common.h> #include <linux/phy.h>
drivers/net/phy/realtek.c +1 -6
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menu "NVME Support" source "drivers/nvme/host/Kconfig"
drivers/nvme/Makefile +1 -0
@@ -1 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 obj-y += host/
drivers/nvme/host/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config NVME_CORE bool
drivers/nvme/host/core.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <common.h> #include "nvme.h"
drivers/nvme/host/nvme.h +1 -9
@@ -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
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <common.h> #include <init.h>
drivers/nvmem/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menuconfig NVMEM bool "NVMEM Support" help
drivers/nvmem/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for nvmem drivers. #
drivers/nvmem/core.c +1 -9
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config OFTREE select DTC bool
drivers/of/Makefile +1 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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 -*
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.
Sascha Hauer
AppliedQuoted 6 lines · Ahmad Fatoum
There is already a SPDX-License-Identifier, so drop the boilerplate.
Signed-off-by Ahmad Fatoum <[email protected]>--- 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@@ -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