diff options
author | Igal Liberman | 2021-03-23 11:57:57 +0100 |
---|---|---|
committer | Stefan Roese | 2021-04-29 07:45:24 +0200 |
commit | e49cdbe10b082980029b8e215842be4fbbd13f5f (patch) | |
tree | 7caba88aef484f1eaf277acfdf0c098b440ee8f6 /include/mvebu/comphy.h | |
parent | 7b27e608f8f75946c896a63db3528c05941cc808 (diff) |
phy: marvell: add RX training command
This patch adds support for running RX training using new command called
"rx_training"
Usage:
rx_training - rx_training <cp id> <comphy id>
RX training allows to improve link quality (for SFI mode)
by running training sequence between us and the link partner,
this allows to reach better link quality then using static configuration.
Change-Id: I818fe67ccaf19a87af50d4c34a9db7d6802049a5
Signed-off-by: Igal Liberman <igall@marvell.com>
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Diffstat (limited to 'include/mvebu/comphy.h')
-rw-r--r-- | include/mvebu/comphy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mvebu/comphy.h b/include/mvebu/comphy.h index cde7a022af1..4d1b70393b2 100644 --- a/include/mvebu/comphy.h +++ b/include/mvebu/comphy.h @@ -16,7 +16,7 @@ struct comphy_map { bool end_point; }; +int comphy_rx_training(struct udevice *dev, u32 lane); int comphy_update_map(struct comphy_map *serdes_map, int count); #endif /* _MVEBU_COMPHY_H_ */ - |