>> -extern int spear_nand_init(struct nand_chip *nand);
>> -#endif
>> diff --git a/board/spear/spear300/spear300.c
>> b/board/spear/spear300/spear300.c
>> index cd24247..bb98161 100644
>> --- a/board/spear/spear300/spear300.c
>> +++ b/board/spear/spear300/spear300.c
>> @@ -25,10 +25,10 @@
>>  #include <netdev.h>
>>  #include <nand.h>
>>  #include <asm/io.h>
>> +#include <linux/mtd/fsmc_nand.h>
>>  #include <asm/arch/hardware.h>
>>  #include <asm/arch/spr_defs.h>
>>  #include <asm/arch/spr_misc.h>
>> -#include <asm/arch/spr_nand.h>
>>  
>>  int board_init(void)
>>  {
>> @@ -52,7 +52,7 @@ int board_nand_init(struct nand_chip *nand)
>>          ((readl(&misc_regs_p->auto_cfg_reg) & MISC_SOCCFGMSK) ==
>>           MISC_SOCCFG31)) {
>>  
>> -        return spear_nand_init(nand);
>> +        return fsmc_nand_init(nand);
> 
> Can make this conditionally compiled with CONFIG_NAND_FSMC
> 
OK. Please find these changes in v3

Regards
Vipin
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to