summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2017-12-29 14:20:15 +0800
committerPeng Fan <peng.fan@nxp.com>2017-12-29 15:17:35 +0800
commit81223f7c281ba19a8acabc28cf2cd405bbb75365 (patch)
tree2e5bd5e2002b568aa2d7ee00e710eccc9a7636df /board
parent13a9fa8e8f215ed6aee1fde0e9f8eaaf9455a194 (diff)
MLK-17303-2 imx: 8qm: Fix ENET1 build
Fix ENET1 build and enablement. Signed-off-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit b799894c4e56a4afee0d7c8041bd49d718d0bd35)
Diffstat (limited to 'board')
-rw-r--r--board/freescale/imx8qm_mek/imx8qm_mek.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/board/freescale/imx8qm_mek/imx8qm_mek.c b/board/freescale/imx8qm_mek/imx8qm_mek.c
index a51827b5877..1d5648b2a3c 100644
--- a/board/freescale/imx8qm_mek/imx8qm_mek.c
+++ b/board/freescale/imx8qm_mek/imx8qm_mek.c
@@ -163,24 +163,6 @@ int board_eth_init(bd_t *bis)
int board_phy_config(struct phy_device *phydev)
{
-#ifdef CONFIG_FEC_ENABLE_MAX7322
- uint8_t value;
-
- /* This is needed to drive the pads to 1.8V instead of 1.5V */
- i2c_set_bus_num(CONFIG_MAX7322_I2C_BUS);
-
- if (!i2c_probe(CONFIG_MAX7322_I2C_ADDR)) {
- /* Write 0x1 to enable O0 output, this device has no addr */
- /* hence addr length is 0 */
- value = 0x1;
- if (i2c_write(CONFIG_MAX7322_I2C_ADDR, 0, 0, &value, 1))
- printf("MAX7322 write failed\n");
- } else {
- printf("MAX7322 Not found\n");
- }
- mdelay(1);
-#endif
-
phy_write(phydev, MDIO_DEVAD_NONE, 0x1d, 0x1f);
phy_write(phydev, MDIO_DEVAD_NONE, 0x1e, 0x8);