Commit dbf61531c75ab3604f24b9f23fb61b30679cd611
Committed by
Stefano Babic
1 parent
e5b8f7e665
Exists in
smarc_8mq_lf_v2020.04
and in
9 other branches
ARM: Remove HSC|DDC ETH PHY reset code after switching to DM/DTS
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>
Showing 1 changed file with 0 additions and 14 deletions Side-by-side Diff
board/k+p/kp_imx53/kp_imx53.c
... | ... | @@ -20,7 +20,6 @@ |
20 | 20 | #include "kp_id_rev.h" |
21 | 21 | |
22 | 22 | #define VBUS_PWR_EN IMX_GPIO_NR(7, 8) |
23 | -#define PHY_nRST IMX_GPIO_NR(7, 6) | |
24 | 23 | #define BOOSTER_OFF IMX_GPIO_NR(2, 23) |
25 | 24 | #define LCD_BACKLIGHT IMX_GPIO_NR(1, 1) |
26 | 25 | #define KEY1 IMX_GPIO_NR(2, 26) |
... | ... | @@ -168,17 +167,6 @@ |
168 | 167 | return 0; |
169 | 168 | } |
170 | 169 | |
171 | -void eth_phy_reset(void) | |
172 | -{ | |
173 | - gpio_request(PHY_nRST, "PHY_nRST"); | |
174 | - gpio_direction_output(PHY_nRST, 1); | |
175 | - udelay(50); | |
176 | - gpio_set_value(PHY_nRST, 0); | |
177 | - udelay(400); | |
178 | - gpio_set_value(PHY_nRST, 1); | |
179 | - udelay(50); | |
180 | -} | |
181 | - | |
182 | 170 | void board_disable_display(void) |
183 | 171 | { |
184 | 172 | gpio_request(LCD_BACKLIGHT, "LCD_BACKLIGHT"); |
... | ... | @@ -209,8 +197,6 @@ |
209 | 197 | ret = read_eeprom(); |
210 | 198 | if (ret) |
211 | 199 | printf("Error %d reading EEPROM content!\n", ret); |
212 | - | |
213 | - eth_phy_reset(); | |
214 | 200 | |
215 | 201 | show_eeprom(); |
216 | 202 | read_board_id(); |