From: Patrick DELAUNAY Date: Mon, 8 Apr 2019 14:10:20 +0000 Subject: [U-Boot] [PATCH v2 0/2] mtd: rawnand: add STM32 FMC2 NAND flash controller driver In-Reply-To: <1554457310-29439-1-git-send-email-christophe.kerello@st.com> References: <1554457310-29439-1-git-send-email-christophe.kerello@st.com> Message-ID: <1e0f92c67fb449ac9f607c0bbca19016@SFHDAG6NODE3.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 Hi Christophe, > > 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 For the serie and for stm32m1: tested on STM32MP157c-EV1 board on the branch https://github.com/patrickdelaunay/u-boot/tree/v2019.04-stm32mp Tested-by: Patrick DELAUNAY Reviewed-by: Patrick DELAUNAY Regards Patrick