Skip to content

Commit

Permalink
Removed trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
lucypa committed Mar 11, 2022
1 parent f26bcf1 commit dcb3397
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions libethdrivers/src/plat/imx6/imx6.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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,
Expand Down
8 changes: 4 additions & 4 deletions libethdrivers/src/plat/imx6/uboot/imx_board.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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);
Expand Down

0 comments on commit dcb3397

Please sign in to comment.