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>
|
|
|
|
|
|
|
|
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
|
|
|
|
2014-07-17 14:17:19 +00:00
|
|
|
const char release_string[] =
|
|
|
|
"barebox-" UTS_RELEASE;
|
|
|
|
EXPORT_SYMBOL(release_string);
|
|
|
|
|
2011-04-01 13:13:55 +00:00
|
|
|
void barebox_banner (void)
|
|
|
|
{
|
2014-09-30 06:29:50 +00:00
|
|
|
printf("\n\n");
|
|
|
|
pr_info("%s", version_string);
|
|
|
|
printf("\n\n");
|
2013-08-14 14:12:31 +00:00
|
|
|
pr_info("Board: %s\n", barebox_get_model());
|
2011-04-01 13:13:55 +00:00
|
|
|
}
|