]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: spl: Use IS_ENABLED() instead of #ifdef where possible
authorMarek Behún <marek.behun@nic.cz>
Fri, 14 Jan 2022 13:31:44 +0000 (14:31 +0100)
committerStefan Roese <sr@denx.de>
Thu, 20 Jan 2022 10:35:29 +0000 (11:35 +0100)
commit37241ce1bab1ae497e96a5201072dff11c7980c7
tree35f882e75e85f4a81ec20044015a21e71685fd03
parentc894566c5df5e4be0db37a67433dfc93334843d7
arm: mvebu: spl: Use IS_ENABLED() instead of #ifdef where possible

Use the preferred
  if (IS_ENABLED(X))
instead of
  #ifdef X
where possible.

There are still places where this is not possible or is more complicated
to convert in this file. Leave those be for now.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/spl.c