nand patches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some more nand cleanup. The badblock device code is moved from
the nand command to drivers/mtd to make it work without the command.

Sascha Hauer (4):
      nand: nand_block_markbad is only used with nand write support
      nand: move bb handling code to drivers/mtd/nand
      nand bb: switch to cdev operations
      nand bb: add proper bb remove function

 commands/nand.c              |  263 +-------------------------------------
 drivers/mtd/nand/Makefile    |    2 +-
 drivers/mtd/nand/nand-bb.c   |  291 ++++++++++++++++++++++++++++++++++++++++++
 drivers/mtd/nand/nand.c      |    2 +
 drivers/mtd/nand/nand.h      |    1 +
 drivers/mtd/nand/nand_base.c |   23 +---
 include/nand.h               |    5 +
 7 files changed, 304 insertions(+), 283 deletions(-)
 create mode 100644 drivers/mtd/nand/nand-bb.c

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


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux