From: Fabio Estevam Date: Mon, 3 Jan 2022 15:15:12 +0000 (-0300) Subject: udoo: neo: Do not print the Model information X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=392aa4ba96ba1197665f95f96c087a893a6d3610;p=u-boot.git udoo: neo: Do not print the Model information By default the Model information from DT is printed: CPU: Freescale i.MX6SX rev1.2 996 MHz (running at 792 MHz) CPU: Extended Commercial temperature grade (-20C to 105C) at 63C Reset cause: POR Model: UDOO Neo Basic Board: UDOO Neo FULL I2C: ready As the udoo basic DT is used, such output may be confusing. Improve it by only printing the Board model instead, which is read from the board identification GPIOs. Signed-off-by: Fabio Estevam Acked-by: Tommaso Merciai Tested-by: Tommaso Merciai --- diff --git a/board/udoo/neo/neo.c b/board/udoo/neo/neo.c index a11f3b491e..5e40583ab4 100644 --- a/board/udoo/neo/neo.c +++ b/board/udoo/neo/neo.c @@ -350,7 +350,8 @@ static char *board_string(int type) return "UNDEFINED"; } -int checkboard(void) +/* Override the default implementation, DT model is not accurate */ +int show_board_info(void) { int *board_type = (int *)OCRAM_START;