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 <[email protected]>
---

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
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to