imx: serial_mxc: use CONFIG_IS_ENABLED instead of ifdef
PATCH 31/34 imx: serial_mxc: use CONFIG_IS_ENABLED instead of ifdef
Quoted 6 lines
Kconfigallows boards to configured withDM_SERIALand still haveSPL_DM_SERIALdisabled. This patch changes the ifdef's toCONFIG_IS_ENABLEDto allow the modes to differ between SPL and U-Boot.Signed-off-by Adam Ford <[email protected]>Reviewed-by Simon Glass <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== 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 =====================================================================