diff options
author | Mirko Vogt <mirko@openwrt.org> | 2008-12-13 01:54:56 +0000 |
---|---|---|
committer | Mirko Vogt <mirko@openwrt.org> | 2008-12-13 01:54:56 +0000 |
commit | 4eec5435530060db9fa75ee3d363252eb73695e9 (patch) | |
tree | 01f2bf78edb2e3bb1466df9bca72e068632d0e74 /target/linux/s3c24xx/patches-2.6.26/1245-gta01-uart-fifo-trigger-sooner.patch.patch | |
parent | b0f5b5307126b277c44fa71bbd8f105f6702a8c0 (diff) | |
download | upstream-4eec5435530060db9fa75ee3d363252eb73695e9.tar.gz upstream-4eec5435530060db9fa75ee3d363252eb73695e9.tar.bz2 upstream-4eec5435530060db9fa75ee3d363252eb73695e9.zip |
change prefix for kernelpatchbase 2.6.26
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13619 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.26/1245-gta01-uart-fifo-trigger-sooner.patch.patch')
-rwxr-xr-x | target/linux/s3c24xx/patches-2.6.26/1245-gta01-uart-fifo-trigger-sooner.patch.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.26/1245-gta01-uart-fifo-trigger-sooner.patch.patch b/target/linux/s3c24xx/patches-2.6.26/1245-gta01-uart-fifo-trigger-sooner.patch.patch new file mode 100755 index 0000000000..04a3c950ce --- /dev/null +++ b/target/linux/s3c24xx/patches-2.6.26/1245-gta01-uart-fifo-trigger-sooner.patch.patch @@ -0,0 +1,38 @@ +From e669553bac329b9033b201c46e4a8c29e8165d79 Mon Sep 17 00:00:00 2001 +From: Mike Westerhof <mwester@dls.net> +Date: Sun, 10 Aug 2008 09:14:01 +0100 +Subject: [PATCH] gta01-uart-fifo-trigger-sooner.patch + + Set the UART FIFO to trigger earlier on the GTA01 device to minimize + UART overruns from the GSM. + + Signed-off-by: Mike Westerhof <mwester@dls.net> +--- + arch/arm/mach-s3c2410/mach-gta01.c | 4 +++- + 1 files changed, 3 insertions(+), 1 deletions(-) + +diff --git a/arch/arm/mach-s3c2410/mach-gta01.c b/arch/arm/mach-s3c2410/mach-gta01.c +index 9e42df0..4927cd4 100644 +--- a/arch/arm/mach-s3c2410/mach-gta01.c ++++ b/arch/arm/mach-s3c2410/mach-gta01.c +@@ -87,6 +87,8 @@ static struct map_desc gta01_iodesc[] __initdata = { + #define UCON S3C2410_UCON_DEFAULT + #define ULCON S3C2410_LCON_CS8 | S3C2410_LCON_PNONE | S3C2410_LCON_STOPB + #define UFCON S3C2410_UFCON_RXTRIG8 | S3C2410_UFCON_FIFOMODE ++/* UFCON for the gta01 sets the FIFO trigger level at 4, not 8 */ ++#define UFCON_GTA01_PORT0 S3C2410_UFCON_FIFOMODE + + static struct s3c2410_uartcfg gta01_uartcfgs[] = { + [0] = { +@@ -94,7 +96,7 @@ static struct s3c2410_uartcfg gta01_uartcfgs[] = { + .flags = 0, + .ucon = UCON, + .ulcon = ULCON, +- .ufcon = UFCON, ++ .ufcon = UFCON_GTA01_PORT0, + }, + [1] = { + .hwport = 1, +-- +1.5.6.3 + |