[PATCH 0/5] Another smaller update to the nand stack

Michael Nazzareno Trimarchi michael at amarulasolutions.com
Mon Aug 22 11:56:09 CEST 2022


On Thu, Jul 28, 2022 at 7:17 PM Michael Trimarchi
<michael at amarulasolutions.com> wrote:
>
> Update the stack to move it slowly to linux with some improvements.
> We want to support more samsung variant and clean up a bit the code.
> This will be the last upstream changes for now until a quick review
> of spl code will be done to reduce duplication. I decided to move the
> imx8mn_bsh_smm_s2 board to use the full nand detect because onfi can
> easily fail on no-onfi, no-jedec nand. I take care to move the mt7621
> to use nand_detect and ask gently to test it again
>
> Series successfully tested on imx8mn bsh smm s2 with NAND:
>         - Macronix MX30LF4G18AC
>           512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
>
> Michael Trimarchi (5):
>   mtd: nand: Rename the nand_manufacturers struct
>   mtd: nand: change return type of nand_get_flash_type() to int
>   mtd: nand: Rename nand_get_flash_type() into nand_detect()
>   mtd: nand: samsung: Retrieve ECC requirements from extended
>   configs: imx8mn_bsh_smm_s2: Use nand_base ident for nand
>     identification
>
>  configs/imx8mn_bsh_smm_s2_defconfig |  2 ++
>  drivers/mtd/nand/raw/mt7621_nand.c  |  9 ++++---
>  drivers/mtd/nand/raw/mxs_nand_spl.c |  8 +++----
>  drivers/mtd/nand/raw/nand_base.c    | 37 +++++++++++++----------------
>  drivers/mtd/nand/raw/nand_ids.c     |  2 +-
>  drivers/mtd/nand/raw/nand_samsung.c | 20 ++++++++++++++++
>  include/linux/mtd/rawnand.h         | 13 +++++-----
>  7 files changed, 54 insertions(+), 37 deletions(-)
>
> --
> 2.34.1
>

Applied thanks


-- 
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
michael at amarulasolutions.com
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
info at amarulasolutions.com
www.amarulasolutions.com


More information about the U-Boot mailing list