summaryrefslogtreecommitdiff
path: root/taia.h
AgeCommit message (Expand)AuthorFilesLines
2013-06-10taia: minor: small cleanup and commentDaniel Borkmann1-1/+4
2013-06-04taia: move taia evaluation out of curve.Daniel Borkmann1-0/+7
2013-06-04curve: move taia related functions into own headerDaniel Borkmann1-0/+159
>2017-01-09 14:54:29 -0500 commitf573c0b9c4e02691cf87736bd0824fd37ec02e65 (patch) treea8fc2c2ca67c0fa7e2c26fd9018535fabe935a2f parentb4b7b772e8b018286482d8d1fba7804ceac56a64 (diff)
stmmac: move stmmac_clk, pclk, clk_ptp_ref and stmmac_rst to platform structure
This patch moves stmmac_clk, pclk, clk_ptp_ref and stmmac_rst to the plat_stmmacenet_data structure. It also moves these platform variables initialization to stmmac_platform. This was done for two reasons: a) If PCI is used, platform related code is being executed in stmmac_main resulting in warnings that have no sense and conceptually was not right b) stmmac as a synopsys reference ethernet driver stack will be hosting more and more drivers to its structure like synopsys/dwc_eth_qos.c. These drivers have their own DT bindings that are not compatible with stmmac's. One of the most important are the clock names, and so they need to be parsed in the glue logic and initialized there, and that is the main reason why the clocks were passed to the platform structure. Signed-off-by: Joao Pinto <jpinto@synopsys.com> Tested-by: Niklas Cassel <niklas.cassel@axis.com> Reviewed-by: Lars Persson <larper@axis.com> Acked-by: Alexandre TORGUE <alexandre.torgue@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat