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

Bin Meng bmeng.cn at gmail.com
Wed Feb 3 07:28:33 CET 2021


On Tue, Feb 2, 2021 at 11:42 PM Kory Maincent <kory.maincent at bootlin.com> 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 <kory.maincent at bootlin.com>
> ---
>
> Change since v4:
> - Use 'if (IS_ENABLED(CONFIG...))' instead of '#if or #ifdef' where possible
>
>  cmd/pxe_utils.c | 52 ++++++++++++++++++++++++-------------------------
>  1 file changed, 25 insertions(+), 27 deletions(-)
>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list