diff options
author | Simon Glass <sjg@chromium.org> | 2023-03-10 12:47:14 -0800 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-03-13 13:53:01 +0100 |
commit | 40b8afe6f6920eb951b7a1b9ef2766606632ccd8 (patch) | |
tree | 5a636203dcac536c30c44d90dc189edd11f8a7c8 /cmd | |
parent | 644e61448cb02c6252b3f9131bff82e92a0f2aea (diff) | |
download | u-boot-40b8afe6f6920eb951b7a1b9ef2766606632ccd8.zip u-boot-40b8afe6f6920eb951b7a1b9ef2766606632ccd8.tar.gz u-boot-40b8afe6f6920eb951b7a1b9ef2766606632ccd8.tar.bz2 |
x86: Add a few more items to bdinfo
Add the timer and vendor/model information.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/bdinfo.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index bf002f8..8ae7fb3 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -26,6 +26,11 @@ void bdinfo_print_size(const char *name, uint64_t size) print_size(size, "\n"); } +void bdinfo_print_str(const char *name, const char *str) +{ + printf("%-12s= %s\n", name, str); +} + void bdinfo_print_num_l(const char *name, ulong value) { printf("%-12s= 0x%0*lx\n", name, 2 * (int)sizeof(value), value); |