[U-Boot] [PATCH v4 1/6] display_options: Refactor to allow obtaining the banner
sjg at google.com
sjg at google.com
Thu Jul 6 14:51:54 UTC 2017
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 at chromium.org>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
Tested-by: Bin Meng <bmeng.cn at gmail.com>
---
Changes in v4:
- Fix /** nit in header file
Changes in v3: None
Changes in v2:
- Update the code to be more testable
- Avoid a warning on spring, etc.
cmd/version.c | 4 +++-
include/display_options.h | 19 +++++++++++++++++++
lib/display_options.c | 36 +++++++++++++++++++++++++++++++-----
3 files changed, 53 insertions(+), 6 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list