commit | 51526811032b6d000daa579fc84c9d7b6866e4b0 | [log] [tgz] |
---|---|---|
author | Harald Seiler <hws@denx.de> | Thu Apr 23 13:07:52 2020 +0200 |
committer | Stefano Babic <sbabic@denx.de> | Fri May 01 18:48:36 2020 +0200 |
tree | 227c2334f2a3ff39b187fbcdfaadf8aa500109dd | |
parent | 309b1ca68afedbcc376bd6eee8d2d1e5d7cd725c [diff] |
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: Harald Seiler <hws@denx.de>