add IXP4xx GPIOLIB support based on Chris' patch
[openwrt.git] / target / linux / s3c24xx / patches-2.6.26 / 1245-gta01-uart-fifo-trigger-sooner.patch.patch
1 From e669553bac329b9033b201c46e4a8c29e8165d79 Mon Sep 17 00:00:00 2001
2 From: Mike Westerhof <mwester@dls.net>
3 Date: Sun, 10 Aug 2008 09:14:01 +0100
4 Subject: [PATCH] gta01-uart-fifo-trigger-sooner.patch
5
6 Set the UART FIFO to trigger earlier on the GTA01 device to minimize
7 UART overruns from the GSM.
8
9 Signed-off-by: Mike Westerhof <mwester@dls.net>
10 ---
11 arch/arm/mach-s3c2410/mach-gta01.c | 4 +++-
12 1 files changed, 3 insertions(+), 1 deletions(-)
13
14 diff --git a/arch/arm/mach-s3c2410/mach-gta01.c b/arch/arm/mach-s3c2410/mach-gta01.c
15 index 9e42df0..4927cd4 100644
16 --- a/arch/arm/mach-s3c2410/mach-gta01.c
17 +++ b/arch/arm/mach-s3c2410/mach-gta01.c
18 @@ -87,6 +87,8 @@ static struct map_desc gta01_iodesc[] __initdata = {
19 #define UCON S3C2410_UCON_DEFAULT
20 #define ULCON S3C2410_LCON_CS8 | S3C2410_LCON_PNONE | S3C2410_LCON_STOPB
21 #define UFCON S3C2410_UFCON_RXTRIG8 | S3C2410_UFCON_FIFOMODE
22 +/* UFCON for the gta01 sets the FIFO trigger level at 4, not 8 */
23 +#define UFCON_GTA01_PORT0 S3C2410_UFCON_FIFOMODE
24
25 static struct s3c2410_uartcfg gta01_uartcfgs[] = {
26 [0] = {
27 @@ -94,7 +96,7 @@ static struct s3c2410_uartcfg gta01_uartcfgs[] = {
28 .flags = 0,
29 .ucon = UCON,
30 .ulcon = ULCON,
31 - .ufcon = UFCON,
32 + .ufcon = UFCON_GTA01_PORT0,
33 },
34 [1] = {
35 .hwport = 1,
36 --
37 1.5.6.3
38
This page took 0.059047 seconds and 5 git commands to generate.