[PATCH 4/5] imx: spl: Remove ifdefs in spl_mmc_boot_mode()

sbabic at denx.de sbabic at denx.de
Sat May 2 11:08:48 CEST 2020


> 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: Harald Seiler <hws at denx.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list