Dear Bhupesh,

In message 
<a1a6ea40f8503d48bb002b42bd65974e0a0c9...@039-sn2mpn1-012.039d.mgd.msft.net> 
you wrote:
> 
> I am trying to add support of a Vitesse L2 switch in u-boot (in unmanaged 
> configuration).
> I was analyzing whether advanced features like flow control, link-aggregation 
> etc are
> required to be supported for a L2 switch  working in a u-boot bootloader 
> level.
...
> But, I am not sure about the design approaches used to support 
> previous switch modules in u-boot.

Things depend _heavily_ on your specific project requiremnts.  IF all
you need is a working network port then you can probably do with just
the default initialization, determined by the pin strapping (i. e.
your hardware guys should just to The Right Thing (TM) ).

However, if you run a device in a security sensitive environment, it
may be strictly forbidden to run the switch even for very short
periods in some "open" configuration that would - for example - allow
access from the "outside" to some (normally) protected inner networks.


There is at least one board configuration in mainline which performs
a full switch initialization in a time-optimized manner (by just down-
loading a register dump to the switch); see enbw_cmc_config_switch()
in board/enbw/enbw_cmc/enbw_cmc.c


Normally, you should probably leave the switch just turned off /
disabled and wait until proper application code in Linux can perform
the needed initalizations.


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
CAUTION:  The Mass of This Product Contains the Energy Equivalent  of
85 Million Tons of TNT per Net Ounce of Weight.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to