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

Scott Wood scottwood at freescale.com
Wed Apr 21 19:02:47 CEST 2010


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.

-Scott


More information about the U-Boot mailing list