]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/mips/nxp/pnx8550/common/setup.c
[MIPS] kgdb: Remove existing implementation
[linux-2.6-omap-h63xx.git] / arch / mips / nxp / pnx8550 / common / setup.c
index 92d764c977014da47ddaf72813dbd67344eef478..2aed50fef10ff8b800a58c8cdc0551d654b8fbf8 100644 (file)
@@ -47,7 +47,6 @@ extern void pnx8550_machine_halt(void);
 extern void pnx8550_machine_power_off(void);
 extern struct resource ioport_resource;
 extern struct resource iomem_resource;
-extern void rs_kgdb_hook(int tty_no);
 extern char *prom_getcmdline(void);
 
 struct resource standard_io_resources[] = {
@@ -142,16 +141,5 @@ void __init plat_mem_setup(void)
                ip3106_baud(UART_BASE, pnx8550_console_port) = 5;
        }
 
-#ifdef CONFIG_KGDB
-       argptr = prom_getcmdline();
-       if ((argptr = strstr(argptr, "kgdb=ttyS")) != NULL) {
-               int line;
-               argptr += strlen("kgdb=ttyS");
-               line = *argptr == '0' ? 0 : 1;
-               rs_kgdb_hook(line);
-               pr_info("KGDB: Using ttyS%i for session, "
-                       "please connect your debugger\n", line ? 1 : 0);
-       }
-#endif
        return;
 }