[PATCH v2 5/5] wandboard: Print the board version in board_late_init()

sbabic at denx.de sbabic at denx.de
Sun Apr 19 11:09:26 CEST 2020


> Since CONFIG_DISPLAY_BOARDINFO_LATE is no longer used,  the checkboard()
> function is no longer called.
> As it is useful to print the board revision, print it inside
> board_late_init() instead.
> Also, to avoid GPIO errors related to using a GPIO without requesting it,
> move the gpio_request(REV_DETECTION, "REV_DETECT") call prior to its
> usage. 
> Signed-off-by: Fabio Estevam <festevam at gmail.com>
> Tested-by: Heiko Schocher <hs at denx.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list