]> git.baikalelectronics.ru Git - uboot.git/commit
display_options: Refactor to allow obtaining the banner
authorSimon Glass <sjg@chromium.org>
Fri, 16 Jun 2017 18:51:42 +0000 (12:51 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Jul 2017 16:08:19 +0000 (10:08 -0600)
commit0610160f69aa4fe09702686bc7afef8f10446a46
treefdf525e5fafd09f83eb6f1bcdd1082e7ea81c57e
parent9ee31cf6581576fcf4528571637bf98bea4a13da
display_options: Refactor to allow obtaining the banner

Move the display options code into a separate function so that the U-Boot
banner can be obtained from other code. Adjust the 'version' command to
use it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
cmd/version.c
include/display_options.h
lib/display_options.c