From: Simon Glass Date: Mon, 13 Nov 2023 02:58:27 +0000 (-0700) Subject: Revert "generic-board: make show_board_info a weak function" X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20.RelPermalink%20%7D%7D?a=commitdiff_plain;h=d2a1b432a8c10eef247fc580c4cc434e284b13f0;p=u-boot.git Revert "generic-board: make show_board_info a weak function" We already have: - a sysinfo driver-interface which can obtain the model - a weak function called checkboard() for showing board info The current implementation has a weak function on top of a weak function. Now that all boards have been updated to use checkboard() instead, drop the __weak on show_board_info() This reverts commit f7637cc01414b9c87b6b0f861f34d83c19bfaaaf. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- diff --git a/common/board_info.c b/common/board_info.c index 3185793da4..a62c04794b 100644 --- a/common/board_info.c +++ b/common/board_info.c @@ -15,7 +15,7 @@ int __weak checkboard(void) return 0; } -int __weak show_board_info(void) +int show_board_info(void) { if (IS_ENABLED(CONFIG_OF_CONTROL)) { struct udevice *dev;