[PATCH] mx6cuboxi: fix board detection while patching device-tree phy nodes

sbabic
2022-07-25T16:44:37Z

> ft_board_setup relies on the board_type() function to optimize which phy
> nodes need to be enabled for Linux.
> Add calls to setup and release the board-detect GPIOs.
> Also fix the switch-case statement to only enable phy address 4 for
> Cubox and unknown devices.
> Fixes: 741ce308 ("mx6cuboxi: fixup dtb ethernet phy nodes before booting an OS")
> Signed-off-by: Josua Mayer <josua@solid-run.com>
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@denx.de
=====================================================================