[U-Boot] 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-p202... Sent from the U-Boot mailing list archive at Nabble.com.

Hi,
On Mon, Jan 5, 2015 at 1:27 PM, anupamdev dev.anupam@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
participants (2)
-
anupamdev
-
Bin Meng