Hi Christian / Andy,

On Mon, Sep 2, 2013 at 8:16 PM, Andy Fleming <aflem...@gmail.com> wrote:
> On Mon, Sep 2, 2013 at 7:30 AM, Christian Gmeiner <
> christian.gmei...@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.gmei...@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?

Thanks,
-Joe
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to