Re: [PATCH 2/2] ARM: decompressor: add option to ignore MEM ATAGs

From: Linus Walleij
Date: Sat Jan 20 2024 - 06:52:54 EST


On Fri, Jan 19, 2024 at 9:14 PM Christian Marangi <ansuelsmth@gmailcom> wrote:

> +#if defined(CONFIG_ARM_ATAG_DTB_COMPAT_IGNORE_MEM)
> +#define do_ignore_mem 1
> +#else
> +#define do_ignore_mem 0
> +#endif

Is there a reason why you can't just use:

if (IS_ENABLED(CONFIG_ARM_ATAG_DTB_COMPAT_IGNORE_MEM))
in the code?

Yours,
Linus Walleij