udoo: neo: Do not print the Model information
authorFabio Estevam <festevam@gmail.com>
Mon, 3 Jan 2022 15:15:12 +0000 (12:15 -0300)
committerTom Rini <trini@konsulko.com>
Fri, 7 Jan 2022 14:30:45 +0000 (09:30 -0500)
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 <festevam@gmail.com>
Acked-by: Tommaso Merciai <tomm.merciai@gmail.com>
Tested-by: Tommaso Merciai <tomm.merciai@gmail.com>
board/udoo/neo/neo.c

index a11f3b4..5e40583 100644 (file)
@@ -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;