summaryrefslogtreecommitdiff
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-01 16:06:44 -0400
commitc4c19d10677cda9db747da59d280c843c7f30756 (patch)
tree96c3158047a4e24c645a33b2a9f04bec573817b2
parentcddad2f171708d9f93f7c2e9f0f5c2f14da8efc8 (diff)
downloadu-boot-c4c19d10677cda9db747da59d280c843c7f30756.tar.gz
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 ad632fe4fb..38a26552a1 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[])