summaryrefslogtreecommitdiff
path: root/target/ag241/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-07 16:08:59 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-07 16:08:59 +0100
commitd6940ecea3ab3e03e4a8623273d4f4fe373f445d (patch)
treee2b31eb7b4c6d77cf542405eec66dc8122ac4509 /target/ag241/patches
parent43c90eb66af7dab30f7826159688f15f641f95ad (diff)
fix ag241 make allmodconfig issues
Diffstat (limited to 'target/ag241/patches')
-rw-r--r--target/ag241/patches/ar7.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/ag241/patches/ar7.patch b/target/ag241/patches/ar7.patch
index 8b28e854c..ef48019d4 100644
--- a/target/ag241/patches/ar7.patch
+++ b/target/ag241/patches/ar7.patch
@@ -149,3 +149,21 @@ diff -Nur linux-2.6.32.orig/drivers/serial/8250.c linux-2.6.32/drivers/serial/82
serial_out(up, UART_TX, ch);
}
+diff -Nur linux-2.6.32.orig/arch/mips/ar7/prom.c linux-2.6.32/arch/mips/ar7/prom.c
+--- linux-2.6.32.orig/arch/mips/ar7/prom.c 2009-12-03 04:51:21.000000000 +0100
++++ linux-2.6.32/arch/mips/ar7/prom.c 2010-01-05 20:39:11.000000000 +0100
+@@ -219,14 +219,6 @@
+ if (strstr(prom_getcmdline(), "console="))
+ return;
+
+-#ifdef CONFIG_KGDB
+- if (!strstr(prom_getcmdline(), "nokgdb")) {
+- strcat(prom_getcmdline(), " console=kgdb");
+- kgdb_enabled = 1;
+- return;
+- }
+-#endif
+-
+ s = prom_getenv("modetty0");
+ if (s) {
+ baud = simple_strtoul(s, &p, 10);