From: Christophe Kerello Date: Fri, 5 Apr 2019 11:41:48 +0200 Subject: [U-Boot] [PATCH v2 0/2] mtd: rawnand: add STM32 FMC2 NAND flash controller driver Message-ID: <1554457310-29439-1-git-send-email-christophe.kerello@st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This patchset adds the support for the STMicroelectronics FMC2 NAND flash controller found on STM32MP SOCs. This patchset supports: - the polling mode feature - a maximum 8k page size - following ECC strength and step size - nand-ecc-strength = <8>, nand-ecc-step-size = <512> (BCH8) - nand-ecc-strength = <4>, nand-ecc-step-size = <512> (BCH4) - nand-ecc-strength = <1>, nand-ecc-step-size = <512> (Extended ecc based on HAMMING) This patchset has been tested on Micron MT29F8G08ABACAH4 (8-bit SLC NAND). Changes in v2: - fix oob free offset Christophe Kerello (2): dt-bindings: mtd: stm32_fmc2: add STM32 FMC2 NAND controller documentation mtd: rawnand: stm32_fmc2: add STM32 FMC2 NAND flash controller driver doc/device-tree-bindings/mtd/stm32-fmc2-nand.txt | 59 ++ drivers/mtd/nand/raw/Kconfig | 11 + drivers/mtd/nand/raw/Makefile | 1 + drivers/mtd/nand/raw/stm32_fmc2_nand.c | 1092 ++++++++++++++++++++++ 4 files changed, 1163 insertions(+) create mode 100644 doc/device-tree-bindings/mtd/stm32-fmc2-nand.txt create mode 100644 drivers/mtd/nand/raw/stm32_fmc2_nand.c -- 1.9.1