spl: Refactor controls for console output
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:22:42 +0000 (18:22 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:01:31 +0000 (11:01 -0400)
commitec7e8dad26cc0e3c9f4d1576997c0bbbc7e968e6
treec96b31a531fd3da72a96b51b66cee3199b8de62e
parent2b8d2ccdc91318a47963069373e5244d5abea3c7
spl: Refactor controls for console output

The expression in boot_from_devices() is fairly long and appears to be an
artefact from before we could easily call printf(...) and have the call be
nop'd out. So update it to just check CONFIG_SILENT_CONSOLE.

Signed-off-by: Simon Glass <sjg@chromium.org>
Suggested-by: Tom Rini <trini@konsulko.com>
common/spl/spl.c