summaryrefslogtreecommitdiffstats
path: root/common/version.c
blob: e21dbbedfa4f96fe586448572485ac87c87923fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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);

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