hush: Pull out U-Boot prompt display and read functionality
authorMarek Vasut <marex@denx.de>
Wed, 27 Jan 2016 03:47:54 +0000 (04:47 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 8 Feb 2016 15:10:36 +0000 (10:10 -0500)
commit13d3046fa392625f172d55cba8eb551f47e45f3f
tree9aa038969d79cf48fcd38bc27cfa6478738f949e
parentdffceb4b15e4c5fd2487e625a08062a8120bd17f
hush: Pull out U-Boot prompt display and read functionality

Pull the code which displays U-Boot prompt and reads the command line
into a separate function. No functional change.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/cli_hush.c