diff options
author | Grzegorz Jaszczyk <jaz@semihalf.com> | 2018-08-29 16:07:20 +0200 |
---|---|---|
committer | Kostya Porotchkin <kostap@marvell.com> | 2018-09-03 16:40:56 +0300 |
commit | d181d204c110b017a0ef7a657137eaf3f1c357bb (patch) | |
tree | 88676ae81678620195c6d98e84afde9b407e6cb6 | |
parent | 9e22043366bbad307e58e240c77a8d31a814702a (diff) |
mvebu: cp110: remove rx training done check from sata init
The rx training is related only to SFI/XFI mode, this check was added
in sata power on by mistake.
Change-Id: I4a19def2a993d30e3ba39b807b0ee5d2344f0469
Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/59672
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
-rw-r--r-- | drivers/marvell/comphy/phy-comphy-cp110.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/marvell/comphy/phy-comphy-cp110.c b/drivers/marvell/comphy/phy-comphy-cp110.c index a30ac8dc..e7548b6b 100644 --- a/drivers/marvell/comphy/phy-comphy-cp110.c +++ b/drivers/marvell/comphy/phy-comphy-cp110.c @@ -447,12 +447,6 @@ static int mvebu_cp110_comphy_sata_power_on(uint64_t comphy_base, mvebu_cp110_get_ap_and_cp_nr(&ap_nr, &cp_nr, comphy_base); - if (rx_trainng_done[ap_nr][cp_nr][comphy_index]) { - debug("Skipping %s for comphy[%d][%d][%d], due to rx training\n", - __func__, ap_nr, cp_nr, comphy_index); - return 0; - } - const struct sata_params *sata_static_values = &sata_static_values_tab[ap_nr][cp_nr][comphy_index]; |