]> git.baikalelectronics.ru Git - uboot.git/commit
phy: marvell: Support changing SERDES map in board file
authorMarek BehĂșn <marek.behun@nic.cz>
Fri, 17 Aug 2018 10:58:51 +0000 (12:58 +0200)
committerStefan Roese <sr@denx.de>
Wed, 19 Sep 2018 06:59:26 +0000 (08:59 +0200)
commit3587265dec68b27b7c51e961bc7b38896eda74d3
tree5ffd78ce20819b00712a5d7ba31e35cb80f81dbf
parent14df0dbeca3b3ce348e7405135ea6f48f6c4a274
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>
MAINTAINERS
drivers/phy/marvell/comphy.h [deleted file]
drivers/phy/marvell/comphy_a3700.h
drivers/phy/marvell/comphy_core.c
drivers/phy/marvell/comphy_core.h [new file with mode: 0644]
drivers/phy/marvell/comphy_cp110.c
drivers/phy/marvell/comphy_mux.c
include/mvebu/comphy.h [new file with mode: 0644]