diff options
author | Fabio Estevam <festevam@gmail.com> | 2022-01-03 12:15:12 -0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-01-06 13:52:47 -0500 |
commit | c72b9f3fb35e8e6f89789d221207bfeccc072af8 (patch) | |
tree | b2dc8c05b490a4eeaff4cdd357f74395eab70d6b | |
parent | f819128cd0a44198cfc7fd4b1db4d5787eee7b4f (diff) | |
download | u-boot-c72b9f3fb35e8e6f89789d221207bfeccc072af8.zip u-boot-c72b9f3fb35e8e6f89789d221207bfeccc072af8.tar.gz u-boot-c72b9f3fb35e8e6f89789d221207bfeccc072af8.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>
-rw-r--r-- | board/udoo/neo/neo.c | 3 |
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; |