diff options
author | Sammy He <r62914@freescale.com> | 2009-12-18 17:06:38 +0800 |
---|---|---|
committer | Sammy He <r62914@freescale.com> | 2009-12-18 17:06:38 +0800 |
commit | 97a1b233ef3d7cb7d01a6d4da06ea61c5e83e35f (patch) | |
tree | 75fdafe4142fa9449b0583daef00125711d627d2 | |
parent | f6afbf15365eec4c2f7702d79920dcf2f47fe48c (diff) | |
download | u-boot-imx-97a1b233ef3d7cb7d01a6d4da06ea61c5e83e35f.zip u-boot-imx-97a1b233ef3d7cb7d01a6d4da06ea61c5e83e35f.tar.gz u-boot-imx-97a1b233ef3d7cb7d01a6d4da06ea61c5e83e35f.tar.bz2 |
ENGR00119486 MX25: Improve Lan9217 ethernet transfer speed
Speed is too slow on MX25, remove udelay in cspi driver
Signed-off-by: Sammy He <r62914@freescale.com>
-rw-r--r-- | drivers/spi/imx_cspi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/spi/imx_cspi.c b/drivers/spi/imx_cspi.c index 51238eb..a4a3049 100644 --- a/drivers/spi/imx_cspi.c +++ b/drivers/spi/imx_cspi.c @@ -227,9 +227,7 @@ int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, while ((val-- > 0) && (((reg = readl(dev->base + SPI_STAT_REG)) & SPI_INT_STAT_TC) == - 0)) { - udelay(100); - } + 0)); /* clear the TC bit */ writel(reg | SPI_INT_STAT_TC, dev->base + SPI_STAT_REG); |