diff options
Diffstat (limited to 'drivers/mtd/nand')
| -rw-r--r-- | drivers/mtd/nand/Kconfig | 1 | ||||
| -rw-r--r-- | drivers/mtd/nand/onenand/Kconfig | 1 | ||||
| -rw-r--r-- | drivers/mtd/nand/raw/Kconfig | 1 | ||||
| -rw-r--r-- | drivers/mtd/nand/raw/atmel/Makefile | 1 | ||||
| -rw-r--r-- | drivers/mtd/nand/raw/bcm47xxnflash/Makefile | 1 | ||||
| -rw-r--r-- | drivers/mtd/nand/raw/cafe_nand.c | 1 | ||||
| -rw-r--r-- | drivers/mtd/nand/raw/davinci_nand.c | 15 | ||||
| -rw-r--r-- | drivers/mtd/nand/raw/diskonchip.c | 1 | ||||
| -rw-r--r-- | drivers/mtd/nand/raw/gpmi-nand/Makefile | 1 | ||||
| -rw-r--r-- | drivers/mtd/nand/raw/gpmi-nand/bch-regs.h | 15 | ||||
| -rw-r--r-- | drivers/mtd/nand/raw/gpmi-nand/gpmi-regs.h | 15 | ||||
| -rw-r--r-- | drivers/mtd/nand/raw/ingenic/Kconfig | 1 | ||||
| -rw-r--r-- | drivers/mtd/nand/raw/ingenic/Makefile | 1 | ||||
| -rw-r--r-- | drivers/mtd/nand/raw/mpc5121_nfc.c | 15 | ||||
| -rw-r--r-- | drivers/mtd/nand/raw/nand_bch.c | 15 | ||||
| -rw-r--r-- | drivers/mtd/nand/raw/nand_ecc.c | 16 | ||||
| -rw-r--r-- | drivers/mtd/nand/spi/Kconfig | 1 |
17 files changed, 17 insertions, 85 deletions
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 495751ed3fd7..a5d8a211cb8a 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config MTD_NAND_CORE | 2 | config MTD_NAND_CORE |
| 2 | tristate | 3 | tristate |
| 3 | 4 | ||
diff --git a/drivers/mtd/nand/onenand/Kconfig b/drivers/mtd/nand/onenand/Kconfig index 9dc15748947b..ae0b8fe5b990 100644 --- a/drivers/mtd/nand/onenand/Kconfig +++ b/drivers/mtd/nand/onenand/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | menuconfig MTD_ONENAND | 2 | menuconfig MTD_ONENAND |
| 2 | tristate "OneNAND Device Support" | 3 | tristate "OneNAND Device Support" |
| 3 | depends on MTD | 4 | depends on MTD |
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig index 0500c42f31cb..5a711d8beaca 100644 --- a/drivers/mtd/nand/raw/Kconfig +++ b/drivers/mtd/nand/raw/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config MTD_NAND_ECC_SW_HAMMING | 2 | config MTD_NAND_ECC_SW_HAMMING |
| 2 | tristate | 3 | tristate |
| 3 | 4 | ||
diff --git a/drivers/mtd/nand/raw/atmel/Makefile b/drivers/mtd/nand/raw/atmel/Makefile index 288db4f38a8f..27c2dd50e879 100644 --- a/drivers/mtd/nand/raw/atmel/Makefile +++ b/drivers/mtd/nand/raw/atmel/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_MTD_NAND_ATMEL) += atmel-nand-controller.o atmel-pmecc.o | 2 | obj-$(CONFIG_MTD_NAND_ATMEL) += atmel-nand-controller.o atmel-pmecc.o |
| 2 | 3 | ||
| 3 | atmel-nand-controller-objs := nand-controller.o | 4 | atmel-nand-controller-objs := nand-controller.o |
diff --git a/drivers/mtd/nand/raw/bcm47xxnflash/Makefile b/drivers/mtd/nand/raw/bcm47xxnflash/Makefile index f05b119e134b..b531a630c9cf 100644 --- a/drivers/mtd/nand/raw/bcm47xxnflash/Makefile +++ b/drivers/mtd/nand/raw/bcm47xxnflash/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | bcm47xxnflash-y += main.o | 2 | bcm47xxnflash-y += main.o |
| 2 | bcm47xxnflash-y += ops_bcm4706.o | 3 | bcm47xxnflash-y += ops_bcm4706.o |
| 3 | 4 | ||
diff --git a/drivers/mtd/nand/raw/cafe_nand.c b/drivers/mtd/nand/raw/cafe_nand.c index b1c0cd6b49da..2d1c22dc88c1 100644 --- a/drivers/mtd/nand/raw/cafe_nand.c +++ b/drivers/mtd/nand/raw/cafe_nand.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Driver for One Laptop Per Child ‘CAFÉ’ controller, aka Marvell 88ALP01 | 3 | * Driver for One Laptop Per Child ‘CAFÉ’ controller, aka Marvell 88ALP01 |
| 3 | * | 4 | * |
diff --git a/drivers/mtd/nand/raw/davinci_nand.c b/drivers/mtd/nand/raw/davinci_nand.c index 27bafa5e1ca1..25c185bea50c 100644 --- a/drivers/mtd/nand/raw/davinci_nand.c +++ b/drivers/mtd/nand/raw/davinci_nand.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * davinci_nand.c - NAND Flash Driver for DaVinci family chips | 3 | * davinci_nand.c - NAND Flash Driver for DaVinci family chips |
| 3 | * | 4 | * |
| @@ -7,20 +8,6 @@ | |||
| 7 | * Sander Huijsen <Shuijsen@optelecom-nkf.com> | 8 | * Sander Huijsen <Shuijsen@optelecom-nkf.com> |
| 8 | * Troy Kisky <troy.kisky@boundarydevices.com> | 9 | * Troy Kisky <troy.kisky@boundarydevices.com> |
| 9 | * Dirk Behme <Dirk.Behme@gmail.com> | 10 | * Dirk Behme <Dirk.Behme@gmail.com> |
| 10 | * | ||
| 11 | * This program is free software; you can redistribute it and/or modify | ||
| 12 | * it under the terms of the GNU General Public License as published by | ||
| 13 | * the Free Software Foundation; either version 2 of the License, or | ||
| 14 | * (at your option) any later version. | ||
| 15 | * | ||
| 16 | * This program is distributed in the hope that it will be useful, | ||
| 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 19 | * GNU General Public License for more details. | ||
| 20 | * | ||
| 21 | * You should have received a copy of the GNU General Public License | ||
| 22 | * along with this program; if not, write to the Free Software | ||
| 23 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 24 | */ | 11 | */ |
| 25 | 12 | ||
| 26 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
diff --git a/drivers/mtd/nand/raw/diskonchip.c b/drivers/mtd/nand/raw/diskonchip.c index f430c4bf0323..c0e1a8ebe820 100644 --- a/drivers/mtd/nand/raw/diskonchip.c +++ b/drivers/mtd/nand/raw/diskonchip.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * (C) 2003 Red Hat, Inc. | 3 | * (C) 2003 Red Hat, Inc. |
| 3 | * (C) 2004 Dan Brown <dan_brown@ieee.org> | 4 | * (C) 2004 Dan Brown <dan_brown@ieee.org> |
diff --git a/drivers/mtd/nand/raw/gpmi-nand/Makefile b/drivers/mtd/nand/raw/gpmi-nand/Makefile index 3a462487c35e..30ceee9704d1 100644 --- a/drivers/mtd/nand/raw/gpmi-nand/Makefile +++ b/drivers/mtd/nand/raw/gpmi-nand/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_MTD_NAND_GPMI_NAND) += gpmi_nand.o | 2 | obj-$(CONFIG_MTD_NAND_GPMI_NAND) += gpmi_nand.o |
| 2 | gpmi_nand-objs += gpmi-nand.o | 3 | gpmi_nand-objs += gpmi-nand.o |
| 3 | gpmi_nand-objs += gpmi-lib.o | 4 | gpmi_nand-objs += gpmi-lib.o |
diff --git a/drivers/mtd/nand/raw/gpmi-nand/bch-regs.h b/drivers/mtd/nand/raw/gpmi-nand/bch-regs.h index 05bb91f2f4c4..a22b8a506241 100644 --- a/drivers/mtd/nand/raw/gpmi-nand/bch-regs.h +++ b/drivers/mtd/nand/raw/gpmi-nand/bch-regs.h | |||
| @@ -1,22 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Freescale GPMI NAND Flash Driver | 3 | * Freescale GPMI NAND Flash Driver |
| 3 | * | 4 | * |
| 4 | * Copyright 2008-2011 Freescale Semiconductor, Inc. | 5 | * Copyright 2008-2011 Freescale Semiconductor, Inc. |
| 5 | * Copyright 2008 Embedded Alley Solutions, Inc. | 6 | * Copyright 2008 Embedded Alley Solutions, Inc. |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License as published by | ||
| 9 | * the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License along | ||
| 18 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
| 19 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
| 20 | */ | 7 | */ |
| 21 | #ifndef __GPMI_NAND_BCH_REGS_H | 8 | #ifndef __GPMI_NAND_BCH_REGS_H |
| 22 | #define __GPMI_NAND_BCH_REGS_H | 9 | #define __GPMI_NAND_BCH_REGS_H |
diff --git a/drivers/mtd/nand/raw/gpmi-nand/gpmi-regs.h b/drivers/mtd/nand/raw/gpmi-nand/gpmi-regs.h index d92bf32221ca..f5e4f26c34da 100644 --- a/drivers/mtd/nand/raw/gpmi-nand/gpmi-regs.h +++ b/drivers/mtd/nand/raw/gpmi-nand/gpmi-regs.h | |||
| @@ -1,22 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Freescale GPMI NAND Flash Driver | 3 | * Freescale GPMI NAND Flash Driver |
| 3 | * | 4 | * |
| 4 | * Copyright 2008-2011 Freescale Semiconductor, Inc. | 5 | * Copyright 2008-2011 Freescale Semiconductor, Inc. |
| 5 | * Copyright 2008 Embedded Alley Solutions, Inc. | 6 | * Copyright 2008 Embedded Alley Solutions, Inc. |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License as published by | ||
| 9 | * the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License along | ||
| 18 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
| 19 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
| 20 | */ | 7 | */ |
| 21 | #ifndef __GPMI_NAND_GPMI_REGS_H | 8 | #ifndef __GPMI_NAND_GPMI_REGS_H |
| 22 | #define __GPMI_NAND_GPMI_REGS_H | 9 | #define __GPMI_NAND_GPMI_REGS_H |
diff --git a/drivers/mtd/nand/raw/ingenic/Kconfig b/drivers/mtd/nand/raw/ingenic/Kconfig index 7cfc77021154..19a96ce515c1 100644 --- a/drivers/mtd/nand/raw/ingenic/Kconfig +++ b/drivers/mtd/nand/raw/ingenic/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config MTD_NAND_JZ4740 | 2 | config MTD_NAND_JZ4740 |
| 2 | tristate "JZ4740 NAND controller" | 3 | tristate "JZ4740 NAND controller" |
| 3 | depends on MACH_JZ4740 || COMPILE_TEST | 4 | depends on MACH_JZ4740 || COMPILE_TEST |
diff --git a/drivers/mtd/nand/raw/ingenic/Makefile b/drivers/mtd/nand/raw/ingenic/Makefile index ab2c5f47e5b7..1ac4f455baea 100644 --- a/drivers/mtd/nand/raw/ingenic/Makefile +++ b/drivers/mtd/nand/raw/ingenic/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_MTD_NAND_JZ4740) += jz4740_nand.o | 2 | obj-$(CONFIG_MTD_NAND_JZ4740) += jz4740_nand.o |
| 2 | obj-$(CONFIG_MTD_NAND_JZ4780) += ingenic_nand.o | 3 | obj-$(CONFIG_MTD_NAND_JZ4780) += ingenic_nand.o |
| 3 | 4 | ||
diff --git a/drivers/mtd/nand/raw/mpc5121_nfc.c b/drivers/mtd/nand/raw/mpc5121_nfc.c index 062cd1eb2861..8b90def6686f 100644 --- a/drivers/mtd/nand/raw/mpc5121_nfc.c +++ b/drivers/mtd/nand/raw/mpc5121_nfc.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2004-2008 Freescale Semiconductor, Inc. | 3 | * Copyright 2004-2008 Freescale Semiconductor, Inc. |
| 3 | * Copyright 2009 Semihalf. | 4 | * Copyright 2009 Semihalf. |
| @@ -8,20 +9,6 @@ | |||
| 8 | * Based on original driver from Freescale Semiconductor | 9 | * Based on original driver from Freescale Semiconductor |
| 9 | * written by John Rigby <jrigby@freescale.com> on basis of mxc_nand.c. | 10 | * written by John Rigby <jrigby@freescale.com> on basis of mxc_nand.c. |
| 10 | * Reworked and extended by Piotr Ziecik <kosmo@semihalf.com>. | 11 | * Reworked and extended by Piotr Ziecik <kosmo@semihalf.com>. |
| 11 | * | ||
| 12 | * This program is free software; you can redistribute it and/or | ||
| 13 | * modify it under the terms of the GNU General Public License | ||
| 14 | * as published by the Free Software Foundation; either version 2 | ||
| 15 | * of the License, or (at your option) any later version. | ||
| 16 | * This program is distributed in the hope that it will be useful, | ||
| 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 19 | * GNU General Public License for more details. | ||
| 20 | * | ||
| 21 | * You should have received a copy of the GNU General Public License | ||
| 22 | * along with this program; if not, write to the Free Software | ||
| 23 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | ||
| 24 | * MA 02110-1301, USA. | ||
| 25 | */ | 12 | */ |
| 26 | 13 | ||
| 27 | #include <linux/module.h> | 14 | #include <linux/module.h> |
diff --git a/drivers/mtd/nand/raw/nand_bch.c b/drivers/mtd/nand/raw/nand_bch.c index 574c0ca16160..55aa4c1cd414 100644 --- a/drivers/mtd/nand/raw/nand_bch.c +++ b/drivers/mtd/nand/raw/nand_bch.c | |||
| @@ -1,22 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * This file provides ECC correction for more than 1 bit per block of data, | 3 | * This file provides ECC correction for more than 1 bit per block of data, |
| 3 | * using binary BCH codes. It relies on the generic BCH library lib/bch.c. | 4 | * using binary BCH codes. It relies on the generic BCH library lib/bch.c. |
| 4 | * | 5 | * |
| 5 | * Copyright © 2011 Ivan Djelic <ivan.djelic@parrot.com> | 6 | * Copyright © 2011 Ivan Djelic <ivan.djelic@parrot.com> |
| 6 | * | ||
| 7 | * This file is free software; you can redistribute it and/or modify it | ||
| 8 | * under the terms of the GNU General Public License as published by the | ||
| 9 | * Free Software Foundation; either version 2 or (at your option) any | ||
| 10 | * later version. | ||
| 11 | * | ||
| 12 | * This file is distributed in the hope that it will be useful, but WITHOUT | ||
| 13 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 14 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
| 15 | * for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License along | ||
| 18 | * with this file; if not, write to the Free Software Foundation, Inc., | ||
| 19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. | ||
| 20 | */ | 7 | */ |
| 21 | 8 | ||
| 22 | #include <linux/types.h> | 9 | #include <linux/types.h> |
diff --git a/drivers/mtd/nand/raw/nand_ecc.c b/drivers/mtd/nand/raw/nand_ecc.c index 4f4347533058..223fbd8052b3 100644 --- a/drivers/mtd/nand/raw/nand_ecc.c +++ b/drivers/mtd/nand/raw/nand_ecc.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * This file contains an ECC algorithm that detects and corrects 1 bit | 3 | * This file contains an ECC algorithm that detects and corrects 1 bit |
| 3 | * errors in a 256 byte block of data. | 4 | * errors in a 256 byte block of data. |
| @@ -11,21 +12,6 @@ | |||
| 11 | * | 12 | * |
| 12 | * Information on how this algorithm works and how it was developed | 13 | * Information on how this algorithm works and how it was developed |
| 13 | * can be found in Documentation/mtd/nand_ecc.txt | 14 | * can be found in Documentation/mtd/nand_ecc.txt |
| 14 | * | ||
| 15 | * This file is free software; you can redistribute it and/or modify it | ||
| 16 | * under the terms of the GNU General Public License as published by the | ||
| 17 | * Free Software Foundation; either version 2 or (at your option) any | ||
| 18 | * later version. | ||
| 19 | * | ||
| 20 | * This file is distributed in the hope that it will be useful, but WITHOUT | ||
| 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 22 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
| 23 | * for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License along | ||
| 26 | * with this file; if not, write to the Free Software Foundation, Inc., | ||
| 27 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. | ||
| 28 | * | ||
| 29 | */ | 15 | */ |
| 30 | 16 | ||
| 31 | #include <linux/types.h> | 17 | #include <linux/types.h> |
diff --git a/drivers/mtd/nand/spi/Kconfig b/drivers/mtd/nand/spi/Kconfig index 7c37d2929b68..da89b250df7c 100644 --- a/drivers/mtd/nand/spi/Kconfig +++ b/drivers/mtd/nand/spi/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | menuconfig MTD_SPI_NAND | 2 | menuconfig MTD_SPI_NAND |
| 2 | tristate "SPI NAND device Support" | 3 | tristate "SPI NAND device Support" |
| 3 | select MTD_NAND_CORE | 4 | select MTD_NAND_CORE |
