[PATCH v2 0/3] Support MT7622 NAND flash controller

RogerCC Lin rogercc.lin at mediatek.com
Thu Nov 30 06:10:42 PST 2017


From: RogerCC Lin <rogercc.lin at mediatek.com>

MT7622 uses an earlier NAND flash controller IP which is similar to
MT2701's, it has less sector size, less max sector number and less
parity bits. This patch can support MT7622 NAND flash controller.

The patch has been verified in UBIFS test, with F59D1G81MB on MT7622
reference board, it works correctly.

Change since v1:
Keep MTK ECC's struct private and add a helper to get parity bits.

RogerCC Lin (3):
  mtd: nand: mtk: update DT bindings
  mtd: nand: mtk: Support different MTK NAND flash controller IP
  mtd: nand: mtk: Support MT7622 NAND flash controller.

 Documentation/devicetree/bindings/mtd/mtk-nand.txt |  11 +-
 drivers/mtd/nand/mtk_ecc.c                         | 126 ++++++++++++++++-----
 drivers/mtd/nand/mtk_ecc.h                         |   3 +-
 drivers/mtd/nand/mtk_nand.c                        |  43 +++++--
 4 files changed, 139 insertions(+), 44 deletions(-)

-- 
1.9.1




More information about the linux-mtd mailing list