[U-Boot] [PATCH v2 0/2] mtd: rawnand: add STM32 FMC2 NAND flash controller driver

Christophe Kerello christophe.kerello at st.com
Fri Apr 5 09:41:48 UTC 2019


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



More information about the U-Boot mailing list