[PATCH 00/10] Supporting restricted NAND controllers

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

 



Hello,

The first 6 patches are just miscellaneous changes, that do not bring
functional changes but clarify a few core areas.

Path 7 adds a way to test what the controller ->exec_op()
implementation actually supports and decide to either "pack" the NAND
operations as much as possible, otherwise continue to split operations
as usual.

Patches 8 and 9 use this flag to fallback on packed operations during
ONFI/JEDEC parameter page reads (the idea of these two patches is
imported from a previous series).

Finally, patch 10 does the same in the core, in the read/write_page
helpers.

This series is needed in order to support controllers like Arasan's.

Thanks,
Miquèl

Miquel Raynal (10):
  mtd: rawnand: Translate obscure bitfields into readable macros
  mtd: rawnand: Reorder the nand_chip->options flags
  mtd: rawnand: Rename a NAND chip option
  mtd: rawnand: Fix comments about the use of bufpoi
  mtd: rawnand: Rename the use_bufpoi variables
  mtd: rawnand: Avoid indirect access to ->data_buf()
  mtd: rawnand: Help supporting controllers that are not able to split
    operations
  mtd: rawnand: onfi: Add an alternative parameter page read
  mtd: rawnand: jedec: Add an alternative parameter page read
  mtd: rawnand: Fallback on easier operations when needed

 drivers/mtd/nand/raw/atmel/nand-controller.c |   2 +-
 drivers/mtd/nand/raw/brcmnand/brcmnand.c     |   2 +-
 drivers/mtd/nand/raw/denali.c                |   2 +-
 drivers/mtd/nand/raw/internals.h             |   5 +
 drivers/mtd/nand/raw/meson_nand.c            |   2 +-
 drivers/mtd/nand/raw/mtk_nand.c              |   2 +-
 drivers/mtd/nand/raw/nand_base.c             | 110 +++++++++++++++----
 drivers/mtd/nand/raw/nand_jedec.c            |  31 ++++--
 drivers/mtd/nand/raw/nand_onfi.c             |  17 ++-
 drivers/mtd/nand/raw/qcom_nandc.c            |   2 +-
 drivers/mtd/nand/raw/stm32_fmc2_nand.c       |   2 +-
 drivers/mtd/nand/raw/sunxi_nand.c            |   2 +-
 drivers/mtd/nand/raw/tango_nand.c            |   2 +-
 drivers/mtd/nand/raw/tegra_nand.c            |   2 +-
 include/linux/mtd/rawnand.h                  | 105 ++++++++++--------
 15 files changed, 191 insertions(+), 97 deletions(-)

-- 
2.20.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux