public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Drew Moseley <dmoseley@mvista.com>
To: linux-omap-open-source@linux.omap.com
Subject: Need to call kgdb8250_add_platform_port in omap_serial_init()?
Date: Thu, 11 Oct 2007 10:56:04 -0700	[thread overview]
Message-ID: <470E63B4.40103@mvista.com> (raw)


The patch below calls kgdb8250_add_platform_port() from omap_serial_init().
This is copied from mach-omap/serial.c.  Without this patch kgdbwait
will fail.

Comments?

Drew



Index: linux/arch/arm/mach-omap2/serial.c
===================================================================
--- linux.orig/arch/arm/mach-omap2/serial.c
+++ linux/arch/arm/mach-omap2/serial.c
@@ -162,6 +162,9 @@ void __init omap_serial_init()
 		}

 		omap_serial_reset(p);
+#ifdef CONFIG_KGDB_8250
+		kgdb8250_add_platform_port(i, &serial_platform_data[i]);
+#endif
 	}
 }


-- 
mailto:dmoseley@mvista.com

             reply	other threads:[~2007-10-11 17:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-11 17:56 Drew Moseley [this message]
2007-10-12 20:31 ` Need to call kgdb8250_add_platform_port in omap_serial_init()? Tony Lindgren
2007-10-12 20:58   ` Drew Moseley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=470E63B4.40103@mvista.com \
    --to=dmoseley@mvista.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox