aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass2023-11-12 19:58:27 -0700
committerTom Rini2023-11-28 12:53:04 -0500
commitd2a1b432a8c10eef247fc580c4cc434e284b13f0 (patch)
treecdc031efc11204236bd901c65d2ad2a57bdbef12 /common
parent16e4b7818b3431c2fb40c0830319a5d3b6f5081b (diff)
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 <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common')
-rw-r--r--common/board_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_info.c b/common/board_info.c
index 3185793da4a..a62c04794b9 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;