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 <s...@chromium.org> --- Changes in v2: None cmd/version.c | 4 +++- include/display_options.h | 15 +++++++++++++++ lib/display_options.c | 21 +++++++++++++++++---- 3 files changed, 35 insertions(+), 5 deletions(-) Applied to u-boot-dm, thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot