]> git.baikalelectronics.ru Git - uboot.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)
commitb11a652c0da98e9e9e905b8ca554889370c09e61
tree35f882e75e85f4a81ec20044015a21e71685fd03
parent55f7de4661106e3c288678f533aad6cf5712ea76
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