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 <s...@chromium.org>
---

 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 3185793da4a7..a62c04794b90 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.42.0.869.gea05f2083d-goog

Reply via email to