From: khilman@linaro.org (Kevin Hilman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: OMAP2+: Fix serial init for device tree based booting
Date: Fri, 07 Jun 2013 15:20:55 -0700 [thread overview]
Message-ID: <87fvwtlfzs.fsf@linaro.org> (raw)
In-Reply-To: <20130607215503.GK3331@atomide.com> (Tony Lindgren's message of "Fri, 7 Jun 2013 14:55:04 -0700")
Tony Lindgren <tony@atomide.com> writes:
> We don't want to call omap_serial_early_init() for device
> tree based booting as the ports are initialized based on
> the .dts entries.
>
> Signed-off-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
> --- a/arch/arm/mach-omap2/serial.c
> +++ b/arch/arm/mach-omap2/serial.c
> @@ -176,6 +176,9 @@ static char *cmdline_find_option(char *str)
>
> static int __init omap_serial_early_init(void)
> {
> + if (of_have_populated_dt())
> + return -ENODEV;
> +
> do {
> char oh_name[MAX_UART_HWMOD_NAME_LEN];
> struct omap_hwmod *oh;
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2013-06-07 22:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-07 21:55 [PATCH] ARM: OMAP2+: Fix serial init for device tree based booting Tony Lindgren
2013-06-07 22:20 ` Kevin Hilman [this message]
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=87fvwtlfzs.fsf@linaro.org \
--to=khilman@linaro.org \
--cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).