mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
net/designware: Do not select MIIPORT for RGMII interface
Do not select MIIPORT for RGMII interface Signed-off-by: Vipin Kumar <vipin.kumar@st.com> Acked-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
fa84fa708c
commit
7091915ad7
1 changed files with 3 additions and 1 deletions
|
@ -113,7 +113,9 @@ static int mac_reset(struct eth_device *dev)
|
|||
int timeout = CONFIG_MACRESET_TIMEOUT;
|
||||
|
||||
writel(DMAMAC_SRST, &dma_p->busmode);
|
||||
writel(MII_PORTSELECT, &mac_p->conf);
|
||||
|
||||
if (priv->interface != PHY_INTERFACE_MODE_RGMII)
|
||||
writel(MII_PORTSELECT, &mac_p->conf);
|
||||
|
||||
start = get_timer(0);
|
||||
while (get_timer(start) < timeout) {
|
||||
|
|
Loading…
Add table
Reference in a new issue