summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Jiejing <jiejing.zhang@freescale.com>2011-09-23 11:05:04 +0800
committerAndy Voltz <andy.voltz@timesys.com>2012-03-09 11:26:43 -0500
commit9603ef736393c967eb0a6e35df341517d1e51c63 (patch)
tree9c52576f82c9415f15684d5074c0d2588f37c44b
parent691c08adeed64d5153937a0e31aaf4c251924471 (diff)
ENGR00157473 MX5X: UART: disable UART2 DMA to make GPS work.
After enable DMA, GPS will keep report these DMA error: UART: DMA_ERROR: sr1:2010 sr2:508b UART: DMA_ERROR: sr1:2050 sr2:508a UART: DMA_ERROR: sr1:2050 sr2:508b UART: DMA_ERROR: sr1:10 sr2:1083 UART: DMA_ERROR: sr1:50 sr2:1082 UART: DMA_ERROR: sr1:2010 sr2:508b UART: DMA_ERROR: sr1:2050 sr2:508a UART: DMA_ERROR: sr1:2010 sr2:508b UART: DMA_ERROR: sr1:2010 sr2:508b UART: DMA_ERROR: sr1:2010 sr2:508b UART: DMA_ERROR: sr1:50 sr2:1083 Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com> (cherry picked from commit ddaf091fd3f5fae56b3c83f5cf59ee4f189f0a40)
-rw-r--r--arch/arm/mach-mx5/serial.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx5/serial.h b/arch/arm/mach-mx5/serial.h
index 6ed55da14d6b..b142fdbcd8e1 100644
--- a/arch/arm/mach-mx5/serial.h
+++ b/arch/arm/mach-mx5/serial.h
@@ -45,7 +45,7 @@
#define UART1_DMA_ENABLE 0
/* UART 2 configuration */
#define UART2_UCR4_CTSTL -1
-#define UART2_DMA_ENABLE 1
+#define UART2_DMA_ENABLE 0
#define UART2_DMA_RXBUFSIZE 512
#define UART2_UFCR_RXTL 16
#define UART2_UFCR_TXTL 16