Need help on eTSEC initialization for p2020ds board
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.
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
inttsec_init(struct eth_device *dev,bd_t bd)
is a pointer todev->initin the functiontsec_initializeI need to know from where
dev->initis 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