Re: [PATCH] am35xx-emac: move generic EMAC init to separate file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Ilya Yanok <yanok@xxxxxxxxxxx> [111116 16:01]:
> AM35xx SoCs include DaVinci EMAC IP. Initialization code in
> board-am3517evm.c is pretty board independent and will work for any
> AM35xx based board so move this code to it's own file to be reused by
> other boards.

Should this be just called emac-common.c? Or is it so am35xx specific
that it won't work with others?
 
> +	clk_add_alias(NULL, dev_name(&am35xx_emac_device.dev),
> +		      "emac_clk", &am35xx_emac_device.dev);
> +	clk_add_alias(NULL, dev_name(&am35xx_mdio_device.dev),
> +		      "phy_clk", &am35xx_emac_device.dev);

Hmm after moving the code and should be a separate patch, don't
we already have these clock aliases in cloc3xxx_data.c?

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux