I want to study the uboot code about ksz8001LI on the board of mpc8306som, but can't sure where does the ksz8001LI driver code, How can i find it ?
Solved! Go to Solution.
Hello Li Rui,
MPC8306SOM uses UCC QE Ethernet driver, please refer to PHY driver file uec_phy.c(especially uec* funtions) in drivers/qe folder.
Thanks,
Yiping
Hello Li Rui,
It seems that ksz8001 phy driver code is not provided in u-boot drivers/net/phy folder, you need to add micrel phy driver by yourself, please refer to Linux Kernel driver drivers/net/phy/micrel.c, in addition, I attached micrel driver code from the latest SDK 1.7 u-boot, please have a reference.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
There is one question, when uboot run independentely ,we can tftp file , it means the phy is driven correctly, So the code must be in uboot. Am I right?
thank you.
Hello Li Rui,
MPC8306SOM uses UCC QE Ethernet driver, please refer to PHY driver file uec_phy.c(especially uec* funtions) in drivers/qe folder.
Thanks,
Yiping
thank you so much