[U-Boot] [PATCH 2/5] mtd: nand: remove nand size print from nand_init function

Z.Q. Hou zhiqiang.hou at nxp.com
Tue Mar 7 13:39:52 UTC 2017


Hi Parbhakar,

Thanks a lot for your comments!

> -----Original Message-----
> From: Prabhakar Kushwaha
> Sent: Tuesday, March 07, 2017 11:20 AM
> To: Z.Q. Hou <zhiqiang.hou at nxp.com>; u-boot at lists.denx.de;
> oss at buserror.net; york sun <york.sun at nxp.com>;
> Mingkai.hu at freescale.com; sjg at chromium.org; Xiaobo Xie
> <xiaobo.xie at nxp.com>
> Cc: Z.Q. Hou <zhiqiang.hou at nxp.com>
> Subject: RE: [U-Boot] [PATCH 2/5] mtd: nand: remove nand size print from
> nand_init function
> 
> 
> > -----Original Message-----
> > From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of
> > Zhiqiang Hou
> > Sent: Friday, March 03, 2017 7:01 PM
> > To: u-boot at lists.denx.de; oss at buserror.net; york sun
> > <york.sun at nxp.com>; Mingkai.hu at freescale.com; sjg at chromium.org;
> Xiaobo
> > Xie <xiaobo.xie at nxp.com>
> > Cc: Z.Q. Hou <zhiqiang.hou at nxp.com>
> > Subject: [U-Boot] [PATCH 2/5] mtd: nand: remove nand size print from
> > nand_init function
> >
> > 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.
> >
> 
> What problem is faced if nand_init() printing NAND size

When the nand_init() called by other function than initr_nand(), it will print an isolated size and don't know what's this size for. 

Thanks,
Zhiqiang


More information about the U-Boot mailing list