diff options
Diffstat (limited to 'arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c')
-rw-r--r-- | arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c b/arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c index f59c88ee9b31..671ab1db2727 100644 --- a/arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c +++ b/arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c | |||
@@ -33,8 +33,6 @@ | |||
33 | 33 | ||
34 | #include <asm/octeon/cvmx-config.h> | 34 | #include <asm/octeon/cvmx-config.h> |
35 | 35 | ||
36 | |||
37 | #include <asm/octeon/cvmx-mdio.h> | ||
38 | #include <asm/octeon/cvmx-pko.h> | 36 | #include <asm/octeon/cvmx-pko.h> |
39 | #include <asm/octeon/cvmx-helper.h> | 37 | #include <asm/octeon/cvmx-helper.h> |
40 | #include <asm/octeon/cvmx-helper-board.h> | 38 | #include <asm/octeon/cvmx-helper-board.h> |
@@ -243,8 +241,7 @@ int __cvmx_helper_rgmii_enable(int interface) | |||
243 | /* enable the ports now */ | 241 | /* enable the ports now */ |
244 | for (port = 0; port < num_ports; port++) { | 242 | for (port = 0; port < num_ports; port++) { |
245 | union cvmx_gmxx_prtx_cfg gmx_cfg; | 243 | union cvmx_gmxx_prtx_cfg gmx_cfg; |
246 | cvmx_helper_link_autoconf(cvmx_helper_get_ipd_port | 244 | |
247 | (interface, port)); | ||
248 | gmx_cfg.u64 = | 245 | gmx_cfg.u64 = |
249 | cvmx_read_csr(CVMX_GMXX_PRTX_CFG(port, interface)); | 246 | cvmx_read_csr(CVMX_GMXX_PRTX_CFG(port, interface)); |
250 | gmx_cfg.s.en = 1; | 247 | gmx_cfg.s.en = 1; |