summaryrefslogtreecommitdiff
path: root/drivers/serial
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-12-14 20:45:09 +0800
committerTom Rini <trini@konsulko.com>2016-01-25 10:40:04 -0500
commitcc4228f9d69f58495c2404adba9145bb36e613bf (patch)
tree165efc2ae029b74ba06c5c36629285c09e3261c3 /drivers/serial
parent75219d57efc6bbbfcefa8af77a276d97ecea9720 (diff)
downloadu-boot-imx-cc4228f9d69f58495c2404adba9145bb36e613bf.zip
u-boot-imx-cc4228f9d69f58495c2404adba9145bb36e613bf.tar.gz
u-boot-imx-cc4228f9d69f58495c2404adba9145bb36e613bf.tar.bz2
ns16550: zap the rockchip serial compatible string
Zap the rockchip serial compatible string, because rockchip serial has "snps,dw-apb-uart" compatible string in the dts. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/ns16550.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550.c
index 021b211..93dad33 100644
--- a/drivers/serial/ns16550.c
+++ b/drivers/serial/ns16550.c
@@ -423,11 +423,15 @@ const struct dm_serial_ops ns16550_serial_ops = {
};
#if CONFIG_IS_ENABLED(OF_CONTROL)
+/*
+ * Please consider existing compatible strings before adding a new
+ * one to keep this table compact. Or you may add a generic "ns16550"
+ * compatible string to your dts.
+ */
static const struct udevice_id ns16550_serial_ids[] = {
{ .compatible = "ns16550" },
{ .compatible = "ns16550a" },
{ .compatible = "nvidia,tegra20-uart" },
- { .compatible = "rockchip,rk3036-uart" },
{ .compatible = "snps,dw-apb-uart" },
{ .compatible = "ti,omap2-uart" },
{ .compatible = "ti,omap3-uart" },