From: Simon Glass <sjg@chromium.org>
Date: Mon, 13 Nov 2023 02:58:26 +0000 (-0700)
Subject: udoo: Use checkboard() instead of show_board_info()
X-Git-Tag: v2025.01-rc5-pxa1908~581^2~40^2~3
X-Git-Url: http://git.dujemihanovic.xyz/img/static/login.html?a=commitdiff_plain;h=16e4b7818b3431c2fb40c0830319a5d3b6f5081b;p=u-boot.git

udoo: Use checkboard() instead of show_board_info()

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>
---

diff --git a/board/udoo/neo/neo.c b/board/udoo/neo/neo.c
index 730e266469..d99d93b44a 100644
--- a/board/udoo/neo/neo.c
+++ b/board/udoo/neo/neo.c
@@ -212,7 +212,7 @@ static char *board_string(int type)
 }
 
 /* Override the default implementation, DT model is not accurate */
-int show_board_info(void)
+int checkboard(void)
 {
 	int *board_type = (int *)OCRAM_START;