From d4db749fd7871921ff4a6aeb6e9631c641851998 Mon Sep 17 00:00:00 2001 From: kaloz Date: Tue, 9 Feb 2010 00:11:50 +0000 Subject: [pxa]: upgrade to 2.6.32.7, switch to squashfs, remove broken flag git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19562 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../pxa/patches-2.6.21/030-serial-divisor.patch | 29 ---------------------- 1 file changed, 29 deletions(-) delete mode 100644 target/linux/pxa/patches-2.6.21/030-serial-divisor.patch (limited to 'target/linux/pxa/patches-2.6.21/030-serial-divisor.patch') diff --git a/target/linux/pxa/patches-2.6.21/030-serial-divisor.patch b/target/linux/pxa/patches-2.6.21/030-serial-divisor.patch deleted file mode 100644 index 5f9e386d5..000000000 --- a/target/linux/pxa/patches-2.6.21/030-serial-divisor.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- a/drivers/serial/pxa.c -+++ b/drivers/serial/pxa.c -@@ -41,6 +41,7 @@ - #include - #include - #include -+#include - #include - - #include -@@ -577,8 +578,16 @@ static void serial_pxa_config_port(struc - static int - serial_pxa_verify_port(struct uart_port *port, struct serial_struct *ser) - { -- /* we don't want the core code to modify any port params */ -- return -EINVAL; -+ struct uart_pxa_port *up = (struct uart_pxa_port *)port; -+ int ret = 0; -+ -+ if (up->port.uartclk / 16 != ser->baud_base) -+ ret = -EINVAL; -+ else if (((up->port.line & 1) == 0) && ser->baud_base > 230400) /* Max baud rate for STUART and FFUART */ -+ ret = -EINVAL; -+ else if (((up->port.line & 1) != 0) && ser->baud_base > 921600) /* Max baud rate for HWUART and BTUART */ -+ ret = -EINVAL; -+ return ret; - } - - static const char * -- cgit v1.2.3