[U-Boot-Users] [PATCH] mips: Call 'nand_init()' in generic board initialization when CONFIG_CMD_NAND is set

Scott Wood scottwood at freescale.com
Fri May 16 21:32:06 CEST 2008


On Sat, May 17, 2008 at 01:26:27AM +0900, Shinya Kuribayashi wrote:
> Hi Jason,
> 
> Jason McMullan wrote:
> > diff --git a/lib_mips/board.c b/lib_mips/board.c
> > index 1645f2c..e33070d 100644
> > --- a/lib_mips/board.c
> > +++ b/lib_mips/board.c
> > @@ -28,6 +28,7 @@
> >  #include <version.h>
> >  #include <net.h>
> >  #include <environment.h>
> > +#include <nand.h>
> 
> This will break build. According to the blackfin, we can't even include
> <nand.h> if it's not configured.

Let's fix that, then.  What is the error?  

I just tried doing something similar on ppc, and it built fine.

-Scott




More information about the U-Boot mailing list