linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] mtd: kill the NAND_MAX_PAGESIZE/NAND_MAX_OOBSIZE
@ 2013-12-20 16:02 Huang Shijie
  2013-12-20 16:02 ` [PATCH 1/4] mtd: mxc-nand: " Huang Shijie
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Huang Shijie @ 2013-12-20 16:02 UTC (permalink / raw)
  To: linux-arm-kernel

[1] Why kill them?
    As time goes on, the NAND's page size and oob size become larger and larger.
    So we have changes these two macros frequently in order to support the new
    NAND.

[2] How does this patch set do?
    There are three drivers which uses these two macros, the mxc-nand, denali,
    and the cafe-nand.

    This patch will allocate a temporary buffer for the nand_scan_ident, and 
    after it have getten the right page size and oob size, it will re-allocate
    the buffer again.

[3] I do not have the boards which have the relative NAND controller.

    I hope someone can test this patch set.

    thanks.


Huang Shijie (4):
  mtd: mxc-nand: kill the NAND_MAX_PAGESIZE/NAND_MAX_OOBSIZE
  mtd: denali: kill the NAND_MAX_PAGESIZE/NAND_MAX_OOBSIZE
  mtd: nand: kill the the NAND_MAX_PAGESIZE/NAND_MAX_OOBSIZE for
    nand_buffers{}
  mtd: nand: remove the NAND_MAX_PAGESIZE/NAND_MAX_OOBSIZE

 drivers/mtd/nand/cafe_nand.c | 49 +++++++++++++++++++++++++++++++-----------
 drivers/mtd/nand/denali.c    | 51 ++++++++++++++++++++++++++------------------
 drivers/mtd/nand/denali.h    |  4 +---
 drivers/mtd/nand/mxc_nand.c  | 18 +++++++++++++---
 drivers/mtd/nand/nand_base.c | 19 +++++++++++++----
 include/linux/mtd/nand.h     | 20 ++++++-----------
 6 files changed, 103 insertions(+), 58 deletions(-)

-- 
1.8.3.1

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

end of thread, other threads:[~2014-01-29  0:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-20 16:02 [PATCH 0/4] mtd: kill the NAND_MAX_PAGESIZE/NAND_MAX_OOBSIZE Huang Shijie
2013-12-20 16:02 ` [PATCH 1/4] mtd: mxc-nand: " Huang Shijie
2013-12-20 16:02 ` [PATCH 2/4] mtd: denali: " Huang Shijie
2013-12-20 16:02 ` [PATCH 3/4] mtd: nand: kill the the NAND_MAX_PAGESIZE/NAND_MAX_OOBSIZE for nand_buffers{} Huang Shijie
2014-01-11 23:39   ` Brian Norris
2014-01-11 23:43     ` Russell King - ARM Linux
2014-01-12  0:04       ` Brian Norris
2014-01-13  6:27     ` [PATCH fix] " Huang Shijie
2014-01-29  0:23       ` Brian Norris
2013-12-20 16:02 ` [PATCH 4/4] mtd: nand: remove the NAND_MAX_PAGESIZE/NAND_MAX_OOBSIZE Huang Shijie
2014-01-29  0:23   ` Brian Norris
2013-12-20 17:13 ` [PATCH 0/4] mtd: kill " Josh Triplett
2014-01-11 23:47 ` Brian Norris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).