Commit 6ba64f24a46a5a8c7a73809f3d0203fa04309347
1 parent
07e2822d15
Exists in
master
and in
49 other branches
microblaze: Show u-boot banner
It is nice to see u-boot version. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Showing 1 changed file with 7 additions and 0 deletions Side-by-side Diff
arch/microblaze/lib/board.c
... | ... | @@ -24,6 +24,12 @@ |
24 | 24 | |
25 | 25 | DECLARE_GLOBAL_DATA_PTR; |
26 | 26 | |
27 | +static int display_banner(void) | |
28 | +{ | |
29 | + printf("\n\n%s\n\n", version_string); | |
30 | + return 0; | |
31 | +} | |
32 | + | |
27 | 33 | /* |
28 | 34 | * All attempts to come up with a "common" initialization sequence |
29 | 35 | * that works for all boards and architectures failed: some of the |
... | ... | @@ -45,6 +51,7 @@ |
45 | 51 | #endif |
46 | 52 | serial_init, |
47 | 53 | console_init_f, |
54 | + display_banner, | |
48 | 55 | interrupts_init, |
49 | 56 | timer_init, |
50 | 57 | NULL, |