summaryrefslogtreecommitdiff
path: root/board/terasic/sockit/qts/sdram_config.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-03-21 13:38:11 +0100
committerMarek Vasut <marex@denx.de>2016-04-10 17:19:48 +0200
commit5f79d008408dfe46172f46f8532e5ef6b3616067 (patch)
treeeb8b5ee92c58ab1f7f0a35aa7c44f285fbba2fe8 /board/terasic/sockit/qts/sdram_config.h
parent43d3fb5c0609a76409e7859a2a5800670c7b5bd2 (diff)
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/qts/sdram_config.h')
0 files changed, 0 insertions, 0 deletions