[U-Boot] Need help on eTSEC initialization for p2020ds board

Bin Meng bmeng.cn at gmail.com
Mon Jan 5 09:08:31 CET 2015


Hi,

On Mon, Jan 5, 2015 at 1:27 PM, anupamdev <dev.anupam at gmail.com> wrote:
> Hi,
>
> I am trying to understand the uboot code for etsec initialization for
> ethernet on p2020ds board
>
> The function
> int tsec_init(struct eth_device *dev,bd_t bd)
> is a pointer to dev->init in the function tsec_initialize
>
> I need to know from where dev->init is being called so that i could
> initialize and reset he registers
>

Check eth_init() in net/eth.c

> Thanks
> Anupam
>

Regards,
Bin


More information about the U-Boot mailing list