Message ID | 20190412033747.16437-3-wens@kernel.org |
---|---|
State | Rejected |
Delegated to: | Jagannadha Sutradharudu Teki |
Headers | show |
Series | sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY | expand |
diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c index c9798445c7dd..b6b4b1030153 100644 --- a/drivers/net/sun8i_emac.c +++ b/drivers/net/sun8i_emac.c @@ -68,6 +68,9 @@ #define CONFIG_MDIO_TIMEOUT (3 * CONFIG_SYS_HZ) #define AHB_GATE_OFFSET_EPHY 0 +#ifndef AHB_RESET_OFFSET_EPHY +#define AHB_RESET_OFFSET_EPHY 2 +#endif /* IO mux settings */ #define SUN8I_IOMUX_H3 2