From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp6-g21.free.fr ([2a01:e0c:1:1599::15]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Rbfg9-0001yt-98 for barebox@lists.infradead.org; Fri, 16 Dec 2011 21:50:59 +0000 From: Robert Jarzmik Date: Fri, 16 Dec 2011 22:50:26 +0100 Message-Id: <1324072234-31634-1-git-send-email-robert.jarzmik@free.fr> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH V2 0/8] mtd framework rework To: barebox@lists.infradead.org This patchset aims at reworking the mtd support : - add a mtd core - concentrate MTD core functions (MTD_WRITE) - split mtd core character device (/dev/mtd) from other character devices (/dev/mtdoob). - add a data+oob character device (/dev/mtdraw) Robert Jarzmik (8): drivers/mtd: move nand.c into core.c drivers/mtd: cosmetic changes drivers/mtd: transfer NAND notions to MTD core drivers/mtd: recover NAND default device name "nand" drivers/mtd: fix core multiple MTD registrations drivers/mtd: add mtd core hooks mtd/drivers: split mtd mtdoob devices drivers/mtd: add the mtdraw device (data+oob) drivers/mtd/Kconfig | 15 ++ drivers/mtd/Makefile | 8 +- drivers/mtd/core.c | 241 +++++++++++++++++++++++++ drivers/mtd/mtd.h | 42 +++++ drivers/mtd/mtdoob.c | 100 +++++++++++ drivers/mtd/mtdraw.c | 303 ++++++++++++++++++++++++++++++++ drivers/mtd/nand/Kconfig | 10 - drivers/mtd/nand/Makefile | 4 +- drivers/mtd/nand/atmel_nand.c | 2 +- drivers/mtd/nand/diskonchip.c | 2 +- drivers/mtd/nand/nand-bb.c | 6 +- drivers/mtd/nand/nand.c | 290 ------------------------------ drivers/mtd/nand/nand_base.c | 14 +- drivers/mtd/nand/nand_bbt.c | 2 +- drivers/mtd/nand/nand_hwecc.c | 4 +- drivers/mtd/nand/nand_hwecc_syndrome.c | 6 +- drivers/mtd/nand/nand_imx.c | 2 +- drivers/mtd/nand/nand_omap_gpmc.c | 2 +- drivers/mtd/nand/nand_s3c2410.c | 2 +- drivers/mtd/nand/nand_swecc.c | 4 +- drivers/mtd/nand/nomadik_nand.c | 2 +- include/linux/mtd/mtd.h | 3 +- 22 files changed, 734 insertions(+), 330 deletions(-) create mode 100644 drivers/mtd/core.c create mode 100644 drivers/mtd/mtd.h create mode 100644 drivers/mtd/mtdoob.c create mode 100644 drivers/mtd/mtdraw.c delete mode 100644 drivers/mtd/nand/nand.c -- 1.7.5.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox