commit | 5674e4c29a17b5a08b7e6b26981090d379a07fc4 | [log] [tgz] |
---|---|---|
author | Josua Mayer <josua@solid-run.com> | Thu Jun 16 11:40:15 2022 +0300 |
committer | Stefano Babic <sbabic@denx.de> | Mon Jul 25 15:08:23 2022 +0200 |
tree | c57b5a2ad77615c74f74c6c8067b10a6c6a38571 | |
parent | 2a9b48009d9fa1fa2ea97374f2db8d2123f863de [diff] |
mx6cuboxi: fix board detection while patching device-tree phy nodes 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>