From d2a1b432a8c10eef247fc580c4cc434e284b13f0 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 12 Nov 2023 19:58:27 -0700 Subject: [PATCH] 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 --- common/board_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5