commit | fe2f432c1c81763e13a5b5f2f9e61c8fd49555d9 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <festevam@gmail.com> | Fri Apr 17 09:27:13 2020 -0300 |
committer | Stefano Babic <sbabic@denx.de> | Sat Apr 18 12:59:59 2020 +0200 |
tree | 5a94c41c5039520623e163ac131c0f13b7f3b4bb | |
parent | 06f35583c57fda627fe7f29d1a2ddc6f8bf9d49f [diff] |
wandboard: Print the board version in board_late_init() 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@gmail.com> Tested-by: Heiko Schocher <hs@denx.de>