ARM: Remove HSC|DDC ETH PHY reset code after switching to DM/DTS
After commit efd0b79106
("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>
This commit is contained in:
parent
e5b8f7e665
commit
dbf61531c7
@ -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)
|
||||
@ -168,17 +167,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");
|
||||
@ -210,8 +198,6 @@ int board_late_init(void)
|
||||
if (ret)
|
||||
printf("Error %d reading EEPROM content!\n", ret);
|
||||
|
||||
eth_phy_reset();
|
||||
|
||||
show_eeprom();
|
||||
read_board_id();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user