microblaze: Show u-boot banner
authorMichal Simek <michal.simek@xilinx.com>
Mon, 20 Jan 2014 20:05:47 +0000 (21:05 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 4 Feb 2014 15:39:25 +0000 (16:39 +0100)
It is nice to see u-boot version.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/lib/board.c

index 896e73a..d22aa85 100644 (file)
 
 DECLARE_GLOBAL_DATA_PTR;
 
+static int display_banner(void)
+{
+       printf("\n\n%s\n\n", version_string);
+       return 0;
+}
+
 /*
  * All attempts to come up with a "common" initialization sequence
  * that works for all boards and architectures failed: some of the
@@ -45,6 +51,7 @@ init_fnc_t *init_sequence[] = {
 #endif
        serial_init,
        console_init_f,
+       display_banner,
        interrupts_init,
        timer_init,
        NULL,