From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] sh-sci: Extend sh-sci driver with early console V2
Date: Tue, 15 Dec 2009 03:37:43 +0000 [thread overview]
Message-ID: <20091215033743.GB7395@linux-sh.org> (raw)
In-Reply-To: <20091214102442.13038.43809.sendpatchset@rxone.opensource.se>
On Mon, Dec 14, 2009 at 07:24:42PM +0900, Magnus Damm wrote:
> This is V2 of early serial console support for the sh-sci
> driver. The early serial console is using early platform
> devices and "earlyprintk". To use this feature the early
> platform devices must be broken out to one device per port
> and the desired port should be selected on the kernel command
> line like: "earlyprintk=sh-sci.N[,baudrate][,keep]"
On Mon, Dec 14, 2009 at 09:29:40PM +0900, Magnus Damm wrote:
> These patches break out the scif serial port platform data into
> one platform device per port.
>
> With these patches and the early serial support in place it is
> possible to select the early serial console port with the kernel
> command line. For example, to enable early serial console on KFR2R09,
> simply add the following to the kernel command line:
>
> "earlyprintk=sh-sci.1,115200".
On Mon, Dec 14, 2009 at 09:52:53PM +0900, Magnus Damm wrote:
> Now when the sh-sci driver can do early serial output,
> get rid of the old duplicated code. This patch is V2 and
> removes support for "earlyprintk=serial" together with
> the following kconfig options:
> CONFIG_EARLY_SCIF_CONSOLE
> CONFIG_EARLY_SCIF_CONSOLE_PORT
> CONFIG_EARLY_PRINTK
>
> With this patch applied "earlyprintk=" support is always
> built-in the SuperH kernel. For this to work the serial
> driver must have early platform support and in the case
> of sh-sci the serial console needs to be enabled:
> CONFIG_SERIAL_SH_SCI_CONSOLE=y
>
> So after enabling the SuperH SCI console kconfig option
> you also need to point out port using the kernel command
> line: "earlyprintk=sh-sci.N[,baudrate][,keep]"
>
> Remember that clocks may be disabled by the boot loader
> so you may have to do some board specific static clock
> setup before earlyprintk will work on your platform.
Applied, thanks.
next prev parent reply other threads:[~2009-12-15 3:37 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-14 10:24 [PATCH] sh-sci: Extend sh-sci driver with early console V2 Magnus Damm
2009-12-15 3:37 ` Paul Mundt [this message]
2010-04-11 7:40 ` Shin-ichiro KAWASAKI
2010-04-21 8:30 ` Magnus Damm
2010-04-22 5:54 ` Alexandre Courbot
2010-04-22 6:11 ` Magnus Damm
2010-04-22 6:22 ` Alexandre Courbot
2010-04-22 6:30 ` Paul Mundt
2010-04-22 7:09 ` Magnus Damm
2010-04-23 6:25 ` Alexandre Courbot
2010-04-23 7:26 ` Paul Mundt
2010-04-23 11:16 ` Alexandre Courbot
2010-04-25 12:30 ` Shin-ichiro KAWASAKI
2010-04-26 7:03 ` Paul Mundt
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=20091215033743.GB7395@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=linux-sh@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.