2011-04-01 13:13:55 +00:00
|
|
|
#include <common.h>
|
2012-04-15 10:05:21 +00:00
|
|
|
#include <generated/compile.h>
|
2011-04-01 13:13:55 +00:00
|
|
|
#include <generated/utsrelease.h>
|
2012-10-09 18:50:11 +00:00
|
|
|
#include <of.h>
|
2011-04-01 13:13:55 +00:00
|
|
|
|
|
|
|
const char version_string[] =
|
2012-04-15 10:05:21 +00:00
|
|
|
"barebox " UTS_RELEASE " " UTS_VERSION "\n";
|
2012-07-25 07:47:32 +00:00
|
|
|
EXPORT_SYMBOL(version_string);
|
2011-04-01 13:13:55 +00:00
|
|
|
|
|
|
|
void barebox_banner (void)
|
|
|
|
{
|
2012-10-09 18:50:11 +00:00
|
|
|
const char *board;
|
|
|
|
|
|
|
|
board = of_get_model();
|
|
|
|
|
|
|
|
if (!board)
|
|
|
|
board = CONFIG_BOARDINFO;
|
|
|
|
|
2011-09-26 16:55:07 +00:00
|
|
|
printf("\n\n%s\n\n", version_string);
|
2012-10-09 18:50:11 +00:00
|
|
|
printf("Board: %s\n", board);
|
2011-04-01 13:13:55 +00:00
|
|
|
}
|