From: Thomas Chou <thomas@wytron.com.tw>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] serial: serial_x86: add ns16550a compatible ids
Date: Mon, 9 Nov 2015 17:17:48 +0800 [thread overview]
Message-ID: <564064BC.10307@wytron.com.tw> (raw)
In-Reply-To: <1447059238-2703-1-git-send-email-thomas@wytron.com.tw>
Hi Simon,
On 2015?11?09? 16:53, Thomas Chou wrote:
> Add ns16550a compatible ids, so that other arch may use
> this standard driver.
>
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> ---
> drivers/serial/serial_x86.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/serial/serial_x86.c b/drivers/serial/serial_x86.c
> index 4bf6062..f378eee 100644
> --- a/drivers/serial/serial_x86.c
> +++ b/drivers/serial/serial_x86.c
> @@ -14,6 +14,8 @@ DECLARE_GLOBAL_DATA_PTR;
>
> static const struct udevice_id x86_serial_ids[] = {
> { .compatible = "x86-uart" },
> + { .compatible = "ns16550a" },
> + { .compatible = "ns16550" },
> { }
> };
I want to use serial_x86.c for nios2. I think there is no need to
duplicate another one for altera/nios2. Is there a proper way to change
Kconfig/Makefile?
Best regards,
Thomas
next prev parent reply other threads:[~2015-11-09 9:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-09 8:53 [U-Boot] [PATCH] serial: serial_x86: add ns16550a compatible ids Thomas Chou
2015-11-09 9:17 ` Thomas Chou [this message]
2015-11-09 12:03 ` Bin Meng
2015-11-09 13:19 ` Thomas Chou
2015-11-09 16:54 ` Simon Glass
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=564064BC.10307@wytron.com.tw \
--to=thomas@wytron.com.tw \
--cc=u-boot@lists.denx.de \
/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.