提交 2e19a381 编写于 作者: G Giuseppe CAVALLARO 提交者: David S. Miller

stmmac: remove the STBus bridge setting from the GMAC code (v3)

This patch removes a piece of code (actually commented)
only useful for some ST platforms in the past.

This kind of setting now can be done by using the platform
callbacks provided in linux/stmmac.h (see the stmmac.txt for
further details).
Signed-off-by: NGiuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 dcef1151
...@@ -37,9 +37,6 @@ static void dwmac1000_core_init(void __iomem *ioaddr) ...@@ -37,9 +37,6 @@ static void dwmac1000_core_init(void __iomem *ioaddr)
value |= GMAC_CORE_INIT; value |= GMAC_CORE_INIT;
writel(value, ioaddr + GMAC_CONTROL); writel(value, ioaddr + GMAC_CONTROL);
/* STBus Bridge Configuration */
/*writel(0xc5608, ioaddr + 0x00007000);*/
/* Freeze MMC counters */ /* Freeze MMC counters */
writel(0x8, ioaddr + GMAC_MMC_CTRL); writel(0x8, ioaddr + GMAC_MMC_CTRL);
/* Mask GMAC interrupts */ /* Mask GMAC interrupts */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册