[U-Boot] [PATCH v4 2/8] lpc32xx: mtd: nand: add MLC NAND controller

Albert ARIBAUD albert.aribaud at 3adev.fr
Thu Mar 12 17:51:40 CET 2015


Le Thu, 12 Mar 2015 16:48:43 +0100, "Albert ARIBAUD (3ADEV)"
<albert.aribaud at 3adev.fr> a écrit :

> The controller's Reed-Solomon ECC hardware is
> used except of course for raw reads and writes.
> It covers in- and out-of-band data together.
> 
> The SPL framework is supported.
> 
> Signed-off-by: Albert ARIBAUD (3ADEV) <albert.aribaud at 3adev.fr>
> ---
> 
> Changes in v4:
> - remove two debugging statements
> - add __iomem to regs struct
> - remove useless 'else return;'
> - take BB marker out of free OOB area
> - replace magic numbers in OOB reads/writes
> - add timeouts in NAND loops
> - use DIV_ROUND_UP where applicable
> - fix erroneous comment
> - skip bad blocks in SPL chainload loop
> 

[...]

> +int board_nand_init(struct nand_chip *nand)

Drat. Missed the bit about CONFIG_SYS_NAND_SELF_INIT. Will fix in v5
tomorrow.

Cordialement,
Albert ARIBAUD
3ADEV


More information about the U-Boot mailing list