Re: [PATCH v5 2/3] pxe_utils: clean-up, replace ifdef by IS_ENABLED

2021-02-03 Thread Bin Meng
On Wed, Feb 3, 2021 at 9:00 PM Simon Glass wrote: > > Hi Kory, > > On Tue, 2 Feb 2021 at 08:42, Kory Maincent wrote: > > > > Replace all the macro ifdef by IS_ENABLED. > > All of these configs are set in the defconfig files and not in the > > include board headers files. > > > > Signed-off-by: Ko

Re: [PATCH v5 2/3] pxe_utils: clean-up, replace ifdef by IS_ENABLED

2021-02-03 Thread Simon Glass
Hi Kory, On Tue, 2 Feb 2021 at 08:42, Kory Maincent wrote: > > Replace all the macro ifdef by IS_ENABLED. > All of these configs are set in the defconfig files and not in the > include board headers files. > > Signed-off-by: Kory Maincent > --- > > Change since v4: > - Use 'if (IS_ENABLED(CONFIG

Re: [PATCH v5 2/3] pxe_utils: clean-up, replace ifdef by IS_ENABLED

2021-02-02 Thread Bin Meng
On Tue, Feb 2, 2021 at 11:42 PM Kory Maincent wrote: > > Replace all the macro ifdef by IS_ENABLED. > All of these configs are set in the defconfig files and not in the > include board headers files. > > Signed-off-by: Kory Maincent > --- > > Change since v4: > - Use 'if (IS_ENABLED(CONFIG...))'

[PATCH v5 2/3] pxe_utils: clean-up, replace ifdef by IS_ENABLED

2021-02-02 Thread Kory Maincent
Replace all the macro ifdef by IS_ENABLED. All of these configs are set in the defconfig files and not in the include board headers files. Signed-off-by: Kory Maincent --- Change since v4: - Use 'if (IS_ENABLED(CONFIG...))' instead of '#if or #ifdef' where possible cmd/pxe_utils.c | 52 +++