diff mbox series

[U-Boot,imx-next,v1,01/14] ARM: Remove HSC|DDC ETH PHY reset code after switching to DM/DTS

Message ID 20190404102656.21405-2-lukma@denx.de
State Accepted
Commit dbf61531c75ab3604f24b9f23fb61b30679cd611
Delegated to: Stefano Babic
Headers show
Series imx: Fully convert HSC|DDC K+P i.MX53 based boards to use DM/DTS | expand

Commit Message

Lukasz Majewski April 4, 2019, 10:26 a.m. UTC
After commit efd0b791069a ("eth: dm: fec: Add gpio phy reset binding")
the in-board file definition of ETH PHY reset can be removed.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
---

 board/k+p/kp_imx53/kp_imx53.c | 14 --------------
 1 file changed, 14 deletions(-)
diff mbox series

Patch

diff --git a/board/k+p/kp_imx53/kp_imx53.c b/board/k+p/kp_imx53/kp_imx53.c
index a12ab9107f..3f21d0b4af 100644
--- a/board/k+p/kp_imx53/kp_imx53.c
+++ b/board/k+p/kp_imx53/kp_imx53.c
@@ -20,7 +20,6 @@ 
 #include "kp_id_rev.h"
 
 #define VBUS_PWR_EN IMX_GPIO_NR(7, 8)
-#define PHY_nRST IMX_GPIO_NR(7, 6)
 #define BOOSTER_OFF IMX_GPIO_NR(2, 23)
 #define LCD_BACKLIGHT IMX_GPIO_NR(1, 1)
 #define KEY1 IMX_GPIO_NR(2, 26)
@@ -211,17 +210,6 @@  int board_init(void)
 	return 0;
 }
 
-void eth_phy_reset(void)
-{
-	gpio_request(PHY_nRST, "PHY_nRST");
-	gpio_direction_output(PHY_nRST, 1);
-	udelay(50);
-	gpio_set_value(PHY_nRST, 0);
-	udelay(400);
-	gpio_set_value(PHY_nRST, 1);
-	udelay(50);
-}
-
 void board_disable_display(void)
 {
 	gpio_request(LCD_BACKLIGHT, "LCD_BACKLIGHT");
@@ -258,8 +246,6 @@  int board_late_init(void)
 	if (ret)
 		printf("Error %d reading EEPROM content!\n", ret);
 
-	eth_phy_reset();
-
 	show_eeprom();
 	read_board_id();