[U-Boot] [PATCH v7 03/11] nand: add Faraday FTNANDC021 NAND controller support

Scott Wood scottwood at freescale.com
Tue Jul 30 00:59:24 CEST 2013


On 07/29/2013 12:51:45 AM, Kuo-Jung Su wrote:
> From: Kuo-Jung Su <dantesu at faraday-tech.com>
> 
> Faraday FTNANDC021 is an integrated NAND flash controller.
> It use a build-in command table to abstract the underlying
> NAND flash control logic.
> 
> For example:
> 
> Issuing a command 0x10 to FTNANDC021 would result in
> a page write + a read status operation.
> 
> Signed-off-by: Kuo-Jung Su <dantesu at faraday-tech.com>
> CC: Albert ARIBAUD <albert.u.boot at aribaud.net>
> CC: Scott Wood <scottwood at freescale.com>
> ---
> Changes for v7:
>    - ftnandc021.[ch]: Update license to use SPDX identifiers.
>    - ftnandc021.c: put_unaligned() -> memcpy()
>    - ftnandc021.c: update ecc relatived function prototypes to
>      fix compile warnnings.
[snip]
> +#include <common.h>
> +#include <asm/errno.h>
> +#include <asm/io.h>
> +#include <asm/unaligned.h>
> +#include <nand.h>
> +#include <malloc.h>

asm/unaligned.h can come out now that you've switched to memcpy()...

In any case:
Acked-by: Scott Wood <scottwood at freescale.com>

-Scott


More information about the U-Boot mailing list