projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07e2822
)
microblaze: Show u-boot banner
author
Michal Simek
<michal.simek@xilinx.com>
Mon, 20 Jan 2014 20:05:47 +0000
(21:05 +0100)
committer
Michal 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
patch
|
blob
|
history
diff --git
a/arch/microblaze/lib/board.c
b/arch/microblaze/lib/board.c
index 896e73a762fdf66f95571d88e6cbb0d6b98561e6..d22aa85c24af9a744f8d67d3f5ca7a05e930be61 100644
(file)
--- 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,