From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Sun, 19 Apr 2020 11:09:26 +0200 (CEST) Subject: [PATCH v2 5/5] wandboard: Print the board version in board_late_init() In-Reply-To: <20200417122713.30574-5-festevam@gmail.com> Message-ID: <20200419090926.1E2B481C62@phobos.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 > Tested-by: Heiko Schocher 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 =====================================================================