]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
solidrun: Use checkboard() instead of show_board_info()
authorSimon Glass <sjg@chromium.org>
Mon, 13 Nov 2023 02:58:24 +0000 (19:58 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 28 Nov 2023 17:53:03 +0000 (12:53 -0500)
Boards can use a sysinfo driver if a particular model name is needed.
Update this board to use checkboard() directly, rather than having a
weak function laid on top of a weak function.

Signed-off-by: Simon Glass <sjg@chromium.org>
board/solidrun/mx6cuboxi/mx6cuboxi.c

index e119330bc0c14a95c53e88f820765da001e5481a..8edabf4404c2daa87ae0ff2884aff00a1dd4e3ed 100644 (file)
@@ -381,6 +381,7 @@ static bool has_emmc(void)
        return (mmc_get_op_cond(mmc, true) < 0) ? 0 : 1;
 }
 
+/* Override the default implementation, DT model is not accurate */
 int checkboard(void)
 {
        request_detect_gpios();
@@ -496,12 +497,6 @@ int ft_board_setup(void *fdt, struct bd_info *bd)
 }
 #endif
 
-/* Override the default implementation, DT model is not accurate */
-int show_board_info(void)
-{
-       return checkboard();
-}
-
 int board_late_init(void)
 {
 #ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG