summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSahin Okur2019-07-02 10:33:04 -0500
committerTinku Mannan2019-08-06 06:52:14 -0500
commit1976a8779e76adf57ddaf6c02be5f4f7e0c258c1 (patch)
tree5030e1802ebc96b977c604ee4c5866de49747b5b
parent72cbee83c84a97417b309f19e3795754f7def379 (diff)
downloademac-lld-1976a8779e76adf57ddaf6c02be5f4f7e0c258c1.tar.gz
emac-lld-1976a8779e76adf57ddaf6c02be5f4f7e0c258c1.tar.xz
emac-lld-1976a8779e76adf57ddaf6c02be5f4f7e0c258c1.zip
implementing RMIISpeedSelect function
-rw-r--r--soc/omapl138/emac_soc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/soc/omapl138/emac_soc.c b/soc/omapl138/emac_soc.c
index b1ed5f1..1d55fcc 100644
--- a/soc/omapl138/emac_soc.c
+++ b/soc/omapl138/emac_soc.c
@@ -138,5 +138,9 @@ int32_t EMAC_socSetInitCfg(uint32_t port_num, const EMAC_HwAttrs_V0 *cfg)
138 */ 138 */
139uint32_t EMAC_RMIISpeedSelect(uint32_t tmpval) 139uint32_t EMAC_RMIISpeedSelect(uint32_t tmpval)
140{ 140{
141 if (0 != (EMACInitCfg[0].modeFlags & EMAC_CONFIG_MODEFLG_RMIISPEED))
142 {
143 CSL_FINST(tmpval, EMAC_MACCONTROL_RMIISPEED, 100MBIT);
144 }
141 return tmpval; 145 return tmpval;
142} 146}