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

Kuo-Jung Su
2013-07-30T00:39:41Z

2013/7/30 Scott Wood <scottwood@freescale.com>:
> On 07/29/2013 12:51:45 AM, Kuo-Jung Su wrote:
>>
>> From: Kuo-Jung Su <dantesu@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@faraday-tech.com>
>> CC: Albert ARIBAUD <albert.u.boot@aribaud.net>
>> CC: Scott Wood <scottwood@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@freescale.com>
>

Got it, thanks.
I'll make a separate cosmetic patch for it. (or probably in V8)

--
Best wishes,
Kuo-Jung Su