aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2022-01-03 12:15:12 -0300
committerTom Rini <trini@konsulko.com>2022-01-07 09:30:45 -0500
commit392aa4ba96ba1197665f95f96c087a893a6d3610 (patch)
tree061451bb8a5419303f4934d06c54d967f366852d /board
parentb7404a9d38c431b577768cceb9b5abac915ce194 (diff)
downloadu-boot-392aa4ba96ba1197665f95f96c087a893a6d3610.zip
u-boot-392aa4ba96ba1197665f95f96c087a893a6d3610.tar.gz
u-boot-392aa4ba96ba1197665f95f96c087a893a6d3610.tar.bz2
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 <festevam@gmail.com> Acked-by: Tommaso Merciai <tomm.merciai@gmail.com> Tested-by: Tommaso Merciai <tomm.merciai@gmail.com>
Diffstat (limited to 'board')
-rw-r--r--board/udoo/neo/neo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/udoo/neo/neo.c b/board/udoo/neo/neo.c
index a11f3b4..5e40583 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;