[U-Boot] [PATCHv3 1/3] dm: pcie_fsl: Convert IS_ENABLED() run-time checking to #ifdef

Z.q. Hou zhiqiang.hou at nxp.com
Wed Aug 28 03:31:31 UTC 2019


Hi Bin,

Thanks a lot for your review!

Thanks,
Zhiqiang

> -----Original Message-----
> From: Bin Meng <bmeng.cn at gmail.com>
> Sent: 2019年8月27日 20:55
> To: Z.q. Hou <zhiqiang.hou at nxp.com>
> Cc: u-boot at lists.denx.de; Prabhakar Kushwaha
> <prabhakar.kushwaha at nxp.com>
> Subject: Re: [PATCHv3 1/3] dm: pcie_fsl: Convert IS_ENABLED() run-time
> checking to #ifdef
> 
> On Tue, Aug 27, 2019 at 6:13 PM Z.q. Hou <zhiqiang.hou at nxp.com> wrote:
> >
> > From: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
> >
> > This can avoid build error:
> > The macro in brackets of the IS_ENABLED(CONFIG_FOO) is only defined on
> > the platforms that select the CONFIG_FOO, while it's not defined on
> > platforms that do not select the CONFIG_FOO.
> >
> > Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
> > ---
> > V3:
> >  - New patch, also fix the build error which the #1 of v2 fixed.
> >
> >  drivers/pci/pcie_fsl.c | 69
> > ++++++++++++++++++++++--------------------
> >  1 file changed, 36 insertions(+), 33 deletions(-)
> >
> 
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list