summaryrefslogtreecommitdiffstats
path: root/common/version.c
blob: f37cb5527fedea8a9321416e5272813b29ef7fba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <common.h>
#include <generated/compile.h>
#include <generated/utsrelease.h>

const char version_string[] =
	"barebox " UTS_RELEASE " " UTS_VERSION "\n";
EXPORT_SYMBOL(version_string);

const char release_string[] =
	"barebox-" UTS_RELEASE;
EXPORT_SYMBOL(release_string);

void barebox_banner (void)
{
	printf("\n\n");
	pr_info("%s", version_string);
	printf("\n\n");
	pr_info("Board: %s\n", barebox_get_model());
}