diff options
author | Tom Rini <trini@konsulko.com> | 2018-05-06 17:58:06 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-07 09:34:12 -0400 |
commit | 83d290c56fab2d38cd1ab4c4cc7099559c1d5046 (patch) | |
tree | 5e5d1b40b52aaf96b707e0da2474573306d22f7b /cmd | |
parent | 7ce85318cfff5fd82a059131761559cba7fef309 (diff) | |
download | u-boot-83d290c56fab2d38cd1ab4c4cc7099559c1d5046.zip u-boot-83d290c56fab2d38cd1ab4c4cc7099559c1d5046.tar.gz u-boot-83d290c56fab2d38cd1ab4c4cc7099559c1d5046.tar.bz2 |
SPDX: Convert all of our single license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from. So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry. Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.
In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.
This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents. There's also a few places where I found we did not have a tag
and have introduced one.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/Makefile | 4 | ||||
-rw-r--r-- | cmd/aes.c | 3 | ||||
-rw-r--r-- | cmd/armflash.c | 3 | ||||
-rw-r--r-- | cmd/bdinfo.c | 3 | ||||
-rw-r--r-- | cmd/binop.c | 4 | ||||
-rw-r--r-- | cmd/blk_common.c | 3 | ||||
-rw-r--r-- | cmd/blkcache.c | 3 | ||||
-rw-r--r-- | cmd/blob.c | 3 | ||||
-rw-r--r-- | cmd/bmp.c | 3 | ||||
-rw-r--r-- | cmd/boot.c | 3 | ||||
-rw-r--r-- | cmd/booti.c | 3 | ||||
-rw-r--r-- | cmd/bootm.c | 3 | ||||
-rw-r--r-- | cmd/bootmenu.c | 3 | ||||
-rw-r--r-- | cmd/bootstage.c | 3 | ||||
-rw-r--r-- | cmd/bootz.c | 3 | ||||
-rw-r--r-- | cmd/btrfs.c | 3 | ||||
-rw-r--r-- | cmd/cache.c | 3 | ||||
-rw-r--r-- | cmd/cbfs.c | 3 | ||||
-rw-r--r-- | cmd/clk.c | 3 | ||||
-rw-r--r-- | cmd/config.c | 3 | ||||
-rw-r--r-- | cmd/console.c | 3 | ||||
-rw-r--r-- | cmd/cpu.c | 3 | ||||
-rw-r--r-- | cmd/cramfs.c | 2 | ||||
-rw-r--r-- | cmd/cros_ec.c | 3 | ||||
-rw-r--r-- | cmd/dataflash_mmc_mux.c | 3 | ||||
-rw-r--r-- | cmd/date.c | 3 | ||||
-rw-r--r-- | cmd/demo.c | 3 | ||||
-rw-r--r-- | cmd/dfu.c | 3 | ||||
-rw-r--r-- | cmd/diag.c | 3 | ||||
-rw-r--r-- | cmd/disk.c | 3 | ||||
-rw-r--r-- | cmd/display.c | 3 | ||||
-rw-r--r-- | cmd/echo.c | 3 | ||||
-rw-r--r-- | cmd/eeprom.c | 3 | ||||
-rw-r--r-- | cmd/efi.c | 3 | ||||
-rw-r--r-- | cmd/ethsw.c | 3 | ||||
-rw-r--r-- | cmd/exit.c | 3 | ||||
-rw-r--r-- | cmd/ext2.c | 3 | ||||
-rw-r--r-- | cmd/ext4.c | 3 | ||||
-rw-r--r-- | cmd/fastboot.c | 3 | ||||
-rw-r--r-- | cmd/fat.c | 3 | ||||
-rw-r--r-- | cmd/fdc.c | 3 | ||||
-rw-r--r-- | cmd/fdt.c | 3 | ||||
-rw-r--r-- | cmd/fitupd.c | 3 | ||||
-rw-r--r-- | cmd/flash.c | 3 | ||||
-rw-r--r-- | cmd/fpga.c | 3 | ||||
-rw-r--r-- | cmd/fpgad.c | 3 | ||||
-rw-r--r-- | cmd/fs.c | 3 | ||||
-rw-r--r-- | cmd/fs_uuid.c | 3 | ||||
-rw-r--r-- | cmd/fuse.c | 3 | ||||
-rw-r--r-- | cmd/gettime.c | 3 | ||||
-rw-r--r-- | cmd/gpt.c | 3 | ||||
-rw-r--r-- | cmd/hash.c | 3 | ||||
-rw-r--r-- | cmd/help.c | 3 | ||||
-rw-r--r-- | cmd/host.c | 3 | ||||
-rw-r--r-- | cmd/i2c.c | 3 | ||||
-rw-r--r-- | cmd/ide.c | 3 | ||||
-rw-r--r-- | cmd/ini.c | 3 | ||||
-rw-r--r-- | cmd/io.c | 3 | ||||
-rw-r--r-- | cmd/iotrace.c | 3 | ||||
-rw-r--r-- | cmd/irq.c | 3 | ||||
-rw-r--r-- | cmd/itest.c | 3 | ||||
-rw-r--r-- | cmd/jffs2.c | 3 | ||||
-rw-r--r-- | cmd/led.c | 3 | ||||
-rw-r--r-- | cmd/legacy_led.c | 3 | ||||
-rw-r--r-- | cmd/license.c | 3 | ||||
-rw-r--r-- | cmd/load.c | 3 | ||||
-rw-r--r-- | cmd/log.c | 3 | ||||
-rw-r--r-- | cmd/lzmadec.c | 3 | ||||
-rw-r--r-- | cmd/mac.c | 3 | ||||
-rw-r--r-- | cmd/md5sum.c | 3 | ||||
-rw-r--r-- | cmd/mdio.c | 3 | ||||
-rw-r--r-- | cmd/mem.c | 3 | ||||
-rw-r--r-- | cmd/mfsl.c | 3 | ||||
-rw-r--r-- | cmd/mii.c | 3 | ||||
-rw-r--r-- | cmd/misc.c | 3 | ||||
-rw-r--r-- | cmd/mmc.c | 3 | ||||
-rw-r--r-- | cmd/mp.c | 3 | ||||
-rw-r--r-- | cmd/mtdparts.c | 3 | ||||
-rw-r--r-- | cmd/mvebu/Makefile | 2 | ||||
-rw-r--r-- | cmd/mvebu/bubt.c | 3 | ||||
-rw-r--r-- | cmd/net.c | 3 | ||||
-rw-r--r-- | cmd/nvedit.c | 3 | ||||
-rw-r--r-- | cmd/nvme.c | 3 | ||||
-rw-r--r-- | cmd/part.c | 3 | ||||
-rw-r--r-- | cmd/pci.c | 3 | ||||
-rw-r--r-- | cmd/pcmcia.c | 3 | ||||
-rw-r--r-- | cmd/pmic.c | 3 | ||||
-rw-r--r-- | cmd/pxe.c | 3 | ||||
-rw-r--r-- | cmd/qfw.c | 3 | ||||
-rw-r--r-- | cmd/reginfo.c | 3 | ||||
-rw-r--r-- | cmd/regulator.c | 3 | ||||
-rw-r--r-- | cmd/reiser.c | 3 | ||||
-rw-r--r-- | cmd/remoteproc.c | 2 | ||||
-rw-r--r-- | cmd/rockusb.c | 3 | ||||
-rw-r--r-- | cmd/sata.c | 3 | ||||
-rw-r--r-- | cmd/scsi.c | 3 | ||||
-rw-r--r-- | cmd/setexpr.c | 3 | ||||
-rw-r--r-- | cmd/sf.c | 3 | ||||
-rw-r--r-- | cmd/sha1sum.c | 3 | ||||
-rw-r--r-- | cmd/sound.c | 3 | ||||
-rw-r--r-- | cmd/source.c | 3 | ||||
-rw-r--r-- | cmd/spi.c | 3 | ||||
-rw-r--r-- | cmd/spl.c | 3 | ||||
-rw-r--r-- | cmd/terminal.c | 3 | ||||
-rw-r--r-- | cmd/test.c | 3 | ||||
-rw-r--r-- | cmd/thordown.c | 3 | ||||
-rw-r--r-- | cmd/ti/Makefile | 4 | ||||
-rw-r--r-- | cmd/ti/ddr3.c | 3 | ||||
-rw-r--r-- | cmd/time.c | 2 | ||||
-rw-r--r-- | cmd/tpm.c | 3 | ||||
-rw-r--r-- | cmd/tpm_test.c | 3 | ||||
-rw-r--r-- | cmd/trace.c | 3 | ||||
-rw-r--r-- | cmd/tsi148.c | 3 | ||||
-rw-r--r-- | cmd/ubifs.c | 3 | ||||
-rw-r--r-- | cmd/universe.c | 3 | ||||
-rw-r--r-- | cmd/unzip.c | 3 | ||||
-rw-r--r-- | cmd/usb.c | 3 | ||||
-rw-r--r-- | cmd/usb_gadget_sdp.c | 3 | ||||
-rw-r--r-- | cmd/usb_mass_storage.c | 3 | ||||
-rw-r--r-- | cmd/version.c | 3 | ||||
-rw-r--r-- | cmd/x86/Makefile | 4 | ||||
-rw-r--r-- | cmd/x86/fsp.c | 3 | ||||
-rw-r--r-- | cmd/x86/mtrr.c | 3 | ||||
-rw-r--r-- | cmd/ximg.c | 3 | ||||
-rw-r--r-- | cmd/zfs.c | 3 | ||||
-rw-r--r-- | cmd/zip.c | 3 |
126 files changed, 126 insertions, 252 deletions
diff --git a/cmd/Makefile b/cmd/Makefile index c4269ac..9695309 100644 --- a/cmd/Makefile +++ b/cmd/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0+ # # (C) Copyright 2004-2006 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. -# -# SPDX-License-Identifier: GPL-2.0+ -# ifndef CONFIG_SPL_BUILD # core command @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2014 Marek Vasut <marex@denx.de> * * Command for en/de-crypting block of memory with AES-128-CBC cipher. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/armflash.c b/cmd/armflash.c index b94d128..6872b0d 100644 --- a/cmd/armflash.c +++ b/cmd/armflash.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2015 * Linus Walleij, Linaro * * Support for ARM Flash Partitions - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <command.h> diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index 7bea9b7..397dd15 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2003 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/cmd/binop.c b/cmd/binop.c index 0002c66..787f7a2 100644 --- a/cmd/binop.c +++ b/cmd/binop.c @@ -1,6 +1,4 @@ -/* - * SPDX-License-Identifier: GPL-2.0+ - */ +// SPDX-License-Identifier: GPL-2.0+ #include <common.h> #include <command.h> diff --git a/cmd/blk_common.c b/cmd/blk_common.c index 643fd0b..cee25a0 100644 --- a/cmd/blk_common.c +++ b/cmd/blk_common.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Handling of common block commands * @@ -5,8 +6,6 @@ * * (C) Copyright 2000-2011 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/blkcache.c b/cmd/blkcache.c index d7afe3e..2cc65a9 100644 --- a/cmd/blkcache.c +++ b/cmd/blkcache.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) Nelson Integration, LLC 2016 * Author: Eric Nelson<eric@nelint.com> * - * SPDX-License-Identifier: GPL-2.0+ - * */ #include <config.h> #include <common.h> @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * * Command for encapsulating/decapsulating blob of memory. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2002 * Detlev Zundel, DENX Software Engineering, dzu@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000-2003 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/cmd/booti.c b/cmd/booti.c index f1e607a..45fbb99 100644 --- a/cmd/booti.c +++ b/cmd/booti.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000-2009 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/bootm.c b/cmd/bootm.c index df0bbe1..c3a0634 100644 --- a/cmd/bootm.c +++ b/cmd/bootm.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000-2009 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/cmd/bootmenu.c b/cmd/bootmenu.c index 870db7c..21f353f 100644 --- a/cmd/bootmenu.c +++ b/cmd/bootmenu.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2011-2013 Pali Rohár <pali.rohar@gmail.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/bootstage.c b/cmd/bootstage.c index 788ab16..ed0b0ff 100644 --- a/cmd/bootstage.c +++ b/cmd/bootstage.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2012, Google Inc. All rights reserved. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/bootz.c b/cmd/bootz.c index ceff01b..0e75509 100644 --- a/cmd/bootz.c +++ b/cmd/bootz.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000-2009 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/btrfs.c b/cmd/btrfs.c index 3f4f1b7..faa1239 100644 --- a/cmd/btrfs.c +++ b/cmd/btrfs.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * 2017 by Marek Behun <marek.behun@nic.cz> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/cache.c b/cmd/cache.c index 37ab345..233f428 100644 --- a/cmd/cache.c +++ b/cmd/cache.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2011 The Chromium OS Authors. All rights reserved. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2013 Xilinx, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <command.h> diff --git a/cmd/config.c b/cmd/config.c index 0c7f4e0..fcc9116 100644 --- a/cmd/config.c +++ b/cmd/config.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2017 Masahiro Yamada <yamada.masahiro@socionext.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/console.c b/cmd/console.c index 9a356ec..3f1d98b 100644 --- a/cmd/console.c +++ b/cmd/console.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2015 Google, Inc * Written by Simon Glass <sjg@chromium.org> * Copyright (c) 2017 Álvaro Fernández Rojas <noltari@gmail.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/cramfs.c b/cmd/cramfs.c index 86f1bac..598028c 100644 --- a/cmd/cramfs.c +++ b/cmd/cramfs.c @@ -1,5 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0+ /* - * SPDX-License-Identifier: GPL-2.0+ * * based on: cmd_jffs2.c * diff --git a/cmd/cros_ec.c b/cmd/cros_ec.c index c1e2850..60c8783 100644 --- a/cmd/cros_ec.c +++ b/cmd/cros_ec.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Chromium OS cros_ec driver * * Copyright (c) 2016 The Chromium OS Authors. * Copyright (c) 2016 National Instruments Corp - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/dataflash_mmc_mux.c b/cmd/dataflash_mmc_mux.c index 3832248..9f271b6 100644 --- a/cmd/dataflash_mmc_mux.c +++ b/cmd/dataflash_mmc_mux.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2001 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2013 Google, Inc * * (C) Copyright 2012 * Pavel Herrmann <morpheus.ibis@gmail.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * cmd_dfu.c -- dfu command * @@ -7,8 +8,6 @@ * Copyright (C) 2012 Samsung Electronics * authors: Andrzej Pietrasiewicz <andrzej.p@samsung.com> * Lukasz Majewski <l.majewski@samsung.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2002 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000-2011 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <command.h> diff --git a/cmd/display.c b/cmd/display.c index bc1b1eb..fbe5514 100644 --- a/cmd/display.c +++ b/cmd/display.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2005 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2000-2009 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/eeprom.c b/cmd/eeprom.c index 7608be1..4052cf4 100644 --- a/cmd/eeprom.c +++ b/cmd/eeprom.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000, 2001 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2015 Google, Inc * Written by Simon Glass <sjg@chromium.org> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/ethsw.c b/cmd/ethsw.c index 92a60b4..473324f 100644 --- a/cmd/ethsw.c +++ b/cmd/ethsw.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2015 Freescale Semiconductor, Inc. * - * SPDX-License-Identifier: GPL-2.0+ - * * Ethernet Switch commands */ @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2000-2009 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2011 - 2012 Samsung Electronics * EXT4 filesystem implementation in Uboot by @@ -13,8 +14,6 @@ * (C) Copyright 2003 - 2004 * Sysgo Real-Time Solutions, AG <www.elinos.com> * Pavel Bartusek <pba@sysgo.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2011 - 2012 Samsung Electronics * EXT4 filesystem implementation in Uboot by @@ -16,8 +17,6 @@ * (C) Copyright 2003 - 2004 * Sysgo Real-Time Solutions, AG <www.elinos.com> * Pavel Bartusek <pba@sysgo.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/cmd/fastboot.c b/cmd/fastboot.c index 8adcca5..a5ec5f4 100644 --- a/cmd/fastboot.c +++ b/cmd/fastboot.c @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2008 - 2009 Windriver, <www.windriver.com> * Author: Tom Rix <Tom.Rix@windriver.com> * * (C) Copyright 2014 Linaro, Ltd. * Rob Herring <robh@kernel.org> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <command.h> @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2002 * Richard Jones, rjones@nexus-tech.net - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2001 * Denis Peter, MPL AG, d.peter@mpl.ch. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* * Floppy Disk support @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2007 * Gerald Van Baren, Custom IDEAS, vanbaren@cideas.com * Based on code written by: * Pantelis Antoniou <pantelis.antoniou@gmail.com> and * Matthew McClintock <msm@freescale.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/fitupd.c b/cmd/fitupd.c index 78b8747..1e5edd9 100644 --- a/cmd/fitupd.c +++ b/cmd/fitupd.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2011 * Andreas Pretzsch, carpe noctem engineering, apr@cn-eng.de - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/flash.c b/cmd/flash.c index a2803e8..cd1758d 100644 --- a/cmd/flash.c +++ b/cmd/flash.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000, 2001 * Rich Ireland, Enterasys Networks, rireland@enterasys.com. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/cmd/fpgad.c b/cmd/fpgad.c index 5370c3e..0d55453 100644 --- a/cmd/fpgad.c +++ b/cmd/fpgad.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2013 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc @@ -5,8 +6,6 @@ * based on cmd_mem.c * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. * * Inspired by cmd_ext_common.c, cmd_fat.c. - * - * SPDX-License-Identifier: GPL-2.0 */ #include <common.h> diff --git a/cmd/fs_uuid.c b/cmd/fs_uuid.c index 613f3a4..02ae9b7 100644 --- a/cmd/fs_uuid.c +++ b/cmd/fs_uuid.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * cmd_fs_uuid.c -- fsuuid command * * Copyright (C) 2014, Bachmann electronic GmbH - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2009-2013 ADVANSEE * Benoît Thébaudeau <benoit.thebaudeau@advansee.com> @@ -5,8 +6,6 @@ * Based on the mpc512x iim code: * Copyright 2008 Silicon Turnkey Express, Inc. * Martha Marx <mmarx@silicontkx.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/gettime.c b/cmd/gettime.c index c48baad..863bd87 100644 --- a/cmd/gettime.c +++ b/cmd/gettime.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2011 The Chromium OS Authors. All rights reserved. * @@ -5,8 +6,6 @@ * * (C) Copyright 2001 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * cmd_gpt.c -- GPT (GUID Partition Table) handling command * @@ -7,8 +8,6 @@ * Copyright (C) 2012 Samsung Electronics * author: Lukasz Majewski <l.majewski@samsung.com> * author: Piotr Wilczek <p.wilczek@samsung.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2012 The Chromium OS Authors. * @@ -6,8 +7,6 @@ * * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2000-2009 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2012, Google Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2009 * Sergey Kubushyn, himself, ksi@koi8.net @@ -6,8 +7,6 @@ * * (C) Copyright 2001 * Gerald Van Baren, Custom IDEAS, vanbaren@cideas.com. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000-2011 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-3-Clause /* * inih -- simple .INI file parser * @@ -6,8 +7,6 @@ * Joe Hershberger, National Instruments, joe.hershberger@ni.com * All rights reserved. * - * SPDX-License-Identifier: BSD-3-Clause - * * Go to the project home page for more info: * http://code.google.com/p/inih/ */ @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2012 The Chromium OS Authors. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/cmd/iotrace.c b/cmd/iotrace.c index f54276d..e496787 100644 --- a/cmd/iotrace.c +++ b/cmd/iotrace.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2014 Google, Inc - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2008 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/itest.c b/cmd/itest.c index 70db04a..fd6f416 100644 --- a/cmd/itest.c +++ b/cmd/itest.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2003 * Tait Electronics Limited, Christchurch, New Zealand - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/cmd/jffs2.c b/cmd/jffs2.c index 13c533c..64621f2 100644 --- a/cmd/jffs2.c +++ b/cmd/jffs2.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2002 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. @@ -17,8 +18,6 @@ * * $Id: cmdlinepart.c,v 1.17 2004/11/26 11:18:47 lavinen Exp $ * Copyright 2002 SYSGO Real-Time Solutions GmbH - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2017 Google, Inc * Written by Simon Glass <sjg@chromium.org> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/legacy_led.c b/cmd/legacy_led.c index 1ec2e43..7d40d8d 100644 --- a/cmd/legacy_led.c +++ b/cmd/legacy_led.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2010 * Jason Kridner <jkridner@beagleboard.org> @@ -6,8 +7,6 @@ * http://www.mail-archive.com/u-boot@lists.denx.de/msg06873.html * (C) Copyright 2008 * Ulf Samuelsson <ulf.samuelsson@atmel.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/license.c b/cmd/license.c index 29fc8aa..1c0794f 100644 --- a/cmd/license.c +++ b/cmd/license.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2007 by OpenMoko, Inc. * Author: Harald Welte <laforge@openmoko.org> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000-2004 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2017 Google, Inc * Written by Simon Glass <sjg@chromium.org> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/lzmadec.c b/cmd/lzmadec.c index 1b482ed..6860b5f 100644 --- a/cmd/lzmadec.c +++ b/cmd/lzmadec.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2013 Patrice Bouchand <pbfwdlist_gmail_com> * lzma uncompress command in Uboot @@ -6,8 +7,6 @@ * * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2006 Freescale Semiconductor * York Sun (yorksun@freescale.com) - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/md5sum.c b/cmd/md5sum.c index c737cb2..9d2d418 100644 --- a/cmd/md5sum.c +++ b/cmd/md5sum.c @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2011 * Joe Hershberger, National Instruments, joe.hershberger@ni.com * * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2011 Freescale Semiconductor, Inc * Andy Fleming - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2007 Michal Simek * * Michal SIMEK <monstr@monstr.eu> - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2001 * Gerald Van Baren, Custom IDEAS, vanbaren@cideas.com - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2001 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2003 * Kyle Harris, kharris@nexus-tech.net - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2008-2009 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/mtdparts.c b/cmd/mtdparts.c index 9bc9774..c401009 100644 --- a/cmd/mtdparts.c +++ b/cmd/mtdparts.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2002 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. @@ -20,8 +21,6 @@ * * $Id: cmdlinepart.c,v 1.17 2004/11/26 11:18:47 lavinen Exp $ * Copyright 2002 SYSGO Real-Time Solutions GmbH - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/cmd/mvebu/Makefile b/cmd/mvebu/Makefile index 03de53e..96829c4 100644 --- a/cmd/mvebu/Makefile +++ b/cmd/mvebu/Makefile @@ -1,7 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0 # # Copyright (C) 2016 Marvell International Ltd. # -# SPDX-License-Identifier: GPL-2.0 # https://spdx.org/licenses diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c index 23fb8cd..b4d371f 100644 --- a/cmd/mvebu/bubt.c +++ b/cmd/mvebu/bubt.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2016 Marvell International Ltd. - * - * SPDX-License-Identifier: GPL-2.0 * https://spdx.org/licenses */ @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/cmd/nvedit.c b/cmd/nvedit.c index 9838678..11489b0 100644 --- a/cmd/nvedit.c +++ b/cmd/nvedit.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000-2013 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. @@ -6,8 +7,6 @@ * Andreas Heppel <aheppel@sysgo.de> * * Copyright 2011 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2017 NXP Semiconductors * Copyright (C) 2017 Bin Meng <bmeng.cn@gmail.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. * @@ -12,8 +13,6 @@ * (C) Copyright 2003 - 2004 * Sysgo Real-Time Solutions, AG <www.elinos.com> * Pavel Bartusek <pba@sysgo.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2001 Sysgo Real-Time Solutions, GmbH <www.elinos.com> * Andreas Heppel <aheppel@sysgo.de> @@ -5,8 +6,6 @@ * (C) Copyright 2002 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * Wolfgang Grandegger, DENX Software Engineering, wg@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/cmd/pcmcia.c b/cmd/pcmcia.c index 0bf2bd6..3b7537b 100644 --- a/cmd/pcmcia.c +++ b/cmd/pcmcia.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000-2006 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * - * SPDX-License-Identifier: GPL-2.0+ - * ******************************************************************** * * Lots of code copied from: @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2014-2015 Samsung Electronics * Przemyslaw Marczak <p.marczak@samsung.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <errno.h> @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2010-2011 Calxeda, Inc. * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2015 Miao Yan <yanmiaobest@gmail.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/reginfo.c b/cmd/reginfo.c index b23883e..de94dd8 100644 --- a/cmd/reginfo.c +++ b/cmd/reginfo.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000 * Subodh Nijsure, SkyStream Networks, snijsure@skystream.com - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/regulator.c b/cmd/regulator.c index b605255..89461b6 100644 --- a/cmd/regulator.c +++ b/cmd/regulator.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2014-2015 Samsung Electronics * Przemyslaw Marczak <p.marczak@samsung.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <errno.h> diff --git a/cmd/reiser.c b/cmd/reiser.c index e10c7b9..2c0bca1 100644 --- a/cmd/reiser.c +++ b/cmd/reiser.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2003 - 2004 * Sysgo Real-Time Solutions, AG <www.elinos.com> * Pavel Bartusek <pba@sysgo.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/cmd/remoteproc.c b/cmd/remoteproc.c index 794a406..9aebfc2 100644 --- a/cmd/remoteproc.c +++ b/cmd/remoteproc.c @@ -1,7 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2015 * Texas Instruments Incorporated - http://www.ti.com/ - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <command.h> diff --git a/cmd/rockusb.c b/cmd/rockusb.c index af81cdc..8206643 100644 --- a/cmd/rockusb.c +++ b/cmd/rockusb.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2017 Eddie Cai <eddie.cai.linux@gmail.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2000-2005, DENX Software Engineering * Wolfgang Denk <wd@denx.de> @@ -6,8 +7,6 @@ * <mushtaqk_921@yahoo.co.in> * Copyright (C) 2008 Freescale Semiconductor, Inc. * Dave Liu <daveliu@freescale.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2001 * Denis Peter, MPL AG Switzerland - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/cmd/setexpr.c b/cmd/setexpr.c index af21022..1a6cecd 100644 --- a/cmd/setexpr.c +++ b/cmd/setexpr.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2008 Freescale Semiconductor, Inc. * Copyright 2013 Wolfgang Denk <wd@denx.de> - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Command for accessing SPI flash. * * Copyright (C) 2008 Atmel Corporation - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/sha1sum.c b/cmd/sha1sum.c index 783ea2e..3c50fc2 100644 --- a/cmd/sha1sum.c +++ b/cmd/sha1sum.c @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2011 * Joe Hershberger, National Instruments, joe.hershberger@ni.com * * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/sound.c b/cmd/sound.c index f5dd8bc..d1cbc14 100644 --- a/cmd/sound.c +++ b/cmd/sound.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2012 Samsung Electronics * Rajeshwari Shinde <rajeshwari.s@samsung.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/source.c b/cmd/source.c index a9831b6..92481c4 100644 --- a/cmd/source.c +++ b/cmd/source.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2001 * Kyle Harris, kharris@nexus-tech.net - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2002 * Gerald Van Baren, Custom IDEAS, vanbaren@cideas.com - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2011 * Corscience GmbH & Co. KG - Simon Schwarz <schwarz@corscience.de> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/terminal.c b/cmd/terminal.c index 4b9c0b3..e1ec66e 100644 --- a/cmd/terminal.c +++ b/cmd/terminal.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2007 OpenMoko, Inc. * Written by Harald Welte <laforge@openmoko.org> - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2000-2009 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/thordown.c b/cmd/thordown.c index 1bb5fc2..e297de2 100644 --- a/cmd/thordown.c +++ b/cmd/thordown.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * cmd_thordown.c -- USB TIZEN "THOR" Downloader gadget * * Copyright (C) 2013 Lukasz Majewski <l.majewski@samsung.com> * All rights reserved. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/ti/Makefile b/cmd/ti/Makefile index 7dba66f..16fbade 100644 --- a/cmd/ti/Makefile +++ b/cmd/ti/Makefile @@ -1,7 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0+ # Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ -# -# SPDX-License-Identifier: GPL-2.0+ -# obj- += dummy.o diff --git a/cmd/ti/ddr3.c b/cmd/ti/ddr3.c index 664bb5f..b82cbe1 100644 --- a/cmd/ti/ddr3.c +++ b/cmd/ti/ddr3.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * EMIF: DDR3 test commands * * Copyright (C) 2012-2017 Texas Instruments Incorporated, <www.ti.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <asm/arch/hardware.h> @@ -1,6 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2011 The Chromium OS Authors. - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2013 The Chromium OS Authors. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/tpm_test.c b/cmd/tpm_test.c index 37ad2ff..2e7d133 100644 --- a/cmd/tpm_test.c +++ b/cmd/tpm_test.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2015 Google, Inc - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/trace.c b/cmd/trace.c index a0a7dd1..26bf096 100644 --- a/cmd/trace.c +++ b/cmd/trace.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2011 The Chromium OS Authors. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/tsi148.c b/cmd/tsi148.c index ea96d0f..369a2b5 100644 --- a/cmd/tsi148.c +++ b/cmd/tsi148.c @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2009 Reinhard Arlt, reinhard.arlt@esd-electronics.com * * base on universe.h by * * (C) Copyright 2003 Stefan Roese, stefan.roese@esd-electronics.com - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/ubifs.c b/cmd/ubifs.c index 5e9d357..11bab7a 100644 --- a/cmd/ubifs.c +++ b/cmd/ubifs.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2008 * Stefan Roese, DENX Software Engineering, sr@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ diff --git a/cmd/universe.c b/cmd/universe.c index c931036..dc9a8b5 100644 --- a/cmd/universe.c +++ b/cmd/universe.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2003 Stefan Roese, stefan.roese@esd-electronics.com - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/unzip.c b/cmd/unzip.c index 94f883f..f7aabf7 100644 --- a/cmd/unzip.c +++ b/cmd/unzip.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2001 * Denis Peter, MPL AG Switzerland @@ -7,8 +8,6 @@ * * Most of this source has been derived from the Linux USB * project. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/usb_gadget_sdp.c b/cmd/usb_gadget_sdp.c index 97d00ec..ba1f66a 100644 --- a/cmd/usb_gadget_sdp.c +++ b/cmd/usb_gadget_sdp.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * cmd_sdp.c -- sdp command * * Copyright (C) 2016 Toradex * Author: Stefan Agner <stefan.agner@toradex.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/usb_mass_storage.c b/cmd/usb_mass_storage.c index cfeecb7..89b9ddf 100644 --- a/cmd/usb_mass_storage.c +++ b/cmd/usb_mass_storage.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2011 Samsung Electronics * Lukasz Majewski <l.majewski@samsung.com> * * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <errno.h> diff --git a/cmd/version.c b/cmd/version.c index 15aab5d..b2fffe9 100644 --- a/cmd/version.c +++ b/cmd/version.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2000-2009 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/x86/Makefile b/cmd/x86/Makefile index d4c690b..bcc6d06 100644 --- a/cmd/x86/Makefile +++ b/cmd/x86/Makefile @@ -1,6 +1,4 @@ -# -# SPDX-License-Identifier: GPL-2.0+ -# +# SPDX-License-Identifier: GPL-2.0+ obj-y += mtrr.o obj-$(CONFIG_HAVE_FSP) += fsp.o diff --git a/cmd/x86/fsp.c b/cmd/x86/fsp.c index 2a99cfe..9f94ca9 100644 --- a/cmd/x86/fsp.c +++ b/cmd/x86/fsp.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2014-2015, Bin Meng <bmeng.cn@gmail.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/cmd/x86/mtrr.c b/cmd/x86/mtrr.c index f632f49..70f373a 100644 --- a/cmd/x86/mtrr.c +++ b/cmd/x86/mtrr.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2014 Google, Inc - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000-2004 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * * (C) Copyright 2003 * Kai-Uwe Bloem, Auerswald GmbH & Co KG, <linux-development@auerswald.de> - * - * SPDX-License-Identifier: GPL-2.0+ */ @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * * ZFS filesystem porting to Uboot by @@ -5,8 +6,6 @@ * * zfsfs support * made from existing GRUB Sources by Sun, GNU and others. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2012 * Lei Wen <leiwen@marvell.com>, Marvell Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> |