> 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,
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
---
arch/arm/mach-imx/spl.c | 38
2 matches
Mail list logo