summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-01-20 21:05:47 +0100
committerMichal Simek <michal.simek@xilinx.com>2014-02-04 16:39:25 +0100
commit6ba64f24a46a5a8c7a73809f3d0203fa04309347 (patch)
tree79861a379dc647821cedffd635fff6e1996e0b9d
parent07e2822d158940a0e8ba45b6ab0344ffa1011a07 (diff)
downloadu-boot-imx-6ba64f24a46a5a8c7a73809f3d0203fa04309347.zip
u-boot-imx-6ba64f24a46a5a8c7a73809f3d0203fa04309347.tar.gz
u-boot-imx-6ba64f24a46a5a8c7a73809f3d0203fa04309347.tar.bz2
microblaze: Show u-boot banner
It is nice to see u-boot version. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--arch/microblaze/lib/board.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c
index 896e73a..d22aa85 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,