]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - patches/0063-ENGR00119486-MX25-Improve-Lan9217-ethernet-transfer.patch
imported Ka-Ro specific additions to U-Boot 2009.08 for TX28
[karo-tx-uboot.git] / patches / 0063-ENGR00119486-MX25-Improve-Lan9217-ethernet-transfer.patch
1 From 97a1b233ef3d7cb7d01a6d4da06ea61c5e83e35f Mon Sep 17 00:00:00 2001
2 From: Sammy He <r62914@freescale.com>
3 Date: Fri, 18 Dec 2009 17:06:38 +0800
4 Subject: [PATCH] ENGR00119486 MX25: Improve Lan9217 ethernet transfer speed
5
6 Speed is too slow on MX25, remove udelay in cspi driver
7
8 Signed-off-by: Sammy He <r62914@freescale.com>
9 ---
10  drivers/spi/imx_cspi.c |    4 +---
11  1 files changed, 1 insertions(+), 3 deletions(-)
12
13 diff --git a/drivers/spi/imx_cspi.c b/drivers/spi/imx_cspi.c
14 index 51238eb..a4a3049 100644
15 --- a/drivers/spi/imx_cspi.c
16 +++ b/drivers/spi/imx_cspi.c
17 @@ -227,9 +227,7 @@ int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout,
18                 while ((val-- > 0) &&
19                        (((reg =
20                           readl(dev->base + SPI_STAT_REG)) & SPI_INT_STAT_TC) ==
21 -                       0)) {
22 -                       udelay(100);
23 -               }
24 +                       0));
25  
26                 /* clear the TC bit */
27                 writel(reg | SPI_INT_STAT_TC, dev->base + SPI_STAT_REG);
28 -- 
29 1.5.4.4
30