autoboot: move CONFIG_SILENT_CONSOLE handling
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 27 Jun 2016 07:23:03 +0000 (16:23 +0900)
committerTom Rini <trini@konsulko.com>
Fri, 1 Jul 2016 21:42:56 +0000 (17:42 -0400)
commit09b9d9e55f64259763c20217f7743dbeec9bb055
tree655155b29dfdb9679f5b01403370186a1e76c6ea
parentd8da8298ad9b5a379d6fb7f079a3a1a591147a5e
autoboot: move CONFIG_SILENT_CONSOLE handling

Factor out the same code from the callees to the caller.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
common/autoboot.c