Skip to content
Commit 5fc5bac6 authored by Harald Seiler's avatar Harald Seiler Committed by Stefano Babic
Browse files

imx: spl: Remove ifdefs in spl_mmc_boot_mode()



It is hard to read code which contains nested ifdef blocks.  Replace
them with normal if-blocks and the IS_ENABLED() macro.  This is not only
more readable but also helps as both arms are validated by the compiler
in all cases.

Signed-off-by: default avatarHarald Seiler <hws@denx.de>
parent abf61e63
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment