[PATCH 6/9] udoo: Use checkboard() instead of show_board_info()

Simon Glass sjg at chromium.org
Mon Nov 13 03:58:26 CET 2023


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 at chromium.org>
---

 board/udoo/neo/neo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/udoo/neo/neo.c b/board/udoo/neo/neo.c
index 730e266469b2..d99d93b44ae5 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;
 
-- 
2.42.0.869.gea05f2083d-goog



More information about the U-Boot mailing list