autoboot: Use if() for CONFIG_SILENT_CONSOLE
authorSimon Glass <sjg@chromium.org>
Sun, 21 Jul 2019 02:51:18 +0000 (20:51 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 2 Aug 2019 15:19:14 +0000 (11:19 -0400)
commit42b4d14e34322cba4f4c855fff43688a89c0fbeb
tree86385dfba64035d4e5f52ce797de4f4750760fc1
parent88fa4beb631c5329bf616554f7d2714ece7a5f0b
autoboot: Use if() for CONFIG_SILENT_CONSOLE

Avoid an #ifdef in this function, to improve readability.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/autoboot.c