Skip to content

Commit

Permalink
ns16550: zap the rockchip serial compatible string
Browse files Browse the repository at this point in the history
Zap the rockchip serial compatible string, because rockchip
serial has "snps,dw-apb-uart" compatible string in the dts.

Signed-off-by: Thomas Chou <[email protected]>
Acked-by: Simon Glass <[email protected]>
  • Loading branch information
hippo5329 authored and trini committed Jan 25, 2016
1 parent 75219d5 commit cc4228f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion drivers/serial/ns16550.c
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down

0 comments on commit cc4228f

Please sign in to comment.