[U-Boot] [PATCH 11/17] SPEAr : Configuring FSMC driver for NAND interface

Scott Wood scottwood at freescale.com
Thu Apr 22 17:39:13 CEST 2010


Vipin KUMAR wrote:
> On 4/21/2010 10:32 PM, Scott Wood wrote:
>> On Wed, Apr 21, 2010 at 01:24:37PM +0530, Vipin KUMAR wrote:
>>> diff --git a/board/spear/spear310/spear310.c b/board/spear/spear310/spear310.c
>>> index 1207709..3ac62d1 100644
>>> --- a/board/spear/spear310/spear310.c
>>> +++ b/board/spear/spear310/spear310.c
>>> @@ -29,7 +29,8 @@
>>>  #include <asm/arch/hardware.h>
>>>  #include <asm/arch/spr_defs.h>
>>>  #include <asm/arch/spr_misc.h>
>>> -#include <asm/arch/spr_nand.h>
>>> +
>>> +int fsmc_nand_init(struct nand_chip *nand);
>> Put it in a header file.
>>
> 
> Should I put it in a platform specific header file. That's where I was
> confused

Put it in fsmc_nand.h, and move that file to an include directory.

-Scott


More information about the U-Boot mailing list