lkml.org 
[lkml]   [2024]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 2/2] ARM: decompressor: add option to ignore MEM ATAGs
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

\
 
 \ /
  Last update: 2024-01-20 12:53    [W:0.067 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site