blob: 0cac5ee609e60d8a75808033ae377b9da76128c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// SPDX-License-Identifier: GPL-2.0-only
#include <common.h>
#include <generated/compile.h>
#include <generated/utsrelease.h>
const char version_string[] =
"barebox " UTS_RELEASE " " UTS_VERSION;
EXPORT_SYMBOL(version_string);
const char release_string[] =
"barebox-" UTS_RELEASE;
EXPORT_SYMBOL(release_string);
const char buildsystem_version_string[] =
BUILDSYSTEM_VERSION;
EXPORT_SYMBOL(buildsystem_version_string);
#ifdef CONFIG_BANNER
void barebox_banner (void)
{
printf("\n\n");
pr_info("%s\n", version_string);
if (strlen(buildsystem_version_string) > 0)
pr_info("Buildsystem version: %s\n", buildsystem_version_string);
printf("\n\n");
pr_info("Board: %s\n", barebox_get_model());
}
#endif
|