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!
-----------------------------------------------------------------------------------------------------------------------