diff options
author | Marek Vasut <marex@denx.de> | 2016-03-21 13:38:11 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2016-04-10 17:19:48 +0200 |
commit | 5f79d008408dfe46172f46f8532e5ef6b3616067 (patch) | |
tree | eb8b5ee92c58ab1f7f0a35aa7c44f285fbba2fe8 /board/terasic/sockit | |
parent | 43d3fb5c0609a76409e7859a2a5800670c7b5bd2 (diff) | |
download | u-boot-imx-5f79d008408dfe46172f46f8532e5ef6b3616067.zip u-boot-imx-5f79d008408dfe46172f46f8532e5ef6b3616067.tar.gz u-boot-imx-5f79d008408dfe46172f46f8532e5ef6b3616067.tar.bz2 |
arm: socfpga: Handle phy-mode OF property for GMACs
Thus far, the socfpga init code had hard-coded the configuration
of the ethernet PHY interface to RGMII in the ethernet registers
in sysmgr space, so PHYs connected in another modes did not work.
This patch fixes support for configurations where the ethernet PHYs
are connected over MII/GMII/RMII interfaces by parsing the phy-mode
OF property of the GMACs and configuring the ethernet registers in
sysmgr space accordingly.
Signed-off-by: Marek Vasut <marex@denx.de>
Reported-by: Denis Bakhvalov <denis.bakhvalov@nokia.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Diffstat (limited to 'board/terasic/sockit')
0 files changed, 0 insertions, 0 deletions