[U-Boot] [PATCH v2] net: Add fixed phy driver
Christian Gmeiner
christian.gmeiner at gmail.com
Tue Dec 10 11:21:57 CET 2013
Hi Joe
> On Mon, Sep 2, 2013 at 8:16 PM, Andy Fleming <afleming at gmail.com> wrote:
>> On Mon, Sep 2, 2013 at 7:30 AM, Christian Gmeiner <
>> christian.gmeiner at gmail.com> wrote:
>>
>>> This patch is needed if the MAC is directly connected to a ethernet switch.
>>> In my case the FEC MAC is connected to a Micrel KSZ8895. All I need to to
>>> is configure my fixed phy/link like:
>>>
>>> #define IMX_FEC_BASE ENET_BASE_ADDR
>>> #define CONFIG_FEC_XCV_TYPE MII100
>>> #define CONFIG_ETHPRIME "FEC"
>>> #define CONFIG_FEC_MXC_PHYADDR 0x5
>>> #define CONFIG_PHYLIB
>>> #define CONFIG_PHY_FIXED
>>> #define CONFIG_PHY_FIXED_SPEED SPEED_100
>>> #define CONFIG_PHY_FIXED_DUPLEX DUPLEX_FULL
>>>
>>> Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
>>>
>>
>> This doesn't work very well if you ever have more than one switch, or need
>> more than one fixed link for some other reason. It needs to be possible to
>> instantiate the fixed PHY interface(s) at runtime, IMO.
>
> Do you plan to implement this in a more flexible way?
>
I am working on the final version of u-boot for two devices. If i
still need it to get networking
running I will send a patch.
greets
--
Christian Gmeiner, MSc
More information about the U-Boot
mailing list