]> git.sur5r.net Git - u-boot/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)
commit6c519f2dc4a59a9d81f087d990e24d1e6444c86d
treefdf525e5fafd09f83eb6f1bcdd1082e7ea81c57e
parent32e9ec1f8812ffe5874a2e3a0a1b8fe85c489ab8
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