Skip to content
Snippets Groups Projects
Commit 6ba64f24 authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: Show u-boot banner


It is nice to see u-boot version.

Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 07e2822d
No related branches found
No related tags found
No related merge requests found
...@@ -24,6 +24,12 @@ ...@@ -24,6 +24,12 @@
DECLARE_GLOBAL_DATA_PTR; 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 * All attempts to come up with a "common" initialization sequence
* that works for all boards and architectures failed: some of the * that works for all boards and architectures failed: some of the
...@@ -45,6 +51,7 @@ init_fnc_t *init_sequence[] = { ...@@ -45,6 +51,7 @@ init_fnc_t *init_sequence[] = {
#endif #endif
serial_init, serial_init,
console_init_f, console_init_f,
display_banner,
interrupts_init, interrupts_init,
timer_init, timer_init,
NULL, NULL,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment