diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2011-09-14 12:01:35 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-10-03 08:52:15 -0500 |
commit | 69a852425883a4abd8dc726da34e3149a08ee95d (patch) | |
tree | d919f003c01ee119e4938d67b15a3cdb9f0c407c /include/fm_eth.h | |
parent | 2b3a1cdd9ed14441ae91845851aaf91adddbafc0 (diff) | |
download | u-boot-imx-69a852425883a4abd8dc726da34e3149a08ee95d.zip u-boot-imx-69a852425883a4abd8dc726da34e3149a08ee95d.tar.gz u-boot-imx-69a852425883a4abd8dc726da34e3149a08ee95d.tar.bz2 |
fm-eth: Add ability for board code to disable a port
The SoC configuration may have more ports enabled than a given board
actually can utilize. Add a routinue that allows the board code to
disable a port that it knows isn't being used.
fm_disable_port() needs to be called before cpu_eth_init().
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/fm_eth.h')
-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 2ca584a..c7c6882 100644 --- a/include/fm_eth.h +++ b/include/fm_eth.h @@ -110,5 +110,6 @@ void fdt_fixup_fman_ethernet(void *fdt); phy_interface_t fm_info_get_enet_if(enum fm_port port); void fm_info_set_phy_address(enum fm_port port, int address); void fm_info_set_mdio(enum fm_port port, struct mii_dev *bus); +void fm_disable_port(enum fm_port port); #endif |