Skip to content

Commit 4c859c8

Browse files
committed
Removed trailing whitespace
Signed-off-by: Lucy <[email protected]>
1 parent 41be310 commit 4c859c8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

libethdrivers/src/plat/imx6/imx6.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ static void complete_tx(imx6_eth_driver_t *dev)
408408
* every access happens as stated in the code.
409409
*/
410410
volatile struct descriptor *d = &(ring->descr[head]);
411-
411+
412412
/* If this buffer was not sent, we can't release any buffer. */
413413
if (d->stat & TXD_READY) {
414414
assert(dev->enet);
@@ -843,7 +843,7 @@ static int allocate_irq_callback(ps_irq_t irq, unsigned curr_num,
843843
{
844844
assert(token);
845845
imx6_eth_driver_t *dev = (imx6_eth_driver_t *)token;
846-
846+
847847
dev->irq_id = ps_irq_register(
848848
&(dev->eth_drv.io_ops.irq_ops),
849849
irq,

libethdrivers/src/plat/imx6/uboot/imx_board.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,11 @@ int setup_iomux_enet(ps_io_ops_t *io_ops)
165165

166166
#elif defined(CONFIG_PLAT_IMX8MM_EVK)
167167

168-
/* Does PHY need to go into reset before this? */
169-
/* Pad configuration below from device tree on u-boot */
168+
/* Does PHY need to go into reset before this? */
169+
/* Pad configuration below from device tree on u-boot */
170170
IMX_IOMUX_V3_SETUP_MULTIPLE_PADS(
171171
base,
172-
IMX8MM_PAD_SPDIF_TX_GPIO5_IO3 | MUX_PAD_CTRL(0x19),
172+
IMX8MM_PAD_SPDIF_TX_GPIO5_IO3 | MUX_PAD_CTRL(0x19),
173173
IMX8MM_PAD_SAI3_MCLK_GPIO5_IO2 | MUX_PAD_CTRL(0x19),
174174
IMX8MM_PAD_ENET_MDC_ENET1_MDC | MUX_PAD_CTRL(0x3),
175175
IMX8MM_PAD_ENET_MDIO_ENET1_MDIO | MUX_PAD_CTRL(0x3),
@@ -185,7 +185,7 @@ int setup_iomux_enet(ps_io_ops_t *io_ops)
185185
IMX8MM_PAD_ENET_RXC_ENET1_RGMII_RXC | MUX_PAD_CTRL(0x91),
186186
IMX8MM_PAD_ENET_RX_CTL_ENET1_RGMII_RX_CTL | MUX_PAD_CTRL(0x91),
187187
IMX8MM_PAD_ENET_TX_CTL_ENET1_RGMII_TX_CTL | MUX_PAD_CTRL(0x1f),
188-
IMX8MM_PAD_GPIO1_IO09_GPIO1_IO9 | MUX_PAD_CTRL(0x19) // ENET1_1588_EVENT0_OUT
188+
IMX8MM_PAD_GPIO1_IO09_GPIO1_IO9 | MUX_PAD_CTRL(0x19) // ENET1_1588_EVENT0_OUT
189189
);
190190
gpio_direction_output(IMX_GPIO_NR(1, 9), 0, io_ops);
191191
udelay(500);

0 commit comments

Comments
 (0)