[U-Boot] [PATCH] serial: serial_x86: add ns16550a compatible ids

Thomas Chou thomas at wytron.com.tw
Mon Nov 9 09:53:58 CET 2015


Add ns16550a compatible ids, so that other arch may use
this standard driver.

Signed-off-by: Thomas Chou <thomas at 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" },
 	{ }
 };
 
-- 
2.5.0



More information about the U-Boot mailing list