[PATCH 15/20] dm: core: Convert #ifdef to if() in root.c

Simon Glass sjg at chromium.org
Fri Oct 30 04:34:33 CET 2020


Convert a few conditions to use compile-time checks to reduce the number
of build paths.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/core/root.c | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list