1 From f7702086585465f6ccaa33ae815535e8ff10f025 Mon Sep 17 00:00:00 2001
2 From: Zhang Jiejing <jiejing.zhang@freescale.com>
3 Date: Fri, 23 Sep 2011 11:05:04 +0800
4 Subject: [PATCH] ENGR00157473 MX5X: UART: disable UART2 DMA to make GPS work.
6 After enable DMA, GPS will keep report these DMA error:
8 UART: DMA_ERROR: sr1:2010 sr2:508b
9 UART: DMA_ERROR: sr1:2050 sr2:508a
10 UART: DMA_ERROR: sr1:2050 sr2:508b
11 UART: DMA_ERROR: sr1:10 sr2:1083
12 UART: DMA_ERROR: sr1:50 sr2:1082
13 UART: DMA_ERROR: sr1:2010 sr2:508b
14 UART: DMA_ERROR: sr1:2050 sr2:508a
15 UART: DMA_ERROR: sr1:2010 sr2:508b
16 UART: DMA_ERROR: sr1:2010 sr2:508b
17 UART: DMA_ERROR: sr1:2010 sr2:508b
18 UART: DMA_ERROR: sr1:50 sr2:1083
20 Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
21 (cherry picked from commit ddaf091fd3f5fae56b3c83f5cf59ee4f189f0a40)
23 arch/arm/mach-mx5/serial.h | 2 +-
24 1 files changed, 1 insertions(+), 1 deletions(-)
26 diff --git a/arch/arm/mach-mx5/serial.h b/arch/arm/mach-mx5/serial.h
27 index 6ed55da..b142fdb 100644
28 --- a/arch/arm/mach-mx5/serial.h
29 +++ b/arch/arm/mach-mx5/serial.h
31 #define UART1_DMA_ENABLE 0
32 /* UART 2 configuration */
33 #define UART2_UCR4_CTSTL -1
34 -#define UART2_DMA_ENABLE 1
35 +#define UART2_DMA_ENABLE 0
36 #define UART2_DMA_RXBUFSIZE 512
37 #define UART2_UFCR_RXTL 16
38 #define UART2_UFCR_TXTL 16