mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-27 14:14:37 +08:00
microblaze: Show u-boot banner
It is nice to see u-boot version. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
07e2822d15
commit
6ba64f24a4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user