diff options
author | Pali Rohár <pali@kernel.org> | 2022-01-18 10:33:20 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2022-01-20 14:46:03 +0100 |
commit | 2928d2cd502a73eca2773f9ce3d5d96daca72788 (patch) | |
tree | 51dd3deb4effe20525bb8049b02c7cf9bcaa9f9b /include | |
parent | f33d67647f8ac1fdb940865053348176d9afe20b (diff) | |
download | u-boot-2928d2cd502a73eca2773f9ce3d5d96daca72788.zip u-boot-2928d2cd502a73eca2773f9ce3d5d96daca72788.tar.gz u-boot-2928d2cd502a73eca2773f9ce3d5d96daca72788.tar.bz2 |
phy: marvell: Remove unused function comphy_update_map()
This weak function is not used anymore, so completely remove it.
Private struct comphy_map is not used by any board code anymore, so move it
into private driver header file comphy_core.h.
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/mvebu/comphy.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/mvebu/comphy.h b/include/mvebu/comphy.h index 4d1b703..1443157 100644 --- a/include/mvebu/comphy.h +++ b/include/mvebu/comphy.h @@ -6,17 +6,6 @@ #ifndef _MVEBU_COMPHY_H_ #define _MVEBU_COMPHY_H_ -#include <dt-bindings/comphy/comphy_data.h> - -struct comphy_map { - u32 type; - u32 speed; - u32 invert; - bool clk_src; - 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_ */ |