[U-Boot] [U-Boot, v3, 4/5] mtd: atmel_nand: alloc memory instead of use static array for pmecc data

Andreas Bießmann andreas.devel at googlemail.com
Thu Aug 22 17:00:56 CEST 2013


Dear Josh Wu,

Josh Wu <Josh.wu at atmel.com> writes:
>In this way, the pmecc corraction capbility can change in run time.
>
>Signed-off-by: Josh Wu <josh.wu at atmel.com>
>Acked-by: Scott Wood <scottwood at freescale.com>
>---
>v2 --> v3:
>  use dev_err(host->dev) instead of using dev_err(NULL).
>
>v1 --> v2:
>  replace printk with dev_err.
>  fix coding style.
>  free memory before return ENOMEM.
>
> drivers/mtd/nand/atmel_nand.c |   63 ++++++++++++++++++++++++++++++++++++-----
> 1 file changed, 56 insertions(+), 7 deletions(-)

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bießmann


More information about the U-Boot mailing list