ARM: kirkwood: remove legacy clk alias for mv643xx_eth
With all boards converted to DT enabled mv643xx_eth we can now remove the clock alias for gbe clocks. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
This commit is contained in:
Родитель
a977e18e4c
Коммит
c0f27f63db
|
@ -60,12 +60,10 @@ static void __init kirkwood_legacy_clk_init(void)
|
||||||
*/
|
*/
|
||||||
clkspec.args[0] = CGC_BIT_GE0;
|
clkspec.args[0] = CGC_BIT_GE0;
|
||||||
clk = of_clk_get_from_provider(&clkspec);
|
clk = of_clk_get_from_provider(&clkspec);
|
||||||
orion_clkdev_add(NULL, "mv643xx_eth_port.0", clk);
|
|
||||||
clk_prepare_enable(clk);
|
clk_prepare_enable(clk);
|
||||||
|
|
||||||
clkspec.args[0] = CGC_BIT_GE1;
|
clkspec.args[0] = CGC_BIT_GE1;
|
||||||
clk = of_clk_get_from_provider(&clkspec);
|
clk = of_clk_get_from_provider(&clkspec);
|
||||||
orion_clkdev_add(NULL, "mv643xx_eth_port.1", clk);
|
|
||||||
clk_prepare_enable(clk);
|
clk_prepare_enable(clk);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче