[U-Boot] [PATCH v6 1/2] powerpc:mpc85xx: Add ifc nand boot support for TPL/SPL
Scott Wood
scottwood at freescale.com
Tue Jan 14 02:09:35 CET 2014
On Mon, 2014-01-13 at 11:58 +0530, Prabhakar Kushwaha wrote:
> On 1/10/2014 7:40 AM, Po Liu wrote:
> > diff --git a/drivers/mtd/nand/fsl_ifc_spl.c b/drivers/mtd/nand/fsl_ifc_spl.c
> > index 9de327b..6b43496 100644
> > --- a/drivers/mtd/nand/fsl_ifc_spl.c
> > +++ b/drivers/mtd/nand/fsl_ifc_spl.c
> > @@ -88,7 +88,11 @@ static inline int bad_block(uchar *marker, int port_size)
> > return __raw_readw((u16 *)marker) != 0xffff;
> > }
> >
> > -static void nand_load(unsigned int offs, int uboot_size, uchar *dst)
> > +#ifdef CONFIG_TPL_BUILD
> > +int nand_spl_load_image(uint32_t offs, unsigned int uboot_size, void *vdst)
> > +#else
> > +static int nand_load(uint32_t offs, unsigned int uboot_size, void *vdst)
> > +#endif
>
> nand_load definition is
> static void nand_load(unsigned int offs, int uboot_size, uchar *dst);
Not anymore...
> have you checked the compilation warning for non TPL framework?
Are you seeing a warning?
-Scott
More information about the U-Boot
mailing list