diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2018-08-17 12:58:51 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2018-09-19 08:59:26 +0200 |
commit | 4b8cb84327a448f16b276769e0ffbc7869d6de4a (patch) | |
tree | 5ffd78ce20819b00712a5d7ba31e35cb80f81dbf /drivers/phy/marvell/comphy_mux.c | |
parent | 2fd4284051e33763e3424cbd7e106e0a75dfd16e (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_mux.c')
-rw-r--r-- | drivers/phy/marvell/comphy_mux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/marvell/comphy_mux.c b/drivers/phy/marvell/comphy_mux.c index 1f757d8e04..c67ba99762 100644 --- a/drivers/phy/marvell/comphy_mux.c +++ b/drivers/phy/marvell/comphy_mux.c @@ -6,7 +6,7 @@ #include <common.h> #include <asm/io.h> -#include "comphy.h" +#include "comphy_core.h" #include "comphy_hpipe.h" /* |