Skip to content

Commit 87194ab

Browse files
Linus Walleijmiquelraynal
authored andcommitted
mtd: chips: Use SPDX license headers
Some of the files in mtd/chips do not have a SPDX license header, presumably because the text string "GPL'd" didn't parse with Thomas rulesets for magic license tagging. Fix this, the code is initially from RedHat which clearly targeted the Linux kernel and intended it to be GPLv2. In any case the original author appears to be David Woodhouse who can then confirm this. Cc: David Woodhouse <dwmw2@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20230603185200.3571174-1-linus.walleij@linaro.org
1 parent 7c74557 commit 87194ab

9 files changed

Lines changed: 15 additions & 11 deletions

File tree

drivers/mtd/chips/cfi_cmdset_0001.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Common Flash Interface support:
34
* Intel Extended Vendor Command Set (ID 0x0001)
45
*
5-
* (C) 2000 Red Hat. GPL'd
6+
* (C) 2000 Red Hat.
67
*
78
*
89
* 10/10/2000 Nicolas Pitre <nico@fluxnic.net>

drivers/mtd/chips/cfi_cmdset_0002.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Common Flash Interface support:
34
* AMD & Fujitsu Standard Vendor Command Set (ID 0x0002)
@@ -16,8 +17,6 @@
1617
* 25/09/2008 Christopher Moore: TopBottom fixup for many Macronix with CFI V1.0
1718
*
1819
* Occasionally maintained by Thayne Harbaugh tharbaugh at lnxi dot com
19-
*
20-
* This code is GPL
2120
*/
2221

2322
#include <linux/module.h>

drivers/mtd/chips/cfi_cmdset_0020.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Common Flash Interface support:
34
* ST Advanced Architecture Command Set (ID 0x0020)
45
*
5-
* (C) 2000 Red Hat. GPL'd
6+
* (C) 2000 Red Hat.
67
*
78
* 10/10/2000 Nicolas Pitre <nico@fluxnic.net>
89
* - completely revamped method functions so they are aware and

drivers/mtd/chips/cfi_probe.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
Common Flash Interface probe code.
3-
(C) 2000 Red Hat. GPL'd.
4+
(C) 2000 Red Hat.
45
*/
56

67
#include <linux/module.h>

drivers/mtd/chips/cfi_util.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Common Flash Interface support:
34
* Generic utility functions not dependent on command set
45
*
56
* Copyright (C) 2002 Red Hat
67
* Copyright (C) 2003 STMicroelectronics Limited
7-
*
8-
* This code is covered by the GPL.
98
*/
109

1110
#include <linux/module.h>

drivers/mtd/chips/gen_probe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Routines common to all CFI-type probes.
34
* (C) 2001-2003 Red Hat, Inc.
4-
* GPL'd
55
*/
66

77
#include <linux/kernel.h>

drivers/mtd/chips/jedec_probe.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
Common Flash Interface probe code.
3-
(C) 2000 Red Hat. GPL'd.
4+
(C) 2000 Red Hat.
45
See JEDEC (http://www.jedec.org/) standard JESD21C (section 3.5)
56
for the standard this probe goes back to.
67

drivers/mtd/chips/map_ram.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Common code to handle map devices which are simple RAM
3-
* (C) 2000 Red Hat. GPL'd.
4+
* (C) 2000 Red Hat.
45
*/
56

67
#include <linux/module.h>

drivers/mtd/chips/map_rom.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Common code to handle map devices which are simple ROM
3-
* (C) 2000 Red Hat. GPL'd.
4+
* (C) 2000 Red Hat.
45
*/
56

67
#include <linux/module.h>

0 commit comments

Comments
 (0)