diff --git a/libethdrivers/src/plat/imx6/imx6.c b/libethdrivers/src/plat/imx6/imx6.c index a4fe0b02b..88d5353db 100644 --- a/libethdrivers/src/plat/imx6/imx6.c +++ b/libethdrivers/src/plat/imx6/imx6.c @@ -408,7 +408,7 @@ static void complete_tx(imx6_eth_driver_t *dev) * every access happens as stated in the code. */ volatile struct descriptor *d = &(ring->descr[head]); - + /* If this buffer was not sent, we can't release any buffer. */ if (d->stat & TXD_READY) { assert(dev->enet); @@ -843,7 +843,7 @@ static int allocate_irq_callback(ps_irq_t irq, unsigned curr_num, { assert(token); imx6_eth_driver_t *dev = (imx6_eth_driver_t *)token; - + dev->irq_id = ps_irq_register( &(dev->eth_drv.io_ops.irq_ops), irq, diff --git a/libethdrivers/src/plat/imx6/uboot/imx_board.c b/libethdrivers/src/plat/imx6/uboot/imx_board.c index 171cf650c..a66958941 100644 --- a/libethdrivers/src/plat/imx6/uboot/imx_board.c +++ b/libethdrivers/src/plat/imx6/uboot/imx_board.c @@ -165,11 +165,11 @@ int setup_iomux_enet(ps_io_ops_t *io_ops) #elif defined(CONFIG_PLAT_IMX8MM_EVK) - /* Does PHY need to go into reset before this? */ - /* Pad configuration below from device tree on u-boot */ + /* Does PHY need to go into reset before this? */ + /* Pad configuration below from device tree on u-boot */ IMX_IOMUX_V3_SETUP_MULTIPLE_PADS( base, - IMX8MM_PAD_SPDIF_TX_GPIO5_IO3 | MUX_PAD_CTRL(0x19), + IMX8MM_PAD_SPDIF_TX_GPIO5_IO3 | MUX_PAD_CTRL(0x19), IMX8MM_PAD_SAI3_MCLK_GPIO5_IO2 | MUX_PAD_CTRL(0x19), IMX8MM_PAD_ENET_MDC_ENET1_MDC | MUX_PAD_CTRL(0x3), IMX8MM_PAD_ENET_MDIO_ENET1_MDIO | MUX_PAD_CTRL(0x3), @@ -185,7 +185,7 @@ int setup_iomux_enet(ps_io_ops_t *io_ops) IMX8MM_PAD_ENET_RXC_ENET1_RGMII_RXC | MUX_PAD_CTRL(0x91), IMX8MM_PAD_ENET_RX_CTL_ENET1_RGMII_RX_CTL | MUX_PAD_CTRL(0x91), IMX8MM_PAD_ENET_TX_CTL_ENET1_RGMII_TX_CTL | MUX_PAD_CTRL(0x1f), - IMX8MM_PAD_GPIO1_IO09_GPIO1_IO9 | MUX_PAD_CTRL(0x19) // ENET1_1588_EVENT0_OUT + IMX8MM_PAD_GPIO1_IO09_GPIO1_IO9 | MUX_PAD_CTRL(0x19) // ENET1_1588_EVENT0_OUT ); gpio_direction_output(IMX_GPIO_NR(1, 9), 0, io_ops); udelay(500);