]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: socfpga: board: Repair Micrel PHY tuning
authorPavel Machek <pavel@denx.de>
Thu, 11 Dec 2014 17:06:31 +0000 (18:06 +0100)
committerMarek Vasut <marex@denx.de>
Tue, 16 Dec 2014 14:32:14 +0000 (15:32 +0100)
commit065496d1b5304a6a67b366b613c3504aab2e2dbd
tree08b5ddecbeef30db3b66db7546e5ddc533373cfc
parentb9b5cf0ea3c5c141f31cc0c4c8edebbfd9ff5866
arm: socfpga: board: Repair Micrel PHY tuning

Add proper error checking into the PHY tuning patch. Make the PHY tunning only
happen in case the KSZ9021 PHY is enabled in config. Call the config callback
after the tuning finished.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@opensource.altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Tom Rini <trini@ti.com>
Cc: Pavel Machek <pavel@denx.de>
board/altera/socfpga/socfpga_cyclone5.c