]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cmd/version.c
arc: cache: Add required NOPs after invalidation of instruction cache
[people/ms/u-boot.git] / cmd / version.c
index 1be0667f0938982158b34aedc3fb6c22c444db91..15aab5dc184c1217076b058c0720427101b6529e 100644 (file)
@@ -17,7 +17,9 @@ const char __weak version_string[] = U_BOOT_VERSION_STRING;
 
 static int do_version(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
-       printf("\n%s\n", version_string);
+       char buf[DISPLAY_OPTIONS_BANNER_LENGTH];
+
+       printf(display_options_get_banner(false, buf, sizeof(buf)));
 #ifdef CC_VERSION_STRING
        puts(CC_VERSION_STRING "\n");
 #endif