Hello, This is the pre version of the 3rd iteration of this patch series.
Almost everything is implemented now: - HW ECC support - per partition ECC config - HW randomizer support - per partition randomizer config - read retry for Hynix 20nm 8GB nand The boot0 partition can be read/written from Linux, and you should be able to use UBI/UBIFS (even though UBIFS is not ready yet for MLC flashes). I'll try to send subsets of this series to the MTD ML, and get some features passed (per partition ECC has already been submitted). This work is base on linux-3.14-r4 and is also available on my git repo: https://github.com/bbrezillon/linux-sunxi Any feedback is welcome (either testing or reviews). Thanks for your time. Best Regards, Boris Boris BREZILLON (23): mtd: nand: add manufacturer specific init code infrastructure mtd: nand: add hynix specific initializer clk: sunxi: add clk factor determine_rate support mtd: nand: fix erronous read_buf call in nand_write_page_raw_syndrome clk: sunxi: fix clk get factor mtd: nand: define struct nand_timings mtd: nand: add ONFI timing mode to nand_timings converter of: mtd: add NAND timing mode retrieval support of: mtd: add documentation for the ONFI NAND timing mode property mtd: nand: add sunxi NAND flash controller support mtd: nand: add sunxi NFC dt bindings doc ARM: dt/sunxi: add NFC node to Allwinner A20 SoC ARM: sunxi/dt: enable NAND on cubietruck board ARM: dt/sunxi: add NAND controller pin definitions mtd: nand: take nand_ecc_ctrl initialization out of nand_scan_tail mtd: nand: add support for NAND partitions mtd: nand: add DT NAND partition parser mtd: nand: add NAND partition support to the sunxi driver mtd: nand: add page status table (pst) mtd: nand: introduce a randomizer layer in the NAND framework of: mtd: add NAND randomizer mode retrieval mtd: nand: add sunxi randomizer support ARM: sunxi/dt: add cubietruck NAND partitions Brian Norris (1): mtd: nand: fix off-by-one read retry mode counting Ezequiel Garcia (2): of_mtd: Add helpers to get ECC strength and ECC step size mtd: nand: Add a devicetree binding for ECC strength and ECC step size Documentation/devicetree/bindings/mtd/nand.txt | 23 + .../devicetree/bindings/mtd/sunxi-nand.txt | 48 + arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 57 + arch/arm/boot/dts/sun7i-a20.dtsi | 91 + drivers/clk/sunxi/clk-factors.c | 36 + drivers/clk/sunxi/clk-sunxi.c | 4 +- drivers/mtd/nand/Kconfig | 11 + drivers/mtd/nand/Makefile | 7 +- drivers/mtd/nand/nand_base.c | 1159 ++++++++++--- drivers/mtd/nand/nand_bch.c | 16 +- drivers/mtd/nand/nand_ecc.c | 4 +- drivers/mtd/nand/nand_hynix.c | 151 ++ drivers/mtd/nand/nand_ids.c | 3 +- drivers/mtd/nand/nand_timings.c | 248 +++ drivers/mtd/nand/ofnandpart.c | 104 ++ drivers/mtd/nand/sunxi_nand.c | 1810 ++++++++++++++++++++ drivers/of/of_mtd.c | 88 + include/linux/mtd/nand.h | 232 +++ include/linux/of_mtd.h | 26 + 19 files changed, 3897 insertions(+), 221 deletions(-) create mode 100644 Documentation/devicetree/bindings/mtd/sunxi-nand.txt create mode 100644 drivers/mtd/nand/nand_hynix.c create mode 100644 drivers/mtd/nand/nand_timings.c create mode 100644 drivers/mtd/nand/ofnandpart.c create mode 100644 drivers/mtd/nand/sunxi_nand.c -- 1.7.9.5 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
