aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2021-08-02 15:18:35 +0200
committerTom Rini <trini@konsulko.com>2021-09-16 14:39:40 -0400
commit22a862c71018da5b52da6d9da067703b99f26e2b (patch)
tree4bfbb8d0bdbcc3459b32557d59ed7b2ec605bf4a
parent77c36093f1d3bfec27248b71deeaec922b143233 (diff)
downloadu-boot-22a862c71018da5b52da6d9da067703b99f26e2b.zip
u-boot-22a862c71018da5b52da6d9da067703b99f26e2b.tar.gz
u-boot-22a862c71018da5b52da6d9da067703b99f26e2b.tar.bz2
version: Do not make version_string[] variable as a weak
There is no platform which needs to overload version_string[] variable, so remove weak symbol mark. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r--cmd/version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/version.c b/cmd/version.c
index ad632fe..38a2655 100644
--- a/cmd/version.c
+++ b/cmd/version.c
@@ -13,7 +13,7 @@
#include <asm/cb_sysinfo.h>
#endif
-const char __weak version_string[] __section(".text_version_string") = U_BOOT_VERSION_STRING;
+const char version_string[] __section(".text_version_string") = U_BOOT_VERSION_STRING;
static int do_version(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[])