Skip to contentSkip to conversation

Need help on eTSEC initialization for p2020ds board

U-Boot anupamdev 2 participants 2 messages Jan 5, 2015

lore
Share & tools
lore

anupamdev

author
#0 lore raw

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

Thanks
Anupam

--
View this message in context: http://u-boot.10912.n7.nabble.com/Need-help-on-eTSEC-initialization-for-p2020ds-board-tp200673.html
Sent from the U-Boot mailing list archive at Nabble.com.

#1 lore raw

Hi,

Quoted 5 lines · anupamdev

Hi,

I am trying to understand the uboot code for etsec initialization for ethernet on p2020ds board

Quoted 7 lines

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

Quoted 3 lines

Thanks
Anupam

Regards,
Bin