aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorSascha Hauer <[email protected]>2020-06-16 10:31:39 +0200
committerDavid S. Miller <[email protected]>2020-06-18 19:59:49 -0700
commitb4748553f53f2971e07d2619f13d461daac0f3bb (patch)
tree0bcc2a84e87a32eba33e7f11ab7b932b722d8e2b /include/linux/fpga/fpga-bridge.h
parentef7232da6bcd4294cbb2d424bc35885721570f01 (diff)
net: ethernet: mvneta: Fix Serdes configuration for SoCs without comphy
The MVNETA_SERDES_CFG register is only available on older SoCs like the Armada XP. On newer SoCs like the Armada 38x the fields are moved to comphy. This patch moves the writes to this register next to the comphy initialization, so that depending on the SoC either comphy or MVNETA_SERDES_CFG is configured. With this we no longer write to the MVNETA_SERDES_CFG on SoCs where it doesn't exist. Suggested-by: Russell King <[email protected]> Signed-off-by: Sascha Hauer <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions