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

Linus Walleij linus.walleij at linaro.org
Sat Jan 20 03:52:33 PST 2024


On Fri, Jan 19, 2024 at 9:14 PM Christian Marangi <ansuelsmth at gmail.com> 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



More information about the linux-arm-kernel mailing list