phy: marvell: cp110: let the firmware perform training for XFI
authorGrzegorz Jaszczyk <jaz@semihalf.com>
Tue, 3 Apr 2018 14:59:12 +0000 (16:59 +0200)
committerStefan Roese <sr@denx.de>
Thu, 29 Apr 2021 05:45:24 +0000 (07:45 +0200)
commit2e28b597fa4ce409cf0e4ed9f3479838930a8e6c
treeb5b2a1be03627b845df9323a593be568fd8f504c
parentf635c3b3a2827a9de3ecceaad6e5dfa595580ac6
phy: marvell: cp110: let the firmware perform training for XFI

Replace the XFI training with appropriate SMC call, so the firmware will
perform exact initialization.

Update Stefan 2021-03-23:
Move comphy_smc() function to an earlier place - necessary for the
mainline merge.

Change-Id: I789b130b05529dc80dadcf66aef407d93595b762
Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Igal Liberman <igall@marvell.com>
drivers/phy/marvell/comphy_cp110.c