summaryrefslogtreecommitdiff
path: root/drivers/phy/marvell/comphy_a3700.h
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2018-08-17 12:58:51 +0200
committerStefan Roese <sr@denx.de>2018-09-19 08:59:26 +0200
commit4b8cb84327a448f16b276769e0ffbc7869d6de4a (patch)
tree5ffd78ce20819b00712a5d7ba31e35cb80f81dbf /drivers/phy/marvell/comphy_a3700.h
parent2fd4284051e33763e3424cbd7e106e0a75dfd16e (diff)
phy: marvell: Support changing SERDES map in board file
This adds a weak definition of comphy_update_map to comphy_core, which does nothing. If this function is defined elsewhere, for example in board file, the board file can change some parameters of SERDES configuration. This is needed on Turris Mox, where the SERDES speed on lane 1 has to be set differently when SFP module is connected and when Topaz Switch module is connected. This is a temporary solution. When the comphy driver for armada-3720 will be added to the kernel, the comphy driver in u-boot shall also be updated and this should be done differently then. Signed-off-by: Marek Behun <marek.behun@nic.cz> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/phy/marvell/comphy_a3700.h')
-rw-r--r--drivers/phy/marvell/comphy_a3700.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/marvell/comphy_a3700.h b/drivers/phy/marvell/comphy_a3700.h
index a14767d809..b0941ffb37 100644
--- a/drivers/phy/marvell/comphy_a3700.h
+++ b/drivers/phy/marvell/comphy_a3700.h
@@ -6,7 +6,7 @@
#ifndef _COMPHY_A3700_H_
#define _COMPHY_A3700_H_
-#include "comphy.h"
+#include "comphy_core.h"
#include "comphy_hpipe.h"
#define MVEBU_REG(offs) \