]> git.dujemihanovic.xyz Git - u-boot.git/commit
wandboard: Simplify the Ethernet PHY configuration
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 5 Jan 2016 19:02:54 +0000 (17:02 -0200)
committerStefano Babic <sbabic@denx.de>
Thu, 7 Jan 2016 16:47:33 +0000 (17:47 +0100)
commit59a6ca54f5db0f3d99ca3bc581ccadc6019e5034
tree8740c4e3f095bc4d1bc6b509899fd7cea9a672fa
parenta307760ab48b428f4c2ac8b5676b29c56eee9f82
wandboard: Simplify the Ethernet PHY configuration

As per the AR8031 datasheet:

"For a reliable power on reset, suggest to keep asserting the reset
low long enough (10ms) to ensure the clock is stable and clock-to-reset
1ms requirement is satisfied."

So do as suggested and also add a 100us delay after deasserting the
reset line to guarantee that the PHY ID can be read correctly and the
Atheros 8031 PHY driver can be loaded automatically.

This results in a simpler code.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
board/wandboard/wandboard.c