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

Patrick DELAUNAY patrick.delaunay at st.com
Mon Apr 8 14:10:20 UTC 2019


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 <patrick.delaunay at st.com>
Reviewed-by: Patrick DELAUNAY <patrick.delaunay at st.com>

Regards

Patrick


More information about the U-Boot mailing list