mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] drivers/mtd: add a core
@ 2011-12-12 17:14 Robert Jarzmik
  2011-12-12 17:14 ` [PATCH 1/2] drivers/mtd: introduce {add,del}_nand_device Robert Jarzmik
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Robert Jarzmik @ 2011-12-12 17:14 UTC (permalink / raw)
  To: barebox

This patchset aims at bringing a common core to all mtd
devices. This minimal core provides :
 - add_mtd_device()
 - del_mtd_device()

The add_mtd_device() creates 2 character devices, as
explained in the second commit.

This core will be used by drivers/mtd/devices/* (soon to
come), and hopefully drivers/mtd/nand/* if we agree on
add_mtd_device() functionality.

The core should provide read/write/erase capability which
suits all the devices (ie. nand, nor and bare).

If no agreement emerges, this core will be moved into
drivers/mtd/devices.

The nand devices are left as they were, and not converted to
the new core. This conversion will only be possible after
some feedback about the needs of nand legacy drivers.

Cheers.

--
Robert

Robert Jarzmik (2):
  drivers/mtd: introduce {add,del}_nand_device
  drivers/mtd: add a core mtd handler

 drivers/mtd/Kconfig               |    5 +
 drivers/mtd/Makefile              |    2 +
 drivers/mtd/core.c                |  314 +++++++++++++++++++++++++++++++++++++
 drivers/mtd/nand/atmel_nand.c     |    2 +-
 drivers/mtd/nand/diskonchip.c     |    8 +-
 drivers/mtd/nand/nand.c           |    4 +-
 drivers/mtd/nand/nand.h           |    3 +
 drivers/mtd/nand/nand_base.c      |    2 +-
 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/nomadik_nand.c   |    2 +-
 12 files changed, 336 insertions(+), 12 deletions(-)
 create mode 100644 drivers/mtd/core.c

-- 
1.7.5.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-12-14 14:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-12 17:14 [PATCH 0/2] drivers/mtd: add a core Robert Jarzmik
2011-12-12 17:14 ` [PATCH 1/2] drivers/mtd: introduce {add,del}_nand_device Robert Jarzmik
2011-12-12 17:14 ` [PATCH 2/2] drivers/mtd: add a core mtd handler Robert Jarzmik
2011-12-13  9:21 ` [PATCH 0/2] drivers/mtd: add a core Sascha Hauer
2011-12-13 10:46   ` Robert Jarzmik
2011-12-13 11:11     ` Sascha Hauer
2011-12-13 10:51   ` Robert Jarzmik
2011-12-13 11:29     ` Sascha Hauer
2011-12-13 12:35       ` Robert Jarzmik
2011-12-13 18:58         ` Sascha Hauer
2011-12-14 10:01           ` Robert Jarzmik
2011-12-14 11:02             ` Sascha Hauer
2011-12-14 14:20               ` Robert Jarzmik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox