[U-Boot] [PATCHv3 2/5] mtd: nand: remove nand size print from nand_init function
Z.Q. Hou
zhiqiang.hou at nxp.com
Mon Mar 27 03:08:31 UTC 2017
Hi York,
> -----Original Message-----
> From: york sun
> Sent: 2017年3月27日 2:33
> To: Z.Q. Hou <zhiqiang.hou at nxp.com>; u-boot at lists.denx.de;
> oss at buserror.net; Mingkai.hu at freescale.com; sjg at chromium.org;
> jh80.chung at samsung.com; Xiaobo Xie <xiaobo.xie at nxp.com>
> Subject: Re: [PATCHv3 2/5] mtd: nand: remove nand size print from nand_init
> function
>
> On 03/17/2017 01:27 AM, Zhiqiang Hou wrote:
> > From: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
> >
> > Add nand_size() function to move the nand size print into initr_nand().
> > Remove nand size print from nand_init() to allow other function to
> > call
> > nand_init() without printing nand size.
> >
> > Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
> > ---
> > V3:
> > - no change
> >
>
> <snip>
>
> > diff --git a/include/nand.h b/include/nand.h index b6eb223..a1f6632
> > 100644
> > --- a/include/nand.h
> > +++ b/include/nand.h
> > @@ -28,6 +28,7 @@
> > #endif
> >
> > extern void nand_init(void);
> > +extern unsigned long nand_size(void);
> >
>
> I don't think you need the "extern" in the header file.
> I will fix this one for you.
Thanks a lot!
B.R
Zhiqiang
More information about the U-Boot
mailing list