diff options
author | Valentin Longchamp <valentin.longchamp@keymile.com> | 2013-10-18 11:47:21 +0200 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2013-10-24 09:35:59 -0700 |
commit | f51d3b71d4d3eacfbbc6e2cf3fa197774df5f638 (patch) | |
tree | 7fba1071d269735aab40c8dcab7027f2811b09af /include | |
parent | 7e157b0ade85282a76db27cbf0ab8a2370d4d7b6 (diff) | |
download | u-boot-imx-f51d3b71d4d3eacfbbc6e2cf3fa197774df5f638.zip u-boot-imx-f51d3b71d4d3eacfbbc6e2cf3fa197774df5f638.tar.gz u-boot-imx-f51d3b71d4d3eacfbbc6e2cf3fa197774df5f638.tar.bz2 |
net/fman: add a fm_enable_port function
This can be useful if one wants to disable an interface in u-boot
because u-boot should not manage it but then later reenable it for FDT
fixing or if the kernel uses this interface.
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
[York Sun: fix conflict in fm_eth.h]
Acked-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/fm_eth.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fm_eth.h b/include/fm_eth.h index 114bb8c..5a4fb70 100644 --- a/include/fm_eth.h +++ b/include/fm_eth.h @@ -149,6 +149,7 @@ void fm_info_set_phy_address(enum fm_port port, int address); int fm_info_get_phy_address(enum fm_port port); void fm_info_set_mdio(enum fm_port port, struct mii_dev *bus); void fm_disable_port(enum fm_port port); +void fm_enable_port(enum fm_port port); void set_sgmii_phy(struct mii_dev *bus, enum fm_port base_port, unsigned int port_num, int phy_base_addr); int is_qsgmii_riser_card(struct mii_dev *bus, int phy_base_addr, |