summaryrefslogtreecommitdiff
path: root/include/mvebu
diff options
context:
space:
mode:
authorIgal Liberman <igall@marvell.com>2021-03-23 13:57:57 +0300
committerStefan Roese <sr@denx.de>2021-04-29 08:45:24 +0300
commite49cdbe10b082980029b8e215842be4fbbd13f5f (patch)
tree7caba88aef484f1eaf277acfdf0c098b440ee8f6 /include/mvebu
parent7b27e608f8f75946c896a63db3528c05941cc808 (diff)
downloadu-boot-e49cdbe10b082980029b8e215842be4fbbd13f5f.tar.xz
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')
-rw-r--r--include/mvebu/comphy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mvebu/comphy.h b/include/mvebu/comphy.h
index cde7a022af..4d1b70393b 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_ */
-