diff options
author | Fabio Estevam <festevam@gmail.com> | 2019-02-14 10:01:49 -0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-03-13 09:14:35 +0100 |
commit | cad779c0a4676604125a0f783f3644c3691d5fae (patch) | |
tree | 0fb6f1d0496f800c69f47f68f49061d1b1caf816 /board/technexion | |
parent | 737d8bd82058e602df9c0898aeb7bddeece371dd (diff) | |
download | u-boot-cad779c0a4676604125a0f783f3644c3691d5fae.tar.gz u-boot-cad779c0a4676604125a0f783f3644c3691d5fae.tar.xz u-boot-cad779c0a4676604125a0f783f3644c3691d5fae.zip |
pico-imx6ul: Convert to CONFIG_DM_GPIO
Convert to CONFIG_DM_GPIO.
Also, DM GPIO requires gpio_request() to be called explicitly before
doing any gpio operation, so do as requested.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'board/technexion')
-rw-r--r-- | board/technexion/pico-imx6ul/pico-imx6ul.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/technexion/pico-imx6ul/pico-imx6ul.c b/board/technexion/pico-imx6ul/pico-imx6ul.c index 376cd60ed9..1b7b999513 100644 --- a/board/technexion/pico-imx6ul/pico-imx6ul.c +++ b/board/technexion/pico-imx6ul/pico-imx6ul.c @@ -91,6 +91,7 @@ int board_eth_init(bd_t *bis) { setup_iomux_fec(); + gpio_request(RMII_PHY_RESET, "enet_phy_reset"); gpio_direction_output(RMII_PHY_RESET, 0); /* * According to KSZ8081MNX-RNB manual: |