From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Sat, 2 May 2020 11:08:48 +0200 (CEST) Subject: [PATCH 4/5] imx: spl: Remove ifdefs in spl_mmc_boot_mode() In-Reply-To: <20200423110753.51231-5-hws@denx.de> Message-ID: <20200502090848.5930881D85@phobos.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 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 =====================================================================