From 6ba64f24a46a5a8c7a73809f3d0203fa04309347 Mon Sep 17 00:00:00 2001
From: Michal Simek <michal.simek@xilinx.com>
Date: Mon, 20 Jan 2014 21:05:47 +0100
Subject: [PATCH] microblaze: Show u-boot banner

It is nice to see u-boot version.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
 arch/microblaze/lib/board.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c
index 896e73a762..d22aa85c24 100644
--- a/arch/microblaze/lib/board.c
+++ b/arch/microblaze/lib/board.c
@@ -24,6 +24,12 @@
 
 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,
-- 
2.39.5