]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Revert "generic-board: make show_board_info a weak function"
authorSimon Glass <sjg@chromium.org>
Mon, 13 Nov 2023 02:58:27 +0000 (19:58 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 28 Nov 2023 17:53:04 +0000 (12:53 -0500)
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>
common/board_info.c

index 3185793da4a7e6a10a8654f353348185c6a75476..a62c04794b90e303ee8a7a880b64b3c6fb397d68 100644 (file)
@@ -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;